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