Documentation ¶
Overview ¶
Package typeadd contains the implementation for the Add 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 ActivityStreamsAddExtends(other vocab.Type) bool
- func AddIsDisjointWith(other vocab.Type) bool
- func AddIsExtendedBy(other vocab.Type) bool
- func IsOrExtendsAdd(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsAdd
- func (this ActivityStreamsAdd) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty
- func (this ActivityStreamsAdd) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsAdd) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsAdd) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsAdd) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsAdd) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsAdd) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsAdd) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsAdd) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsAdd) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsAdd) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsAdd) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsAdd) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsAdd) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsAdd) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsAdd) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsAdd) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty
- func (this ActivityStreamsAdd) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsAdd) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsAdd) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsAdd) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsAdd) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsAdd) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty
- func (this ActivityStreamsAdd) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsAdd) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsAdd) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsAdd) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty
- func (this ActivityStreamsAdd) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
- func (this ActivityStreamsAdd) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsAdd) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsAdd) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsAdd) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsAdd) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsAdd) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty
- func (this ActivityStreamsAdd) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsAdd) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsAdd) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsAdd) GetForgeFedTeam() vocab.ForgeFedTeamProperty
- func (this ActivityStreamsAdd) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
- func (this ActivityStreamsAdd) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
- func (this ActivityStreamsAdd) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsAdd) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsAdd) GetTypeName() string
- func (this ActivityStreamsAdd) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsAdd) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsAdd) JSONLDContext() map[string]string
- func (this ActivityStreamsAdd) LessThan(o vocab.ActivityStreamsAdd) bool
- func (this ActivityStreamsAdd) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsAdd) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsAdd) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsAdd) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
- func (this *ActivityStreamsAdd) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
- func (this *ActivityStreamsAdd) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
- func (this *ActivityStreamsAdd) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsAdd) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this ActivityStreamsAdd) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsAddExtends ¶
ActivityStreamsAddExtends returns true if the Add type extends from the other type.
func AddIsDisjointWith ¶
AddIsDisjointWith returns true if the other provided type is disjoint with the Add type.
func AddIsExtendedBy ¶
AddIsExtendedBy returns true if the other provided type extends from the Add type. Note that it returns false if the types are the same; see the "IsOrExtendsAdd" variant instead.
func IsOrExtendsAdd ¶
IsOrExtendsAdd returns true if the other provided type is the Add type or extends from the Add 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 ActivityStreamsAdd ¶
type ActivityStreamsAdd 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 has added the object to the target. If the target property is not explicitly specified, the target would need to be determined implicitly by context. The origin can be used to identify the context from which the object originated.
Example 12 (https://www.w3.org/TR/activitystreams-vocabulary/#ex9-jsonld):
{ "actor": { "name": "Sally", "type": "Person" }, "object": "http://example.org/abc", "summary": "Sally added an object", "type": "Add" }
Example 13 (https://www.w3.org/TR/activitystreams-vocabulary/#ex10-jsonld):
{ "actor": { "name": "Sally", "type": "Person" }, "object": { "name": "A picture of my cat", "type": "Image", "url": "http://example.org/img/cat.png" }, "origin": { "name": "Camera Roll", "type": "Collection" }, "summary": "Sally added a picture of her cat to her cat picture
collection",
"target": { "name": "My Cat Pictures", "type": "Collection" }, "type": "Add" }
func DeserializeAdd ¶
func DeserializeAdd(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsAdd, error)
DeserializeAdd creates a Add from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsAdd ¶
func NewActivityStreamsAdd() *ActivityStreamsAdd
NewActivityStreamsAdd creates a new Add type
func (ActivityStreamsAdd) GetActivityStreamsActor ¶
func (this ActivityStreamsAdd) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty
GetActivityStreamsActor returns the "actor" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsAltitude ¶
func (this ActivityStreamsAdd) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsAttachment ¶
func (this ActivityStreamsAdd) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsAdd) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsAudience ¶
func (this ActivityStreamsAdd) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsBcc ¶
func (this ActivityStreamsAdd) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsBto ¶
func (this ActivityStreamsAdd) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsCc ¶
func (this ActivityStreamsAdd) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsContent ¶
func (this ActivityStreamsAdd) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsContext ¶
func (this ActivityStreamsAdd) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsDuration ¶
func (this ActivityStreamsAdd) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsEndTime ¶
func (this ActivityStreamsAdd) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsGenerator ¶
func (this ActivityStreamsAdd) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsIcon ¶
func (this ActivityStreamsAdd) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsImage ¶
func (this ActivityStreamsAdd) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsAdd) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsInstrument ¶
func (this ActivityStreamsAdd) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty
GetActivityStreamsInstrument returns the "instrument" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsLikes ¶
func (this ActivityStreamsAdd) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsLocation ¶
func (this ActivityStreamsAdd) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsMediaType ¶
func (this ActivityStreamsAdd) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsName ¶
func (this ActivityStreamsAdd) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsObject ¶
func (this ActivityStreamsAdd) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsOrigin ¶
func (this ActivityStreamsAdd) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty
GetActivityStreamsOrigin returns the "origin" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsPreview ¶
func (this ActivityStreamsAdd) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsPublished ¶
func (this ActivityStreamsAdd) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsReplies ¶
func (this ActivityStreamsAdd) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsResult ¶
func (this ActivityStreamsAdd) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty
GetActivityStreamsResult returns the "result" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsSensitive ¶
func (this ActivityStreamsAdd) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsShares ¶
func (this ActivityStreamsAdd) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsSource ¶
func (this ActivityStreamsAdd) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsStartTime ¶
func (this ActivityStreamsAdd) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsSummary ¶
func (this ActivityStreamsAdd) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsTag ¶
func (this ActivityStreamsAdd) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsTarget ¶
func (this ActivityStreamsAdd) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty
GetActivityStreamsTarget returns the "target" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsTo ¶
func (this ActivityStreamsAdd) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsUpdated ¶
func (this ActivityStreamsAdd) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetActivityStreamsUrl ¶
func (this ActivityStreamsAdd) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetForgeFedTeam ¶
func (this ActivityStreamsAdd) GetForgeFedTeam() vocab.ForgeFedTeamProperty
GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetForgeFedTicketsTrackedBy ¶
func (this ActivityStreamsAdd) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetForgeFedTracksTicketsFor ¶
func (this ActivityStreamsAdd) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetJSONLDId ¶
func (this ActivityStreamsAdd) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetJSONLDType ¶
func (this ActivityStreamsAdd) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsAdd) GetTypeName ¶
func (this ActivityStreamsAdd) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsAdd) GetUnknownProperties ¶
func (this ActivityStreamsAdd) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Add 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 (ActivityStreamsAdd) IsExtending ¶
func (this ActivityStreamsAdd) IsExtending(other vocab.Type) bool
IsExtending returns true if the Add type extends from the other type.
func (ActivityStreamsAdd) JSONLDContext ¶
func (this ActivityStreamsAdd) 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 (ActivityStreamsAdd) LessThan ¶
func (this ActivityStreamsAdd) LessThan(o vocab.ActivityStreamsAdd) bool
LessThan computes if this Add is lesser, with an arbitrary but stable determination.
func (ActivityStreamsAdd) Serialize ¶
func (this ActivityStreamsAdd) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsAdd) SetActivityStreamsActor ¶
func (this *ActivityStreamsAdd) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty)
SetActivityStreamsActor sets the "actor" property.
func (*ActivityStreamsAdd) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsAdd) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsAdd) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsAdd) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsAdd) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsAdd) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsAdd) SetActivityStreamsAudience ¶
func (this *ActivityStreamsAdd) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsAdd) SetActivityStreamsBcc ¶
func (this *ActivityStreamsAdd) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsAdd) SetActivityStreamsBto ¶
func (this *ActivityStreamsAdd) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsAdd) SetActivityStreamsCc ¶
func (this *ActivityStreamsAdd) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsAdd) SetActivityStreamsContent ¶
func (this *ActivityStreamsAdd) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsAdd) SetActivityStreamsContext ¶
func (this *ActivityStreamsAdd) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsAdd) SetActivityStreamsDuration ¶
func (this *ActivityStreamsAdd) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsAdd) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsAdd) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsAdd) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsAdd) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsAdd) SetActivityStreamsIcon ¶
func (this *ActivityStreamsAdd) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsAdd) SetActivityStreamsImage ¶
func (this *ActivityStreamsAdd) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsAdd) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsAdd) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsAdd) SetActivityStreamsInstrument ¶
func (this *ActivityStreamsAdd) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty)
SetActivityStreamsInstrument sets the "instrument" property.
func (*ActivityStreamsAdd) SetActivityStreamsLikes ¶
func (this *ActivityStreamsAdd) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsAdd) SetActivityStreamsLocation ¶
func (this *ActivityStreamsAdd) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsAdd) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsAdd) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsAdd) SetActivityStreamsName ¶
func (this *ActivityStreamsAdd) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsAdd) SetActivityStreamsObject ¶
func (this *ActivityStreamsAdd) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsAdd) SetActivityStreamsOrigin ¶
func (this *ActivityStreamsAdd) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty)
SetActivityStreamsOrigin sets the "origin" property.
func (*ActivityStreamsAdd) SetActivityStreamsPreview ¶
func (this *ActivityStreamsAdd) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsAdd) SetActivityStreamsPublished ¶
func (this *ActivityStreamsAdd) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsAdd) SetActivityStreamsReplies ¶
func (this *ActivityStreamsAdd) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsAdd) SetActivityStreamsResult ¶
func (this *ActivityStreamsAdd) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty)
SetActivityStreamsResult sets the "result" property.
func (*ActivityStreamsAdd) SetActivityStreamsSensitive ¶
func (this *ActivityStreamsAdd) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
SetActivityStreamsSensitive sets the "sensitive" property.
func (*ActivityStreamsAdd) SetActivityStreamsShares ¶
func (this *ActivityStreamsAdd) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsAdd) SetActivityStreamsSource ¶
func (this *ActivityStreamsAdd) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsAdd) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsAdd) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsAdd) SetActivityStreamsSummary ¶
func (this *ActivityStreamsAdd) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsAdd) SetActivityStreamsTag ¶
func (this *ActivityStreamsAdd) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsAdd) SetActivityStreamsTarget ¶
func (this *ActivityStreamsAdd) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty)
SetActivityStreamsTarget sets the "target" property.
func (*ActivityStreamsAdd) SetActivityStreamsTo ¶
func (this *ActivityStreamsAdd) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsAdd) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsAdd) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsAdd) SetActivityStreamsUrl ¶
func (this *ActivityStreamsAdd) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsAdd) SetForgeFedTeam ¶
func (this *ActivityStreamsAdd) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
SetForgeFedTeam sets the "team" property.
func (*ActivityStreamsAdd) SetForgeFedTicketsTrackedBy ¶
func (this *ActivityStreamsAdd) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (*ActivityStreamsAdd) SetForgeFedTracksTicketsFor ¶
func (this *ActivityStreamsAdd) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (*ActivityStreamsAdd) SetJSONLDId ¶
func (this *ActivityStreamsAdd) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsAdd) SetJSONLDType ¶
func (this *ActivityStreamsAdd) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (ActivityStreamsAdd) VocabularyURI ¶
func (this ActivityStreamsAdd) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.