// A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection type. 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.
typeCollectionstruct{
// The raw type from the vocab package
raw*vocab.Collection
}
// 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.
func(t*Collection)Raw()(n*vocab.Collection){
returnt.raw
}
// Serialize turns this object into a map[string]interface{}.
// 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.
// HasTotalItems returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasTotalItems()(pPresence){
p=NoPresence
ift.raw.IsTotalItems(){
p=ConvenientPresence
}elseift.raw.IsTotalItemsIRI(){
p=RawPresence
}
return
}
// SetTotalItems sets the value for property 'totalItems'.
func(t*Collection)SetTotalItems(kint64){
t.raw.SetTotalItems(k)
}
// 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*Collection)HasCurrent()(pPresence){
p=NoPresence
ift.raw.IsCurrentIRI(){
p=ConvenientPresence
}elseift.raw.IsCurrentCollectionPage(){
p=RawPresence
}elseift.raw.IsCurrentLink(){
p=RawPresence
}
return
}
// SetCurrent sets the value for property 'current'.
func(t*Collection)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*Collection)HasFirst()(pPresence){
p=NoPresence
ift.raw.IsFirstIRI(){
p=ConvenientPresence
}elseift.raw.IsFirstCollectionPage(){
p=RawPresence
}elseift.raw.IsFirstLink(){
p=RawPresence
}
return
}
// SetFirst sets the value for property 'first'.
func(t*Collection)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*Collection)HasLast()(pPresence){
p=NoPresence
ift.raw.IsLastIRI(){
p=ConvenientPresence
}elseift.raw.IsLastCollectionPage(){
p=RawPresence
}elseift.raw.IsLastLink(){
p=RawPresence
}
return
}
// SetLast sets the value for property 'last'.
func(t*Collection)SetLast(k*url.URL){
t.raw.SetLastIRI(k)
}
// LenItems returns the number of values this property contains. Each index be used with HasItems to determine if ResolveItems is safe to call or if raw handling would be needed.
func(t*Collection)LenItems()(idxint){
returnt.raw.ItemsLen()
}
// ResolveItems passes the actual concrete type to the resolver for handing property items. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// 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.
// HasAltitude returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasAltitude()(pPresence){
p=NoPresence
ift.raw.IsAltitude(){
p=ConvenientPresence
}elseift.raw.IsAltitudeIRI(){
p=RawPresence
}
return
}
// SetAltitude sets the value for property 'altitude'.
func(t*Collection)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*Collection)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.
func(t*Collection)LenAttributedTo()(idxint){
returnt.raw.AttributedToLen()
}
// 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*Collection)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.
// AppendAudience appends the value for property 'audience'.
func(t*Collection)AppendAudience(k*url.URL){
t.raw.AppendAudienceIRI(k)
}
// PrependAudience prepends the value for property 'audience'.
func(t*Collection)PrependAudience(k*url.URL){
t.raw.PrependAudienceIRI(k)
}
// RemoveAudience deletes the value from the specified index for property 'audience'.
func(t*Collection)RemoveAudience(idxint){
t.raw.RemoveAudienceIRI(idx)
}
// HasAudience returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasAudience(idxint)(pPresence){
p=NoPresence
ift.raw.IsAudienceIRI(idx){
p=ConvenientPresence
}elseift.raw.IsAudienceLink(idx){
p=RawPresence
}elseift.raw.IsAudienceIRI(idx){
p=RawPresence
}
return
}
// 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*Collection)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*Collection)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*Collection)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*Collection)HasEndTime()(pPresence){
p=NoPresence
ift.raw.IsEndTime(){
p=ConvenientPresence
}elseift.raw.IsEndTimeIRI(){
p=RawPresence
}
return
}
// SetEndTime sets the value for property 'endTime'.
func(t*Collection)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*Collection)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*Collection)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.
// AppendIcon appends the value for property 'icon'.
func(t*Collection)AppendIcon(ivocab.ImageType){
t.raw.AppendIconImage(i)
}
// PrependIcon prepends the value for property 'icon'.
func(t*Collection)PrependIcon(ivocab.ImageType){
t.raw.PrependIconImage(i)
}
// RemoveIcon deletes the value from the specified index for property 'icon'.
func(t*Collection)RemoveIcon(idxint){
t.raw.RemoveIconImage(idx)
}
// HasIcon returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasIcon(idxint)(pPresence){
p=NoPresence
ift.raw.IsIconImage(idx){
p=ConvenientPresence
}elseift.raw.IsIconLink(idx){
p=RawPresence
}elseift.raw.IsIconIRI(idx){
p=RawPresence
}
return
}
// 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.
func(t*Collection)GetId()(rResolution,k*url.URL){
r=Unresolved
handled:=false
ift.raw.HasId(){
k=t.raw.GetId()
ifhandled{
r=Resolved
}
}
return
}
// HasId returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasId()(pPresence){
p=NoPresence
ift.raw.HasId(){
p=ConvenientPresence
}
return
}
// SetId sets the value for property 'id'.
func(t*Collection)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*Collection)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.
// AppendImage appends the value for property 'image'.
func(t*Collection)AppendImage(ivocab.ImageType){
t.raw.AppendImageImage(i)
}
// PrependImage prepends the value for property 'image'.
func(t*Collection)PrependImage(ivocab.ImageType){
t.raw.PrependImageImage(i)
}
// RemoveImage deletes the value from the specified index for property 'image'.
func(t*Collection)RemoveImage(idxint){
t.raw.RemoveImageImage(idx)
}
// HasImage returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasImage(idxint)(pPresence){
p=NoPresence
ift.raw.IsImageImage(idx){
p=ConvenientPresence
}elseift.raw.IsImageLink(idx){
p=RawPresence
}elseift.raw.IsImageIRI(idx){
p=RawPresence
}
return
}
// 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*Collection)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*Collection)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*Collection)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.
// HasPublished returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasPublished()(pPresence){
p=NoPresence
ift.raw.IsPublished(){
p=ConvenientPresence
}elseift.raw.IsPublishedIRI(){
p=RawPresence
}
return
}
// SetPublished sets the value for property 'published'.
func(t*Collection)SetPublished(ktime.Time){
t.raw.SetPublished(k)
}
// 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.
// HasStartTime returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasStartTime()(pPresence){
p=NoPresence
ift.raw.IsStartTime(){
p=ConvenientPresence
}elseift.raw.IsStartTimeIRI(){
p=RawPresence
}
return
}
// SetStartTime sets the value for property 'startTime'.
func(t*Collection)SetStartTime(ktime.Time){
t.raw.SetStartTime(k)
}
// 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*Collection)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*Collection)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*Collection)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.
// AppendType appends the value for property 'type'.
func(t*Collection)AppendType(iinterface{}){
t.raw.AppendType(i)
}
// PrependType prepends the value for property 'type'.
func(t*Collection)PrependType(iinterface{}){
t.raw.PrependType(i)
}
// RemoveType deletes the value from the specified index for property 'type'.
func(t*Collection)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*Collection)HasUpdated()(pPresence){
p=NoPresence
ift.raw.IsUpdated(){
p=ConvenientPresence
}elseift.raw.IsUpdatedIRI(){
p=RawPresence
}
return
}
// SetUpdated sets the value for property 'updated'.
func(t*Collection)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*Collection)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.
// AppendUrl appends the value for property 'url'.
func(t*Collection)AppendUrl(k*url.URL){
t.raw.AppendUrlAnyURI(k)
}
// PrependUrl prepends the value for property 'url'.
func(t*Collection)PrependUrl(k*url.URL){
t.raw.PrependUrlAnyURI(k)
}
// RemoveUrl deletes the value from the specified index for property 'url'.
func(t*Collection)RemoveUrl(idxint){
t.raw.RemoveUrlAnyURI(idx)
}
// HasUrl returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasUrl(idxint)(pPresence){
p=NoPresence
ift.raw.IsUrlAnyURI(idx){
p=ConvenientPresence
}elseift.raw.IsUrlLink(idx){
p=RawPresence
}
return
}
// 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*Collection)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.
// PrependTo prepends the value for property 'to'.
func(t*Collection)PrependTo(k*url.URL){
t.raw.PrependToIRI(k)
}
// RemoveTo deletes the value from the specified index for property 'to'.
func(t*Collection)RemoveTo(idxint){
t.raw.RemoveToIRI(idx)
}
// HasTo returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasTo(idxint)(pPresence){
p=NoPresence
ift.raw.IsToIRI(idx){
p=ConvenientPresence
}elseift.raw.IsToLink(idx){
p=RawPresence
}elseift.raw.IsToIRI(idx){
p=RawPresence
}
return
}
// 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*Collection)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.
// AppendBto appends the value for property 'bto'.
func(t*Collection)AppendBto(k*url.URL){
t.raw.AppendBtoIRI(k)
}
// PrependBto prepends the value for property 'bto'.
func(t*Collection)PrependBto(k*url.URL){
t.raw.PrependBtoIRI(k)
}
// RemoveBto deletes the value from the specified index for property 'bto'.
func(t*Collection)RemoveBto(idxint){
t.raw.RemoveBtoIRI(idx)
}
// HasBto returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasBto(idxint)(pPresence){
p=NoPresence
ift.raw.IsBtoIRI(idx){
p=ConvenientPresence
}elseift.raw.IsBtoLink(idx){
p=RawPresence
}elseift.raw.IsBtoIRI(idx){
p=RawPresence
}
return
}
// 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*Collection)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.
// PrependCc prepends the value for property 'cc'.
func(t*Collection)PrependCc(k*url.URL){
t.raw.PrependCcIRI(k)
}
// RemoveCc deletes the value from the specified index for property 'cc'.
func(t*Collection)RemoveCc(idxint){
t.raw.RemoveCcIRI(idx)
}
// HasCc returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasCc(idxint)(pPresence){
p=NoPresence
ift.raw.IsCcIRI(idx){
p=ConvenientPresence
}elseift.raw.IsCcLink(idx){
p=RawPresence
}elseift.raw.IsCcIRI(idx){
p=RawPresence
}
return
}
// 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*Collection)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.
// AppendBcc appends the value for property 'bcc'.
func(t*Collection)AppendBcc(k*url.URL){
t.raw.AppendBccIRI(k)
}
// PrependBcc prepends the value for property 'bcc'.
func(t*Collection)PrependBcc(k*url.URL){
t.raw.PrependBccIRI(k)
}
// RemoveBcc deletes the value from the specified index for property 'bcc'.
func(t*Collection)RemoveBcc(idxint){
t.raw.RemoveBccIRI(idx)
}
// HasBcc returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasBcc(idxint)(pPresence){
p=NoPresence
ift.raw.IsBccIRI(idx){
p=ConvenientPresence
}elseift.raw.IsBccLink(idx){
p=RawPresence
}elseift.raw.IsBccIRI(idx){
p=RawPresence
}
return
}
// 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.
// HasMediaType returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasMediaType()(pPresence){
p=NoPresence
ift.raw.IsMediaType(){
p=ConvenientPresence
}elseift.raw.IsMediaTypeIRI(){
p=RawPresence
}
return
}
// SetMediaType sets the value for property 'mediaType'.
func(t*Collection)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.
// HasDuration returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasDuration()(pPresence){
p=NoPresence
ift.raw.IsDuration(){
p=ConvenientPresence
}elseift.raw.IsDurationIRI(){
p=RawPresence
}
return
}
// SetDuration sets the value for property 'duration'.
func(t*Collection)SetDuration(ktime.Duration){
t.raw.SetDuration(k)
}
// 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.
// HasSource returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasSource()(pPresence){
p=NoPresence
ift.raw.IsSource(){
p=ConvenientPresence
}elseift.raw.IsSourceIRI(){
p=RawPresence
}
return
}
// SetSource sets this value to be a 'Object' type.
func(t*Collection)SetSource(ivocab.ObjectType){
t.raw.SetSource(i)
}
// 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*Collection)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.
// AppendStreams appends the value for property 'streams'.
func(t*Collection)AppendStreams(k*url.URL){
t.raw.AppendStreams(k)
}
// PrependStreams prepends the value for property 'streams'.
func(t*Collection)PrependStreams(k*url.URL){
t.raw.PrependStreams(k)
}
// RemoveStreams deletes the value from the specified index for property 'streams'.
func(t*Collection)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.
// HasProxyUrl returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasProxyUrl()(pPresence){
p=NoPresence
ift.raw.HasProxyUrl(){
p=ConvenientPresence
}
return
}
// SetProxyUrl sets the value for property 'proxyUrl'.
func(t*Collection)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.
// SetProvideClientKey sets the value for property 'provideClientKey'.
func(t*Collection)SetProvideClientKey(k*url.URL){
t.raw.SetProvideClientKey(k)
}
// 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.
// HasSignClientKey returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Collection)HasSignClientKey()(pPresence){
p=NoPresence
ift.raw.HasSignClientKey(){
p=ConvenientPresence
}
return
}
// SetSignClientKey sets the value for property 'signClientKey'.
func(t*Collection)SetSignClientKey(k*url.URL){
t.raw.SetSignClientKey(k)
}
// 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.