Documentation
¶
Overview ¶
Package typefollow contains the implementation for the Follow type. All applications are strongly encouraged to use the interface instead of this concrete definition. The interfaces allow applications to consume only the types and properties needed and be independent of the go-fed implementation if another alternative implementation is created. This package is code-generated and subject to the same license as the go-fed tool used to generate it.
This package is independent of other types' and properties' implementations by having a Manager injected into it to act as a factory for the concrete implementations. The implementations have been generated into their own separate subpackages for each vocabulary.
Strongly consider using the interfaces instead of this package.
Index ¶
- func ActivityStreamsFollowExtends(other vocab.Type) bool
- func FollowIsDisjointWith(other vocab.Type) bool
- func FollowIsExtendedBy(other vocab.Type) bool
- func IsOrExtendsFollow(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsFollow
- func (this ActivityStreamsFollow) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty
- func (this ActivityStreamsFollow) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsFollow) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsFollow) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsFollow) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsFollow) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsFollow) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsFollow) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsFollow) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsFollow) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsFollow) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsFollow) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsFollow) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsFollow) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsFollow) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsFollow) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsFollow) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty
- func (this ActivityStreamsFollow) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsFollow) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsFollow) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsFollow) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsFollow) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsFollow) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty
- func (this ActivityStreamsFollow) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsFollow) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsFollow) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsFollow) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty
- func (this ActivityStreamsFollow) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
- func (this ActivityStreamsFollow) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsFollow) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsFollow) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsFollow) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsFollow) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsFollow) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty
- func (this ActivityStreamsFollow) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsFollow) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsFollow) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsFollow) GetForgeFedTeam() vocab.ForgeFedTeamProperty
- func (this ActivityStreamsFollow) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
- func (this ActivityStreamsFollow) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
- func (this ActivityStreamsFollow) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsFollow) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsFollow) GetTypeName() string
- func (this ActivityStreamsFollow) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsFollow) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsFollow) JSONLDContext() map[string]string
- func (this ActivityStreamsFollow) LessThan(o vocab.ActivityStreamsFollow) bool
- func (this ActivityStreamsFollow) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsFollow) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsFollow) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsFollow) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
- func (this *ActivityStreamsFollow) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
- func (this *ActivityStreamsFollow) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
- func (this *ActivityStreamsFollow) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsFollow) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this ActivityStreamsFollow) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsFollowExtends ¶
ActivityStreamsFollowExtends returns true if the Follow type extends from the other type.
func FollowIsDisjointWith ¶
FollowIsDisjointWith returns true if the other provided type is disjoint with the Follow type.
func FollowIsExtendedBy ¶
FollowIsExtendedBy returns true if the other provided type extends from the Follow type. Note that it returns false if the types are the same; see the "IsOrExtendsFollow" variant instead.
func IsOrExtendsFollow ¶
IsOrExtendsFollow returns true if the other provided type is the Follow type or extends from the Follow type.
func SetManager ¶
func SetManager(m privateManager)
SetManager sets the manager package-global variable. For internal use only, do not use as part of Application behavior. Must be called at golang init time.
func SetTypePropertyConstructor ¶
func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
SetTypePropertyConstructor sets the "type" property's constructor in the package-global variable. For internal use only, do not use as part of Application behavior. Must be called at golang init time. Permits ActivityStreams types to correctly set their "type" property at construction time, so users don't have to remember to do so each time. It is dependency injected so other go-fed compatible implementations could inject their own type.
Types ¶
type ActivityStreamsFollow ¶
type ActivityStreamsFollow struct { ActivityStreamsActor vocab.ActivityStreamsActorProperty ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty ActivityStreamsBcc vocab.ActivityStreamsBccProperty ActivityStreamsBto vocab.ActivityStreamsBtoProperty ActivityStreamsCc vocab.ActivityStreamsCcProperty ActivityStreamsContent vocab.ActivityStreamsContentProperty ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInstrument vocab.ActivityStreamsInstrumentProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty ActivityStreamsName vocab.ActivityStreamsNameProperty ActivityStreamsObject vocab.ActivityStreamsObjectProperty ActivityStreamsOrigin vocab.ActivityStreamsOriginProperty ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty ActivityStreamsResult vocab.ActivityStreamsResultProperty ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty ActivityStreamsSource vocab.ActivityStreamsSourceProperty ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty ForgeFedTeam vocab.ForgeFedTeamProperty ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty // contains filtered or unexported fields }
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.
Example 17 (https://www.w3.org/TR/activitystreams-vocabulary/#ex15-jsonld):
{ "actor": { "name": "Sally", "type": "Person" }, "object": { "name": "John", "type": "Person" }, "summary": "Sally followed John", "type": "Follow" }
func DeserializeFollow ¶
func DeserializeFollow(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsFollow, error)
DeserializeFollow creates a Follow from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsFollow ¶
func NewActivityStreamsFollow() *ActivityStreamsFollow
NewActivityStreamsFollow creates a new Follow type
func (ActivityStreamsFollow) GetActivityStreamsActor ¶
func (this ActivityStreamsFollow) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty
GetActivityStreamsActor returns the "actor" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsAltitude ¶
func (this ActivityStreamsFollow) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsAttachment ¶
func (this ActivityStreamsFollow) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsFollow) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsAudience ¶
func (this ActivityStreamsFollow) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsBcc ¶
func (this ActivityStreamsFollow) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsBto ¶
func (this ActivityStreamsFollow) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsCc ¶
func (this ActivityStreamsFollow) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsContent ¶
func (this ActivityStreamsFollow) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsContext ¶
func (this ActivityStreamsFollow) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsDuration ¶
func (this ActivityStreamsFollow) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsEndTime ¶
func (this ActivityStreamsFollow) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsGenerator ¶
func (this ActivityStreamsFollow) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsIcon ¶
func (this ActivityStreamsFollow) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsImage ¶
func (this ActivityStreamsFollow) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsFollow) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsInstrument ¶
func (this ActivityStreamsFollow) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty
GetActivityStreamsInstrument returns the "instrument" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsLikes ¶
func (this ActivityStreamsFollow) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsLocation ¶
func (this ActivityStreamsFollow) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsMediaType ¶
func (this ActivityStreamsFollow) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsName ¶
func (this ActivityStreamsFollow) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsObject ¶
func (this ActivityStreamsFollow) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsOrigin ¶
func (this ActivityStreamsFollow) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty
GetActivityStreamsOrigin returns the "origin" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsPreview ¶
func (this ActivityStreamsFollow) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsPublished ¶
func (this ActivityStreamsFollow) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsReplies ¶
func (this ActivityStreamsFollow) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsResult ¶
func (this ActivityStreamsFollow) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty
GetActivityStreamsResult returns the "result" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsSensitive ¶
func (this ActivityStreamsFollow) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsShares ¶
func (this ActivityStreamsFollow) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsSource ¶
func (this ActivityStreamsFollow) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsStartTime ¶
func (this ActivityStreamsFollow) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsSummary ¶
func (this ActivityStreamsFollow) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsTag ¶
func (this ActivityStreamsFollow) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsTarget ¶
func (this ActivityStreamsFollow) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty
GetActivityStreamsTarget returns the "target" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsTo ¶
func (this ActivityStreamsFollow) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsUpdated ¶
func (this ActivityStreamsFollow) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetActivityStreamsUrl ¶
func (this ActivityStreamsFollow) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetForgeFedTeam ¶
func (this ActivityStreamsFollow) GetForgeFedTeam() vocab.ForgeFedTeamProperty
GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetForgeFedTicketsTrackedBy ¶
func (this ActivityStreamsFollow) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetForgeFedTracksTicketsFor ¶
func (this ActivityStreamsFollow) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetJSONLDId ¶
func (this ActivityStreamsFollow) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetJSONLDType ¶
func (this ActivityStreamsFollow) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsFollow) GetTypeName ¶
func (this ActivityStreamsFollow) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsFollow) GetUnknownProperties ¶
func (this ActivityStreamsFollow) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Follow type. Note that this should not be used by app developers. It is only used to help determine which implementation is LessThan the other. Developers who are creating a different implementation of this type's interface can use this method in their LessThan implementation, but routine ActivityPub applications should not use this to bypass the code generation tool.
func (ActivityStreamsFollow) IsExtending ¶
func (this ActivityStreamsFollow) IsExtending(other vocab.Type) bool
IsExtending returns true if the Follow type extends from the other type.
func (ActivityStreamsFollow) JSONLDContext ¶
func (this ActivityStreamsFollow) JSONLDContext() map[string]string
JSONLDContext returns the JSONLD URIs required in the context string for this type and the specific properties that are set. The value in the map is the alias used to import the type and its properties.
func (ActivityStreamsFollow) LessThan ¶
func (this ActivityStreamsFollow) LessThan(o vocab.ActivityStreamsFollow) bool
LessThan computes if this Follow is lesser, with an arbitrary but stable determination.
func (ActivityStreamsFollow) Serialize ¶
func (this ActivityStreamsFollow) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsFollow) SetActivityStreamsActor ¶
func (this *ActivityStreamsFollow) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty)
SetActivityStreamsActor sets the "actor" property.
func (*ActivityStreamsFollow) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsFollow) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsFollow) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsFollow) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsFollow) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsFollow) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsFollow) SetActivityStreamsAudience ¶
func (this *ActivityStreamsFollow) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsFollow) SetActivityStreamsBcc ¶
func (this *ActivityStreamsFollow) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsFollow) SetActivityStreamsBto ¶
func (this *ActivityStreamsFollow) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsFollow) SetActivityStreamsCc ¶
func (this *ActivityStreamsFollow) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsFollow) SetActivityStreamsContent ¶
func (this *ActivityStreamsFollow) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsFollow) SetActivityStreamsContext ¶
func (this *ActivityStreamsFollow) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsFollow) SetActivityStreamsDuration ¶
func (this *ActivityStreamsFollow) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsFollow) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsFollow) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsFollow) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsFollow) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsFollow) SetActivityStreamsIcon ¶
func (this *ActivityStreamsFollow) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsFollow) SetActivityStreamsImage ¶
func (this *ActivityStreamsFollow) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsFollow) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsFollow) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsFollow) SetActivityStreamsInstrument ¶
func (this *ActivityStreamsFollow) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty)
SetActivityStreamsInstrument sets the "instrument" property.
func (*ActivityStreamsFollow) SetActivityStreamsLikes ¶
func (this *ActivityStreamsFollow) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsFollow) SetActivityStreamsLocation ¶
func (this *ActivityStreamsFollow) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsFollow) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsFollow) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsFollow) SetActivityStreamsName ¶
func (this *ActivityStreamsFollow) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsFollow) SetActivityStreamsObject ¶
func (this *ActivityStreamsFollow) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsFollow) SetActivityStreamsOrigin ¶
func (this *ActivityStreamsFollow) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty)
SetActivityStreamsOrigin sets the "origin" property.
func (*ActivityStreamsFollow) SetActivityStreamsPreview ¶
func (this *ActivityStreamsFollow) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsFollow) SetActivityStreamsPublished ¶
func (this *ActivityStreamsFollow) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsFollow) SetActivityStreamsReplies ¶
func (this *ActivityStreamsFollow) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsFollow) SetActivityStreamsResult ¶
func (this *ActivityStreamsFollow) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty)
SetActivityStreamsResult sets the "result" property.
func (*ActivityStreamsFollow) SetActivityStreamsSensitive ¶
func (this *ActivityStreamsFollow) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
SetActivityStreamsSensitive sets the "sensitive" property.
func (*ActivityStreamsFollow) SetActivityStreamsShares ¶
func (this *ActivityStreamsFollow) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsFollow) SetActivityStreamsSource ¶
func (this *ActivityStreamsFollow) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsFollow) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsFollow) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsFollow) SetActivityStreamsSummary ¶
func (this *ActivityStreamsFollow) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsFollow) SetActivityStreamsTag ¶
func (this *ActivityStreamsFollow) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsFollow) SetActivityStreamsTarget ¶
func (this *ActivityStreamsFollow) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty)
SetActivityStreamsTarget sets the "target" property.
func (*ActivityStreamsFollow) SetActivityStreamsTo ¶
func (this *ActivityStreamsFollow) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsFollow) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsFollow) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsFollow) SetActivityStreamsUrl ¶
func (this *ActivityStreamsFollow) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsFollow) SetForgeFedTeam ¶
func (this *ActivityStreamsFollow) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
SetForgeFedTeam sets the "team" property.
func (*ActivityStreamsFollow) SetForgeFedTicketsTrackedBy ¶
func (this *ActivityStreamsFollow) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (*ActivityStreamsFollow) SetForgeFedTracksTicketsFor ¶
func (this *ActivityStreamsFollow) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (*ActivityStreamsFollow) SetJSONLDId ¶
func (this *ActivityStreamsFollow) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsFollow) SetJSONLDType ¶
func (this *ActivityStreamsFollow) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (ActivityStreamsFollow) VocabularyURI ¶
func (this ActivityStreamsFollow) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.