Documentation ¶
Overview ¶
Package typeupdate contains the implementation for the Update 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 ActivityStreamsUpdateExtends(other vocab.Type) bool
- func IsOrExtendsUpdate(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- func UpdateIsDisjointWith(other vocab.Type) bool
- func UpdateIsExtendedBy(other vocab.Type) bool
- type ActivityStreamsUpdate
- func (this ActivityStreamsUpdate) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsUpdate) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsUpdate) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsUpdate) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsUpdate) GetTypeName() string
- func (this ActivityStreamsUpdate) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsUpdate) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsUpdate) JSONLDContext() map[string]string
- func (this ActivityStreamsUpdate) LessThan(o vocab.ActivityStreamsUpdate) bool
- func (this ActivityStreamsUpdate) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsUpdate) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsUpdate) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsUpdate) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsUpdate) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this ActivityStreamsUpdate) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsUpdateExtends ¶
ActivityStreamsUpdateExtends returns true if the Update type extends from the other type.
func IsOrExtendsUpdate ¶
IsOrExtendsUpdate returns true if the other provided type is the Update type or extends from the Update 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.
func UpdateIsDisjointWith ¶
UpdateIsDisjointWith returns true if the other provided type is disjoint with the Update type.
func UpdateIsExtendedBy ¶
UpdateIsExtendedBy returns true if the other provided type extends from the Update type. Note that it returns false if the types are the same; see the "IsOrExtendsUpdate" variant instead.
Types ¶
type ActivityStreamsUpdate ¶
type ActivityStreamsUpdate 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 ActivityStreamsTo vocab.ActivityStreamsToProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty // contains filtered or unexported fields }
Indicates that the actor has updated the object. Note, however, that this vocabulary does not define a mechanism for describing the actual set of modifications made to object. The target and origin typically have no defined meaning.
Example 30 (https://www.w3.org/TR/activitystreams-vocabulary/#ex33-jsonld):
{ "actor": { "name": "Sally", "type": "Person" }, "object": "http://example.org/notes/1", "summary": "Sally updated her note", "type": "Update" }
func DeserializeUpdate ¶
func DeserializeUpdate(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsUpdate, error)
DeserializeUpdate creates a Update from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsUpdate ¶
func NewActivityStreamsUpdate() *ActivityStreamsUpdate
NewActivityStreamsUpdate creates a new Update type
func (ActivityStreamsUpdate) GetActivityStreamsActor ¶
func (this ActivityStreamsUpdate) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty
GetActivityStreamsActor returns the "actor" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsAltitude ¶
func (this ActivityStreamsUpdate) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsAttachment ¶
func (this ActivityStreamsUpdate) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsUpdate) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsAudience ¶
func (this ActivityStreamsUpdate) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsBcc ¶
func (this ActivityStreamsUpdate) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsBto ¶
func (this ActivityStreamsUpdate) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsCc ¶
func (this ActivityStreamsUpdate) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsContent ¶
func (this ActivityStreamsUpdate) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsContext ¶
func (this ActivityStreamsUpdate) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsDuration ¶
func (this ActivityStreamsUpdate) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsEndTime ¶
func (this ActivityStreamsUpdate) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsGenerator ¶
func (this ActivityStreamsUpdate) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsIcon ¶
func (this ActivityStreamsUpdate) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsImage ¶
func (this ActivityStreamsUpdate) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsUpdate) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsInstrument ¶
func (this ActivityStreamsUpdate) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty
GetActivityStreamsInstrument returns the "instrument" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsLikes ¶
func (this ActivityStreamsUpdate) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsLocation ¶
func (this ActivityStreamsUpdate) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsMediaType ¶
func (this ActivityStreamsUpdate) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsName ¶
func (this ActivityStreamsUpdate) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsObject ¶
func (this ActivityStreamsUpdate) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsOrigin ¶
func (this ActivityStreamsUpdate) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty
GetActivityStreamsOrigin returns the "origin" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsPreview ¶
func (this ActivityStreamsUpdate) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsPublished ¶
func (this ActivityStreamsUpdate) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsReplies ¶
func (this ActivityStreamsUpdate) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsResult ¶
func (this ActivityStreamsUpdate) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty
GetActivityStreamsResult returns the "result" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsSensitive ¶
func (this ActivityStreamsUpdate) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsShares ¶
func (this ActivityStreamsUpdate) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsSource ¶
func (this ActivityStreamsUpdate) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsStartTime ¶
func (this ActivityStreamsUpdate) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsSummary ¶
func (this ActivityStreamsUpdate) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsTag ¶
func (this ActivityStreamsUpdate) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsTarget ¶
func (this ActivityStreamsUpdate) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty
GetActivityStreamsTarget returns the "target" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsTo ¶
func (this ActivityStreamsUpdate) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsUpdated ¶
func (this ActivityStreamsUpdate) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetActivityStreamsUrl ¶
func (this ActivityStreamsUpdate) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetJSONLDId ¶
func (this ActivityStreamsUpdate) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetJSONLDType ¶
func (this ActivityStreamsUpdate) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsUpdate) GetTypeName ¶
func (this ActivityStreamsUpdate) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsUpdate) GetUnknownProperties ¶
func (this ActivityStreamsUpdate) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Update 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 (ActivityStreamsUpdate) IsExtending ¶
func (this ActivityStreamsUpdate) IsExtending(other vocab.Type) bool
IsExtending returns true if the Update type extends from the other type.
func (ActivityStreamsUpdate) JSONLDContext ¶
func (this ActivityStreamsUpdate) 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 (ActivityStreamsUpdate) LessThan ¶
func (this ActivityStreamsUpdate) LessThan(o vocab.ActivityStreamsUpdate) bool
LessThan computes if this Update is lesser, with an arbitrary but stable determination.
func (ActivityStreamsUpdate) Serialize ¶
func (this ActivityStreamsUpdate) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsUpdate) SetActivityStreamsActor ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty)
SetActivityStreamsActor sets the "actor" property.
func (*ActivityStreamsUpdate) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsUpdate) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsUpdate) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsUpdate) SetActivityStreamsAudience ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsUpdate) SetActivityStreamsBcc ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsUpdate) SetActivityStreamsBto ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsUpdate) SetActivityStreamsCc ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsUpdate) SetActivityStreamsContent ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsUpdate) SetActivityStreamsContext ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsUpdate) SetActivityStreamsDuration ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsUpdate) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsUpdate) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsUpdate) SetActivityStreamsIcon ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsUpdate) SetActivityStreamsImage ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsUpdate) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsUpdate) SetActivityStreamsInstrument ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty)
SetActivityStreamsInstrument sets the "instrument" property.
func (*ActivityStreamsUpdate) SetActivityStreamsLikes ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsUpdate) SetActivityStreamsLocation ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsUpdate) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsUpdate) SetActivityStreamsName ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsUpdate) SetActivityStreamsObject ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsUpdate) SetActivityStreamsOrigin ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty)
SetActivityStreamsOrigin sets the "origin" property.
func (*ActivityStreamsUpdate) SetActivityStreamsPreview ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsUpdate) SetActivityStreamsPublished ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsUpdate) SetActivityStreamsReplies ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsUpdate) SetActivityStreamsResult ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty)
SetActivityStreamsResult sets the "result" property.
func (*ActivityStreamsUpdate) SetActivityStreamsSensitive ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
SetActivityStreamsSensitive sets the "sensitive" property.
func (*ActivityStreamsUpdate) SetActivityStreamsShares ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsUpdate) SetActivityStreamsSource ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsUpdate) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsUpdate) SetActivityStreamsSummary ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsUpdate) SetActivityStreamsTag ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsUpdate) SetActivityStreamsTarget ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty)
SetActivityStreamsTarget sets the "target" property.
func (*ActivityStreamsUpdate) SetActivityStreamsTo ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsUpdate) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsUpdate) SetActivityStreamsUrl ¶
func (this *ActivityStreamsUpdate) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsUpdate) SetJSONLDId ¶
func (this *ActivityStreamsUpdate) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsUpdate) SetJSONLDType ¶
func (this *ActivityStreamsUpdate) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (ActivityStreamsUpdate) VocabularyURI ¶
func (this ActivityStreamsUpdate) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.