func (this ActivityStreamsStartTimeProperty) Name() string {
	if len(this.alias) > 0 {
		return this.alias + ":" + "startTime"
	} else {
		return "startTime"
	}
}
Name returns the name of this property: "startTime".
package propertystarttime
import (
	"fmt"
	datetime "github.com/go-fed/activity/streams/values/dateTime"
	vocab "github.com/go-fed/activity/streams/vocab"
	"net/url"
	"time"
)
type ActivityStreamsStartTimeProperty struct {
	xmlschemaDateTimeMember time.Time
	hasDateTimeMember       bool
	unknown                 interface{}
	iri                     *url.URL
	alias                   string
}
func DeserializeStartTimeProperty(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsStartTimeProperty, error) {
	alias := ""
	if a, ok := aliasMap["https://www.w3.org/ns/activitystreams"]; ok {
		alias = a
	}
	propName := "startTime"
	if len(alias) > 0 {
		propName = fmt.Sprintf("%s:%s", alias, "startTime")
	}
	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 := &ActivityStreamsStartTimeProperty{
					alias: alias,
					iri:   u,
				}
				return this, nil
			}
		}
		if v, err := datetime.DeserializeDateTime(i); err == nil {
			this := &ActivityStreamsStartTimeProperty{
				alias:                   alias,
				hasDateTimeMember:       true,
				xmlschemaDateTimeMember: v,
			}
			return this, nil
		}
		this := &ActivityStreamsStartTimeProperty{
			alias:   alias,
			unknown: i,
		}
		return this, nil
	}
	return nil, nil
}
func NewActivityStreamsStartTimeProperty() *ActivityStreamsStartTimeProperty {
	return &ActivityStreamsStartTimeProperty{alias: ""}
}
func (this *ActivityStreamsStartTimeProperty) Clear() {
	this.unknown = nil
	this.iri = nil
	this.hasDateTimeMember = false
}
func (this ActivityStreamsStartTimeProperty) Get() time.Time {
	return this.xmlschemaDateTimeMember
}
func (this ActivityStreamsStartTimeProperty) GetIRI() *url.URL {
	return this.iri
}
func (this ActivityStreamsStartTimeProperty) HasAny() bool {
	return this.IsXMLSchemaDateTime() || this.iri != nil
}
func (this ActivityStreamsStartTimeProperty) IsIRI() bool {
	return this.iri != nil
}
func (this ActivityStreamsStartTimeProperty) IsXMLSchemaDateTime() bool {
	return this.hasDateTimeMember
}
func (this ActivityStreamsStartTimeProperty) JSONLDContext() map[string]string {
	m := map[string]string{"https://www.w3.org/ns/activitystreams": this.alias}
	var child map[string]string
	for k, v := range child {
		m[k] = v
	}
	return m
}
func (this ActivityStreamsStartTimeProperty) KindIndex() int {
	if this.IsXMLSchemaDateTime() {
		return 0
	}
	if this.IsIRI() {
		return -2
	}
	return -1
}
func (this ActivityStreamsStartTimeProperty) LessThan(o vocab.ActivityStreamsStartTimeProperty) 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.IsXMLSchemaDateTime() && !o.IsXMLSchemaDateTime() {
		return false
	} else if this.IsXMLSchemaDateTime() && !o.IsXMLSchemaDateTime() {
		return false
	} else if !this.IsXMLSchemaDateTime() && o.IsXMLSchemaDateTime() {
		return true
	} else {
		return datetime.LessDateTime(this.Get(), o.Get())
	}
}