func (this *TootSignatureValueProperty) Set(v string) {
	this.Clear()
	this.xmlschemaStringMember = v
	this.hasStringMember = true
}
Set sets the value of this property. Calling IsXMLSchemaString afterwards will
return true.
package propertysignaturevalue
import (
	"fmt"
	string1 "github.com/go-fed/activity/streams/values/string"
	vocab "github.com/go-fed/activity/streams/vocab"
	"net/url"
)
type TootSignatureValueProperty struct {
	xmlschemaStringMember string
	hasStringMember       bool
	unknown               interface{}
	iri                   *url.URL
	alias                 string
}
func DeserializeSignatureValueProperty(m map[string]interface{}, aliasMap map[string]string) (*TootSignatureValueProperty, error) {
	alias := ""
	if a, ok := aliasMap["http://joinmastodon.org/ns"]; ok {
		alias = a
	}
	propName := "signatureValue"
	if len(alias) > 0 {
		propName = fmt.Sprintf("%s:%s", alias, "signatureValue")
	}
	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 := &TootSignatureValueProperty{
					alias: alias,
					iri:   u,
				}
				return this, nil
			}
		}
		if v, err := string1.DeserializeString(i); err == nil {
			this := &TootSignatureValueProperty{
				alias:                 alias,
				hasStringMember:       true,
				xmlschemaStringMember: v,
			}
			return this, nil
		}
		this := &TootSignatureValueProperty{
			alias:   alias,
			unknown: i,
		}
		return this, nil
	}
	return nil, nil
}
func NewTootSignatureValueProperty() *TootSignatureValueProperty {
	return &TootSignatureValueProperty{alias: ""}
}
func (this *TootSignatureValueProperty) Clear() {
	this.unknown = nil
	this.iri = nil
	this.hasStringMember = false
}
func (this TootSignatureValueProperty) Get() string {
	return this.xmlschemaStringMember
}
func (this TootSignatureValueProperty) GetIRI() *url.URL {
	return this.iri
}
func (this TootSignatureValueProperty) HasAny() bool {
	return this.IsXMLSchemaString() || this.iri != nil
}
func (this TootSignatureValueProperty) IsIRI() bool {
	return this.iri != nil
}
func (this TootSignatureValueProperty) IsXMLSchemaString() bool {
	return this.hasStringMember
}
func (this TootSignatureValueProperty) 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
}
func (this TootSignatureValueProperty) KindIndex() int {
	if this.IsXMLSchemaString() {
		return 0
	}
	if this.IsIRI() {
		return -2
	}
	return -1
}
func (this TootSignatureValueProperty) LessThan(o vocab.TootSignatureValueProperty) bool {
	if this.IsIRI() && o.IsIRI() {
		return this.iri.String() < o.GetIRI().String()
	} else if this.IsIRI() {
		return true
	} else if o.IsIRI() {
		return false
	}
	if !this.IsXMLSchemaString() && !o.IsXMLSchemaString() {
		return false
	} else if this.IsXMLSchemaString() && !o.IsXMLSchemaString() {
		return false
	} else if !this.IsXMLSchemaString() && o.IsXMLSchemaString() {
		return true
	} else {
		return string1.LessString(this.Get(), o.Get())
	}
}
func (this TootSignatureValueProperty) Name() string {
	if len(this.alias) > 0 {
		return this.alias + ":" + "signatureValue"
	} else {
		return "signatureValue"
	}
}
func (this TootSignatureValueProperty) Serialize() (interface{}, error) {
	if this.IsXMLSchemaString() {
		return string1.SerializeString(this.Get())
	} else if this.IsIRI() {
		return this.iri.String(), nil
	}
	return this.unknown, nil
}