// A subtype of Collection in which members of the logical collection are assumed to always be strictly ordered. This is a convenience wrapper of a type with the same name in the vocab package. Accessing it with the Raw function allows direct manipulaton of the object, and does not provide the same integrity guarantees as this package.
typeOrderedCollectionstruct{
// The raw type from the vocab package
raw*vocab.OrderedCollection
}
// Raw returns the vocab type for manaual manipulation. Note that manipulating the underlying type to be in an inconsistent state may cause this convenience type's methods to later fail.
// LenOrderedItems returns the number of values this property contains. Each index be used with HasOrderedItems to determine if ResolveOrderedItems is safe to call or if raw handling would be needed.
// ResolveOrderedItems passes the actual concrete type to the resolver for handing property orderedItems. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// GetCurrent attempts to get this 'current' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// HasCurrent returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*OrderedCollection)HasCurrent()(pPresence){
p=NoPresence
ift.raw.IsCurrentIRI(){
p=ConvenientPresence
}elseift.raw.IsCurrentOrderedCollectionPage(){
p=RawPresence
}elseift.raw.IsCurrentLink(){
p=RawPresence
}
return
}
// SetCurrent sets the value for property 'current'.
func(t*OrderedCollection)SetCurrent(k*url.URL){
t.raw.SetCurrentIRI(k)
}
// GetFirst attempts to get this 'first' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// HasFirst returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*OrderedCollection)HasFirst()(pPresence){
p=NoPresence
ift.raw.IsFirstIRI(){
p=ConvenientPresence
}elseift.raw.IsFirstOrderedCollectionPage(){
p=RawPresence
}elseift.raw.IsFirstLink(){
p=RawPresence
}
return
}
// SetFirst sets the value for property 'first'.
func(t*OrderedCollection)SetFirst(k*url.URL){
t.raw.SetFirstIRI(k)
}
// GetLast attempts to get this 'last' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// HasLast returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*OrderedCollection)HasLast()(pPresence){
p=NoPresence
ift.raw.IsLastIRI(){
p=ConvenientPresence
}elseift.raw.IsLastOrderedCollectionPage(){
p=RawPresence
}elseift.raw.IsLastLink(){
p=RawPresence
}
return
}
// SetLast sets the value for property 'last'.
func(t*OrderedCollection)SetLast(k*url.URL){
t.raw.SetLastIRI(k)
}
// GetTotalItems attempts to get this 'totalItems' property as a int64. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// SetTotalItems sets the value for property 'totalItems'.
func(t*OrderedCollection)SetTotalItems(kint64){
t.raw.SetTotalItems(k)
}
// GetAltitude attempts to get this 'altitude' property as a float64. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// SetAltitude sets the value for property 'altitude'.
func(t*OrderedCollection)SetAltitude(kfloat64){
t.raw.SetAltitude(k)
}
// LenAttachment returns the number of values this property contains. Each index be used with HasAttachment to determine if ResolveAttachment is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenAttachment()(idxint){
returnt.raw.AttachmentLen()
}
// ResolveAttachment passes the actual concrete type to the resolver for handing property attachment. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// LenAttributedTo returns the number of values this property contains. Each index be used with HasAttributedTo to determine if GetAttributedTo is safe to call or if raw handling would be needed.
// GetAttributedTo attempts to get this 'attributedTo' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// LenAudience returns the number of values this property contains. Each index be used with HasAudience to determine if GetAudience is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenAudience()(idxint){
returnt.raw.AudienceLen()
}
// GetAudience attempts to get this 'audience' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// LenContent returns the number of values this property contains. Each index be used with HasContent to determine if GetContent is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenContent()(idxint){
returnt.raw.ContentLen()
}
// GetContent attempts to get this 'content' property as a string. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// LenContext returns the number of values this property contains. Each index be used with HasContext to determine if ResolveContext is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenContext()(idxint){
returnt.raw.ContextLen()
}
// ResolveContext passes the actual concrete type to the resolver for handing property context. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// LenName returns the number of values this property contains. Each index be used with HasName to determine if GetName is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenName()(idxint){
returnt.raw.NameLen()
}
// GetName attempts to get this 'name' property as a string. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// GetEndTime attempts to get this 'endTime' property as a time.Time. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// HasEndTime returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*OrderedCollection)HasEndTime()(pPresence){
p=NoPresence
ift.raw.IsEndTime(){
p=ConvenientPresence
}elseift.raw.IsEndTimeIRI(){
p=RawPresence
}
return
}
// SetEndTime sets the value for property 'endTime'.
func(t*OrderedCollection)SetEndTime(ktime.Time){
t.raw.SetEndTime(k)
}
// LenGenerator returns the number of values this property contains. Each index be used with HasGenerator to determine if ResolveGenerator is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenGenerator()(idxint){
returnt.raw.GeneratorLen()
}
// ResolveGenerator passes the actual concrete type to the resolver for handing property generator. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// LenIcon returns the number of values this property contains. Each index be used with HasIcon to determine if ResolveIcon is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenIcon()(idxint){
returnt.raw.IconLen()
}
// ResolveIcon passes the actual concrete type to the resolver for handing property icon. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// GetId attempts to get this 'id' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// HasId returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*OrderedCollection)HasId()(pPresence){
p=NoPresence
ift.raw.HasId(){
p=ConvenientPresence
}
return
}
// SetId sets the value for property 'id'.
func(t*OrderedCollection)SetId(k*url.URL){
t.raw.SetId(k)
}
// LenImage returns the number of values this property contains. Each index be used with HasImage to determine if ResolveImage is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenImage()(idxint){
returnt.raw.ImageLen()
}
// ResolveImage passes the actual concrete type to the resolver for handing property image. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// LenInReplyTo returns the number of values this property contains. Each index be used with HasInReplyTo to determine if GetInReplyTo is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenInReplyTo()(idxint){
returnt.raw.InReplyToLen()
}
// GetInReplyTo attempts to get this 'inReplyTo' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// LenLocation returns the number of values this property contains. Each index be used with HasLocation to determine if ResolveLocation is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenLocation()(idxint){
returnt.raw.LocationLen()
}
// ResolveLocation passes the actual concrete type to the resolver for handing property location. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// LenPreview returns the number of values this property contains. Each index be used with HasPreview to determine if ResolvePreview is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenPreview()(idxint){
returnt.raw.PreviewLen()
}
// ResolvePreview passes the actual concrete type to the resolver for handing property preview. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// GetPublished attempts to get this 'published' property as a time.Time. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// ResolveReplies passes the actual concrete type to the resolver for handing property replies. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// GetStartTime attempts to get this 'startTime' property as a time.Time. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// LenSummary returns the number of values this property contains. Each index be used with HasSummary to determine if GetSummary is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenSummary()(idxint){
returnt.raw.SummaryLen()
}
// GetSummary attempts to get this 'summary' property as a string. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// LenTag returns the number of values this property contains. Each index be used with HasTag to determine if ResolveTag is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenTag()(idxint){
returnt.raw.TagLen()
}
// ResolveTag passes the actual concrete type to the resolver for handing property tag. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// LenType returns the number of values this property contains. Each index be used with HasType to determine if GetType is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenType()(idxint){
returnt.raw.TypeLen()
}
// GetType attempts to get this 'type' property as a string. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// RemoveType deletes the value from the specified index for property 'type'.
func(t*OrderedCollection)RemoveType(idxint){
t.raw.RemoveType(idx)
}
// GetUpdated attempts to get this 'updated' property as a time.Time. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// HasUpdated returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*OrderedCollection)HasUpdated()(pPresence){
p=NoPresence
ift.raw.IsUpdated(){
p=ConvenientPresence
}elseift.raw.IsUpdatedIRI(){
p=RawPresence
}
return
}
// SetUpdated sets the value for property 'updated'.
func(t*OrderedCollection)SetUpdated(ktime.Time){
t.raw.SetUpdated(k)
}
// LenUrl returns the number of values this property contains. Each index be used with HasUrl to determine if GetUrl is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenUrl()(idxint){
returnt.raw.UrlLen()
}
// GetUrl attempts to get this 'url' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// LenTo returns the number of values this property contains. Each index be used with HasTo to determine if GetTo is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenTo()(idxint){
returnt.raw.ToLen()
}
// GetTo attempts to get this 'to' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// LenBto returns the number of values this property contains. Each index be used with HasBto to determine if GetBto is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenBto()(idxint){
returnt.raw.BtoLen()
}
// GetBto attempts to get this 'bto' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// LenCc returns the number of values this property contains. Each index be used with HasCc to determine if GetCc is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenCc()(idxint){
returnt.raw.CcLen()
}
// GetCc attempts to get this 'cc' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// LenBcc returns the number of values this property contains. Each index be used with HasBcc to determine if GetBcc is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenBcc()(idxint){
returnt.raw.BccLen()
}
// GetBcc attempts to get this 'bcc' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// GetMediaType attempts to get this 'mediaType' property as a string. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// SetMediaType sets the value for property 'mediaType'.
func(t*OrderedCollection)SetMediaType(kstring){
t.raw.SetMediaType(k)
}
// GetDuration attempts to get this 'duration' property as a time.Duration. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// ResolveSource passes the actual concrete type to the resolver for handing property source. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// ResolveInbox passes the actual concrete type to the resolver for handing property inbox. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// ResolveOutbox passes the actual concrete type to the resolver for handing property outbox. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// ResolveFollowing passes the actual concrete type to the resolver for handing property following. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// ResolveFollowers passes the actual concrete type to the resolver for handing property followers. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// ResolveLiked passes the actual concrete type to the resolver for handing property liked. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// ResolveLikes passes the actual concrete type to the resolver for handing property likes. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// LenStreams returns the number of values this property contains. Each index be used with HasStreams to determine if GetStreams is safe to call or if raw handling would be needed.
func(t*OrderedCollection)LenStreams()(idxint){
returnt.raw.StreamsLen()
}
// GetStreams attempts to get this 'streams' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// RemoveStreams deletes the value from the specified index for property 'streams'.
func(t*OrderedCollection)RemoveStreams(idxint){
t.raw.RemoveStreams(idx)
}
// GetPreferredUsername attempts to get this 'preferredUsername' property as a string. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// ResolveEndpoints passes the actual concrete type to the resolver for handing property endpoints. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// GetProxyUrl attempts to get this 'proxyUrl' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// SetProxyUrl sets the value for property 'proxyUrl'.
func(t*OrderedCollection)SetProxyUrl(k*url.URL){
t.raw.SetProxyUrl(k)
}
// GetOauthAuthorizationEndpoint attempts to get this 'oauthAuthorizationEndpoint' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// GetOauthTokenEndpoint attempts to get this 'oauthTokenEndpoint' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// GetProvideClientKey attempts to get this 'provideClientKey' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// GetSignClientKey attempts to get this 'signClientKey' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// GetSharedInbox attempts to get this 'sharedInbox' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.