func (this TootBlurhashProperty) KindIndex() int {
	if this.IsXMLSchemaString() {
		return 0
	}
	if this.IsIRI() {
		return -2
	}
	return -1
}
KindIndex computes an arbitrary value for indexing this kind of value. This is
a leaky API detail only for folks looking to replace the go-fed
implementation. Applications should not use this method.
package propertyblurhash
import (
	"fmt"
	string1 "github.com/go-fed/activity/streams/values/string"
	vocab "github.com/go-fed/activity/streams/vocab"
	"net/url"
)
type TootBlurhashProperty struct {
	xmlschemaStringMember string
	hasStringMember       bool
	unknown               interface{}
	iri                   *url.URL
	alias                 string
}
func DeserializeBlurhashProperty(m map[string]interface{}, aliasMap map[string]string) (*TootBlurhashProperty, error) {
	alias := ""
	if a, ok := aliasMap["http://joinmastodon.org/ns"]; ok {
		alias = a
	}
	propName := "blurhash"
	if len(alias) > 0 {
		propName = fmt.Sprintf("%s:%s", alias, "blurhash")
	}
	i, ok := m[propName]
	if ok {
		if s, ok := i.(string); ok {
			u, err := url.Parse(s)
			if err == nil && len(u.Scheme) > 0 {
				this := &TootBlurhashProperty{
					alias: alias,
					iri:   u,
				}
				return this, nil
			}
		}
		if v, err := string1.DeserializeString(i); err == nil {
			this := &TootBlurhashProperty{
				alias:                 alias,
				hasStringMember:       true,
				xmlschemaStringMember: v,
			}
			return this, nil
		}
		this := &TootBlurhashProperty{
			alias:   alias,
			unknown: i,
		}
		return this, nil
	}
	return nil, nil
}
func NewTootBlurhashProperty() *TootBlurhashProperty {
	return &TootBlurhashProperty{alias: ""}
}
func (this *TootBlurhashProperty) Clear() {
	this.unknown = nil
	this.iri = nil
	this.hasStringMember = false
}
func (this TootBlurhashProperty) Get() string {
	return this.xmlschemaStringMember
}
func (this TootBlurhashProperty) GetIRI() *url.URL {
	return this.iri
}
func (this TootBlurhashProperty) HasAny() bool {
	return this.IsXMLSchemaString() || this.iri != nil
}
func (this TootBlurhashProperty) IsIRI() bool {
	return this.iri != nil
}
func (this TootBlurhashProperty) IsXMLSchemaString() bool {
	return this.hasStringMember
}
func (this TootBlurhashProperty) JSONLDContext() map[string]string {
	m := map[string]string{"http://joinmastodon.org/ns": this.alias}
	var child map[string]string
	for k, v := range child {
		m[k] = v
	}
	return m
}