// Indicates that the actor is "following" the object. Following is defined in the sense typically used within Social systems in which the actor is interested in any activity performed by or on the object. The target and origin typically have no defined meaning. 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.
typeFollowstruct{
// The raw type from the vocab package
raw*vocab.Follow
}
// 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*Follow)Raw()(n*vocab.Follow){
returnt.raw
}
// Serialize turns this object into a map[string]interface{}.
// LenActor returns the number of values this property contains. Each index be used with HasActor to determine if GetActor is safe to call or if raw handling would be needed.
func(t*Follow)LenActor()(idxint){
returnt.raw.ActorLen()
}
// GetActor attempts to get this 'actor' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// AppendActor appends the value for property 'actor'.
func(t*Follow)AppendActor(k*url.URL){
t.raw.AppendActorIRI(k)
}
// PrependActor prepends the value for property 'actor'.
func(t*Follow)PrependActor(k*url.URL){
t.raw.PrependActorIRI(k)
}
// RemoveActor deletes the value from the specified index for property 'actor'.
func(t*Follow)RemoveActor(idxint){
t.raw.RemoveActorIRI(idx)
}
// HasActor returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasActor(idxint)(pPresence){
p=NoPresence
ift.raw.IsActorIRI(idx){
p=ConvenientPresence
}elseift.raw.IsActorLink(idx){
p=RawPresence
}elseift.raw.IsActorIRI(idx){
p=RawPresence
}
return
}
// LenObject returns the number of values this property contains. Each index be used with HasObject to determine if ResolveObject is safe to call or if raw handling would be needed.
func(t*Follow)LenObject()(idxint){
returnt.raw.ObjectLen()
}
// ResolveObject passes the actual concrete type to the resolver for handing property object. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// AppendObject appends the value for property 'object'.
func(t*Follow)AppendObject(ivocab.ObjectType){
t.raw.AppendObject(i)
}
// PrependObject prepends the value for property 'object'.
func(t*Follow)PrependObject(ivocab.ObjectType){
t.raw.PrependObject(i)
}
// RemoveObject deletes the value from the specified index for property 'object'.
func(t*Follow)RemoveObject(idxint){
t.raw.RemoveObject(idx)
}
// HasObject returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasObject(idxint)(pPresence){
p=NoPresence
ift.raw.IsObject(idx){
p=ConvenientPresence
}elseift.raw.IsObjectIRI(idx){
p=RawPresence
}
return
}
// LenTarget returns the number of values this property contains. Each index be used with HasTarget to determine if GetTarget is safe to call or if raw handling would be needed.
func(t*Follow)LenTarget()(idxint){
returnt.raw.TargetLen()
}
// GetTarget attempts to get this 'target' property as a *url.URL. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling.
// AppendTarget appends the value for property 'target'.
func(t*Follow)AppendTarget(k*url.URL){
t.raw.AppendTargetIRI(k)
}
// PrependTarget prepends the value for property 'target'.
func(t*Follow)PrependTarget(k*url.URL){
t.raw.PrependTargetIRI(k)
}
// RemoveTarget deletes the value from the specified index for property 'target'.
func(t*Follow)RemoveTarget(idxint){
t.raw.RemoveTargetIRI(idx)
}
// HasTarget returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasTarget(idxint)(pPresence){
p=NoPresence
ift.raw.IsTargetIRI(idx){
p=ConvenientPresence
}elseift.raw.IsTargetLink(idx){
p=RawPresence
}elseift.raw.IsTargetIRI(idx){
p=RawPresence
}
return
}
// LenResult returns the number of values this property contains. Each index be used with HasResult to determine if ResolveResult is safe to call or if raw handling would be needed.
func(t*Follow)LenResult()(idxint){
returnt.raw.ResultLen()
}
// ResolveResult passes the actual concrete type to the resolver for handing property result. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// HasResult returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasResult(idxint)(pPresence){
p=NoPresence
ift.raw.IsResultObject(idx){
p=ConvenientPresence
}elseift.raw.IsResultLink(idx){
p=ConvenientPresence
}elseift.raw.IsResultIRI(idx){
p=RawPresence
}
return
}
// AppendResult appends an 'Object' typed value.
func(t*Follow)AppendResult(ivocab.ObjectType){
t.raw.AppendResultObject(i)
}
// PrependResult prepends an 'Object' typed value.
func(t*Follow)PrependResult(ivocab.ObjectType){
t.raw.PrependResultObject(i)
}
// AppendResultLink appends a 'Link' typed value.
func(t*Follow)AppendResultLink(ivocab.LinkType){
t.raw.AppendResultLink(i)
}
// PrependResultLink prepends a 'Link' typed value.
func(t*Follow)PrependResultLink(ivocab.LinkType){
t.raw.PrependResultLink(i)
}
// LenOrigin returns the number of values this property contains. Each index be used with HasOrigin to determine if ResolveOrigin is safe to call or if raw handling would be needed.
func(t*Follow)LenOrigin()(idxint){
returnt.raw.OriginLen()
}
// ResolveOrigin passes the actual concrete type to the resolver for handing property origin. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
// HasOrigin returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasOrigin(idxint)(pPresence){
p=NoPresence
ift.raw.IsOriginObject(idx){
p=ConvenientPresence
}elseift.raw.IsOriginLink(idx){
p=ConvenientPresence
}elseift.raw.IsOriginIRI(idx){
p=RawPresence
}
return
}
// AppendOrigin appends an 'Object' typed value.
func(t*Follow)AppendOrigin(ivocab.ObjectType){
t.raw.AppendOriginObject(i)
}
// PrependOrigin prepends an 'Object' typed value.
func(t*Follow)PrependOrigin(ivocab.ObjectType){
t.raw.PrependOriginObject(i)
}
// AppendOriginLink appends a 'Link' typed value.
func(t*Follow)AppendOriginLink(ivocab.LinkType){
t.raw.AppendOriginLink(i)
}
// PrependOriginLink prepends a 'Link' typed value.
func(t*Follow)PrependOriginLink(ivocab.LinkType){
t.raw.PrependOriginLink(i)
}
// LenInstrument returns the number of values this property contains. Each index be used with HasInstrument to determine if ResolveInstrument is safe to call or if raw handling would be needed.
func(t*Follow)LenInstrument()(idxint){
returnt.raw.InstrumentLen()
}
// ResolveInstrument passes the actual concrete type to the resolver for handing property instrument. 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*Follow)HasAltitude()(pPresence){
p=NoPresence
ift.raw.IsAltitude(){
p=ConvenientPresence
}elseift.raw.IsAltitudeIRI(){
p=RawPresence
}
return
}
// SetAltitude sets the value for property 'altitude'.
func(t*Follow)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*Follow)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*Follow)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.
// AppendAttributedTo appends the value for property 'attributedTo'.
func(t*Follow)AppendAttributedTo(k*url.URL){
t.raw.AppendAttributedToIRI(k)
}
// PrependAttributedTo prepends the value for property 'attributedTo'.
func(t*Follow)PrependAttributedTo(k*url.URL){
t.raw.PrependAttributedToIRI(k)
}
// RemoveAttributedTo deletes the value from the specified index for property 'attributedTo'.
func(t*Follow)RemoveAttributedTo(idxint){
t.raw.RemoveAttributedToIRI(idx)
}
// HasAttributedTo returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasAttributedTo(idxint)(pPresence){
p=NoPresence
ift.raw.IsAttributedToIRI(idx){
p=ConvenientPresence
}elseift.raw.IsAttributedToLink(idx){
p=RawPresence
}elseift.raw.IsAttributedToIRI(idx){
p=RawPresence
}
return
}
// 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*Follow)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*Follow)AppendAudience(k*url.URL){
t.raw.AppendAudienceIRI(k)
}
// PrependAudience prepends the value for property 'audience'.
func(t*Follow)PrependAudience(k*url.URL){
t.raw.PrependAudienceIRI(k)
}
// RemoveAudience deletes the value from the specified index for property 'audience'.
func(t*Follow)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*Follow)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*Follow)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*Follow)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*Follow)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*Follow)HasEndTime()(pPresence){
p=NoPresence
ift.raw.IsEndTime(){
p=ConvenientPresence
}elseift.raw.IsEndTimeIRI(){
p=RawPresence
}
return
}
// SetEndTime sets the value for property 'endTime'.
func(t*Follow)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*Follow)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*Follow)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*Follow)AppendIcon(ivocab.ImageType){
t.raw.AppendIconImage(i)
}
// PrependIcon prepends the value for property 'icon'.
func(t*Follow)PrependIcon(ivocab.ImageType){
t.raw.PrependIconImage(i)
}
// RemoveIcon deletes the value from the specified index for property 'icon'.
func(t*Follow)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*Follow)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*Follow)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*Follow)HasId()(pPresence){
p=NoPresence
ift.raw.HasId(){
p=ConvenientPresence
}
return
}
// SetId sets the value for property 'id'.
func(t*Follow)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*Follow)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*Follow)AppendImage(ivocab.ImageType){
t.raw.AppendImageImage(i)
}
// PrependImage prepends the value for property 'image'.
func(t*Follow)PrependImage(ivocab.ImageType){
t.raw.PrependImageImage(i)
}
// RemoveImage deletes the value from the specified index for property 'image'.
func(t*Follow)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*Follow)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*Follow)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.
// AppendInReplyTo appends the value for property 'inReplyTo'.
func(t*Follow)AppendInReplyTo(k*url.URL){
t.raw.AppendInReplyToIRI(k)
}
// PrependInReplyTo prepends the value for property 'inReplyTo'.
func(t*Follow)PrependInReplyTo(k*url.URL){
t.raw.PrependInReplyToIRI(k)
}
// RemoveInReplyTo deletes the value from the specified index for property 'inReplyTo'.
func(t*Follow)RemoveInReplyTo(idxint){
t.raw.RemoveInReplyToIRI(idx)
}
// HasInReplyTo returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasInReplyTo(idxint)(pPresence){
p=NoPresence
ift.raw.IsInReplyToIRI(idx){
p=ConvenientPresence
}elseift.raw.IsInReplyToLink(idx){
p=RawPresence
}elseift.raw.IsInReplyToIRI(idx){
p=RawPresence
}
return
}
// 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*Follow)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*Follow)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*Follow)HasPublished()(pPresence){
p=NoPresence
ift.raw.IsPublished(){
p=ConvenientPresence
}elseift.raw.IsPublishedIRI(){
p=RawPresence
}
return
}
// SetPublished sets the value for property 'published'.
func(t*Follow)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.
// HasReplies returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasReplies()(pPresence){
p=NoPresence
ift.raw.IsReplies(){
p=ConvenientPresence
}elseift.raw.IsRepliesIRI(){
p=RawPresence
}
return
}
// SetReplies sets this value to be a 'Collection' type.
func(t*Follow)SetReplies(ivocab.CollectionType){
t.raw.SetReplies(i)
}
// 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*Follow)HasStartTime()(pPresence){
p=NoPresence
ift.raw.IsStartTime(){
p=ConvenientPresence
}elseift.raw.IsStartTimeIRI(){
p=RawPresence
}
return
}
// SetStartTime sets the value for property 'startTime'.
func(t*Follow)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*Follow)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*Follow)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.
// HasTag returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasTag(idxint)(pPresence){
p=NoPresence
ift.raw.IsTagObject(idx){
p=ConvenientPresence
}elseift.raw.IsTagLink(idx){
p=ConvenientPresence
}elseift.raw.IsTagIRI(idx){
p=RawPresence
}
return
}
// AppendTag appends an 'Object' typed value.
func(t*Follow)AppendTag(ivocab.ObjectType){
t.raw.AppendTagObject(i)
}
// PrependTag prepends an 'Object' typed value.
func(t*Follow)PrependTag(ivocab.ObjectType){
t.raw.PrependTagObject(i)
}
// AppendTagLink appends a 'Link' typed value.
func(t*Follow)AppendTagLink(ivocab.LinkType){
t.raw.AppendTagLink(i)
}
// PrependTagLink prepends a 'Link' typed value.
func(t*Follow)PrependTagLink(ivocab.LinkType){
t.raw.PrependTagLink(i)
}
// 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*Follow)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*Follow)AppendType(iinterface{}){
t.raw.AppendType(i)
}
// PrependType prepends the value for property 'type'.
func(t*Follow)PrependType(iinterface{}){
t.raw.PrependType(i)
}
// RemoveType deletes the value from the specified index for property 'type'.
func(t*Follow)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*Follow)HasUpdated()(pPresence){
p=NoPresence
ift.raw.IsUpdated(){
p=ConvenientPresence
}elseift.raw.IsUpdatedIRI(){
p=RawPresence
}
return
}
// SetUpdated sets the value for property 'updated'.
func(t*Follow)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*Follow)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*Follow)AppendUrl(k*url.URL){
t.raw.AppendUrlAnyURI(k)
}
// PrependUrl prepends the value for property 'url'.
func(t*Follow)PrependUrl(k*url.URL){
t.raw.PrependUrlAnyURI(k)
}
// RemoveUrl deletes the value from the specified index for property 'url'.
func(t*Follow)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*Follow)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*Follow)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*Follow)PrependTo(k*url.URL){
t.raw.PrependToIRI(k)
}
// RemoveTo deletes the value from the specified index for property 'to'.
func(t*Follow)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*Follow)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*Follow)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*Follow)AppendBto(k*url.URL){
t.raw.AppendBtoIRI(k)
}
// PrependBto prepends the value for property 'bto'.
func(t*Follow)PrependBto(k*url.URL){
t.raw.PrependBtoIRI(k)
}
// RemoveBto deletes the value from the specified index for property 'bto'.
func(t*Follow)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*Follow)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*Follow)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*Follow)PrependCc(k*url.URL){
t.raw.PrependCcIRI(k)
}
// RemoveCc deletes the value from the specified index for property 'cc'.
func(t*Follow)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*Follow)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*Follow)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*Follow)AppendBcc(k*url.URL){
t.raw.AppendBccIRI(k)
}
// PrependBcc prepends the value for property 'bcc'.
func(t*Follow)PrependBcc(k*url.URL){
t.raw.PrependBccIRI(k)
}
// RemoveBcc deletes the value from the specified index for property 'bcc'.
func(t*Follow)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*Follow)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*Follow)HasMediaType()(pPresence){
p=NoPresence
ift.raw.IsMediaType(){
p=ConvenientPresence
}elseift.raw.IsMediaTypeIRI(){
p=RawPresence
}
return
}
// SetMediaType sets the value for property 'mediaType'.
func(t*Follow)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*Follow)HasDuration()(pPresence){
p=NoPresence
ift.raw.IsDuration(){
p=ConvenientPresence
}elseift.raw.IsDurationIRI(){
p=RawPresence
}
return
}
// SetDuration sets the value for property 'duration'.
func(t*Follow)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*Follow)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*Follow)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.
// HasLiked returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasLiked()(pPresence){
p=NoPresence
ift.raw.IsLikedCollection(){
p=ConvenientPresence
}elseift.raw.IsLikedOrderedCollection(){
p=RawPresence
}elseift.raw.IsLikedAnyURI(){
p=RawPresence
}
return
}
// SetLiked sets this value to be a 'Collection' type.
func(t*Follow)SetLiked(ivocab.CollectionType){
t.raw.SetLikedCollection(i)
}
// 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.
// HasLikes returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasLikes()(pPresence){
p=NoPresence
ift.raw.IsLikesCollection(){
p=ConvenientPresence
}elseift.raw.IsLikesOrderedCollection(){
p=RawPresence
}elseift.raw.IsLikesAnyURI(){
p=RawPresence
}
return
}
// SetLikes sets this value to be a 'Collection' type.
func(t*Follow)SetLikes(ivocab.CollectionType){
t.raw.SetLikesCollection(i)
}
// 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*Follow)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*Follow)AppendStreams(k*url.URL){
t.raw.AppendStreams(k)
}
// PrependStreams prepends the value for property 'streams'.
func(t*Follow)PrependStreams(k*url.URL){
t.raw.PrependStreams(k)
}
// RemoveStreams deletes the value from the specified index for property 'streams'.
func(t*Follow)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.
// HasEndpoints returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasEndpoints()(pPresence){
p=NoPresence
ift.raw.IsEndpoints(){
p=ConvenientPresence
}elseift.raw.IsEndpointsIRI(){
p=RawPresence
}
return
}
// SetEndpoints sets this value to be a 'Object' type.
func(t*Follow)SetEndpoints(ivocab.ObjectType){
t.raw.SetEndpoints(i)
}
// 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*Follow)HasProxyUrl()(pPresence){
p=NoPresence
ift.raw.HasProxyUrl(){
p=ConvenientPresence
}
return
}
// SetProxyUrl sets the value for property 'proxyUrl'.
func(t*Follow)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.
// HasOauthTokenEndpoint returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasOauthTokenEndpoint()(pPresence){
p=NoPresence
ift.raw.HasOauthTokenEndpoint(){
p=ConvenientPresence
}
return
}
// SetOauthTokenEndpoint sets the value for property 'oauthTokenEndpoint'.
func(t*Follow)SetOauthTokenEndpoint(k*url.URL){
t.raw.SetOauthTokenEndpoint(k)
}
// 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.
// HasProvideClientKey returns a Presence appropriate for clients to determine whether it would be necessary to do raw handling, if desired.
func(t*Follow)HasProvideClientKey()(pPresence){
p=NoPresence
ift.raw.HasProvideClientKey(){
p=ConvenientPresence
}
return
}
// SetProvideClientKey sets the value for property 'provideClientKey'.
func(t*Follow)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*Follow)HasSignClientKey()(pPresence){
p=NoPresence
ift.raw.HasSignClientKey(){
p=ConvenientPresence
}
return
}
// SetSignClientKey sets the value for property 'signClientKey'.
func(t*Follow)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.
// ResolveShares passes the actual concrete type to the resolver for handing property shares. It returns a Resolution appropriate for clients to determine whether it would be necessary to do raw handling, if desired.