Documentation ¶
Overview ¶
Package typeannounce contains the implementation for the Announce 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 ActivityStreamsAnnounceExtends(other vocab.Type) bool
- func AnnounceIsDisjointWith(other vocab.Type) bool
- func AnnounceIsExtendedBy(other vocab.Type) bool
- func IsOrExtendsAnnounce(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsAnnounce
- func (this ActivityStreamsAnnounce) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsAnnounce) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsAnnounce) GetForgeFedTeam() vocab.ForgeFedTeamProperty
- func (this ActivityStreamsAnnounce) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
- func (this ActivityStreamsAnnounce) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
- func (this ActivityStreamsAnnounce) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsAnnounce) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsAnnounce) GetTypeName() string
- func (this ActivityStreamsAnnounce) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsAnnounce) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsAnnounce) JSONLDContext() map[string]string
- func (this ActivityStreamsAnnounce) LessThan(o vocab.ActivityStreamsAnnounce) bool
- func (this ActivityStreamsAnnounce) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsAnnounce) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsAnnounce) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
- func (this *ActivityStreamsAnnounce) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
- func (this *ActivityStreamsAnnounce) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
- func (this *ActivityStreamsAnnounce) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsAnnounce) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this ActivityStreamsAnnounce) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsAnnounceExtends ¶
ActivityStreamsAnnounceExtends returns true if the Announce type extends from the other type.
func AnnounceIsDisjointWith ¶
AnnounceIsDisjointWith returns true if the other provided type is disjoint with the Announce type.
func AnnounceIsExtendedBy ¶
AnnounceIsExtendedBy returns true if the other provided type extends from the Announce type. Note that it returns false if the types are the same; see the "IsOrExtendsAnnounce" variant instead.
func IsOrExtendsAnnounce ¶
IsOrExtendsAnnounce returns true if the other provided type is the Announce type or extends from the Announce 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 ActivityStreamsAnnounce ¶
type ActivityStreamsAnnounce 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 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 calling the target's attention the object. The origin typically has no defined meaning.
Example 36 (https://www.w3.org/TR/activitystreams-vocabulary/#ex170-jsonld):
{ "actor": { "id": "http://sally.example.org", "name": "Sally", "type": "Person" }, "object": { "actor": "http://sally.example.org", "location": { "name": "Work", "type": "Place" }, "type": "Arrive" }, "summary": "Sally announced that she had arrived at work", "type": "Announce" }
func DeserializeAnnounce ¶
func DeserializeAnnounce(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsAnnounce, error)
DeserializeAnnounce creates a Announce from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsAnnounce ¶
func NewActivityStreamsAnnounce() *ActivityStreamsAnnounce
NewActivityStreamsAnnounce creates a new Announce type
func (ActivityStreamsAnnounce) GetActivityStreamsActor ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty
GetActivityStreamsActor returns the "actor" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsAltitude ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsAttachment ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsAudience ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsBcc ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsBto ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsCc ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsContent ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsContext ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsDuration ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsEndTime ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsGenerator ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsIcon ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsImage ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsInstrument ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty
GetActivityStreamsInstrument returns the "instrument" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsLikes ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsLocation ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsMediaType ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsName ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsObject ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsOrigin ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty
GetActivityStreamsOrigin returns the "origin" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsPreview ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsPublished ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsReplies ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsResult ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty
GetActivityStreamsResult returns the "result" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsShares ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsSource ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsStartTime ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsSummary ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsTag ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsTarget ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty
GetActivityStreamsTarget returns the "target" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsTo ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsUpdated ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetActivityStreamsUrl ¶
func (this ActivityStreamsAnnounce) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetForgeFedTeam ¶
func (this ActivityStreamsAnnounce) GetForgeFedTeam() vocab.ForgeFedTeamProperty
GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetForgeFedTicketsTrackedBy ¶
func (this ActivityStreamsAnnounce) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetForgeFedTracksTicketsFor ¶
func (this ActivityStreamsAnnounce) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetJSONLDId ¶
func (this ActivityStreamsAnnounce) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetJSONLDType ¶
func (this ActivityStreamsAnnounce) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsAnnounce) GetTypeName ¶
func (this ActivityStreamsAnnounce) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsAnnounce) GetUnknownProperties ¶
func (this ActivityStreamsAnnounce) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Announce 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 (ActivityStreamsAnnounce) IsExtending ¶
func (this ActivityStreamsAnnounce) IsExtending(other vocab.Type) bool
IsExtending returns true if the Announce type extends from the other type.
func (ActivityStreamsAnnounce) JSONLDContext ¶
func (this ActivityStreamsAnnounce) 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 (ActivityStreamsAnnounce) LessThan ¶
func (this ActivityStreamsAnnounce) LessThan(o vocab.ActivityStreamsAnnounce) bool
LessThan computes if this Announce is lesser, with an arbitrary but stable determination.
func (ActivityStreamsAnnounce) Serialize ¶
func (this ActivityStreamsAnnounce) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsAnnounce) SetActivityStreamsActor ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty)
SetActivityStreamsActor sets the "actor" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsAudience ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsBcc ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsBto ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsCc ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsContent ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsContext ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsDuration ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsIcon ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsImage ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsInstrument ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty)
SetActivityStreamsInstrument sets the "instrument" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsLikes ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsLocation ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsName ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsObject ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsOrigin ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty)
SetActivityStreamsOrigin sets the "origin" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsPreview ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsPublished ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsReplies ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsResult ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty)
SetActivityStreamsResult sets the "result" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsShares ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsSource ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsSummary ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsTag ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsTarget ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty)
SetActivityStreamsTarget sets the "target" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsTo ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsAnnounce) SetActivityStreamsUrl ¶
func (this *ActivityStreamsAnnounce) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsAnnounce) SetForgeFedTeam ¶
func (this *ActivityStreamsAnnounce) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
SetForgeFedTeam sets the "team" property.
func (*ActivityStreamsAnnounce) SetForgeFedTicketsTrackedBy ¶
func (this *ActivityStreamsAnnounce) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (*ActivityStreamsAnnounce) SetForgeFedTracksTicketsFor ¶
func (this *ActivityStreamsAnnounce) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (*ActivityStreamsAnnounce) SetJSONLDId ¶
func (this *ActivityStreamsAnnounce) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsAnnounce) SetJSONLDType ¶
func (this *ActivityStreamsAnnounce) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (ActivityStreamsAnnounce) VocabularyURI ¶
func (this ActivityStreamsAnnounce) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.