Documentation ¶
Overview ¶
Package typecollection contains the implementation for the Collection 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 ActivityStreamsCollectionExtends(other vocab.Type) bool
- func CollectionIsDisjointWith(other vocab.Type) bool
- func CollectionIsExtendedBy(other vocab.Type) bool
- func IsOrExtendsCollection(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsCollection
- func (this ActivityStreamsCollection) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsCollection) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsCollection) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsCollection) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsCollection) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsCollection) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsCollection) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsCollection) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsCollection) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsCollection) GetActivityStreamsCurrent() vocab.ActivityStreamsCurrentProperty
- func (this ActivityStreamsCollection) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsCollection) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsCollection) GetActivityStreamsFirst() vocab.ActivityStreamsFirstProperty
- func (this ActivityStreamsCollection) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsCollection) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsCollection) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsCollection) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsCollection) GetActivityStreamsItems() vocab.ActivityStreamsItemsProperty
- func (this ActivityStreamsCollection) GetActivityStreamsLast() vocab.ActivityStreamsLastProperty
- func (this ActivityStreamsCollection) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsCollection) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsCollection) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsCollection) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsCollection) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsCollection) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsCollection) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsCollection) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsCollection) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
- func (this ActivityStreamsCollection) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsCollection) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsCollection) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsCollection) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsCollection) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsCollection) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsCollection) GetActivityStreamsTotalItems() vocab.ActivityStreamsTotalItemsProperty
- func (this ActivityStreamsCollection) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsCollection) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsCollection) GetForgeFedTeam() vocab.ForgeFedTeamProperty
- func (this ActivityStreamsCollection) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
- func (this ActivityStreamsCollection) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
- func (this ActivityStreamsCollection) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsCollection) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsCollection) GetTypeName() string
- func (this ActivityStreamsCollection) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsCollection) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsCollection) JSONLDContext() map[string]string
- func (this ActivityStreamsCollection) LessThan(o vocab.ActivityStreamsCollection) bool
- func (this ActivityStreamsCollection) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsCollection) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsCurrent(i vocab.ActivityStreamsCurrentProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsFirst(i vocab.ActivityStreamsFirstProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsItems(i vocab.ActivityStreamsItemsProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsLast(i vocab.ActivityStreamsLastProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsTotalItems(i vocab.ActivityStreamsTotalItemsProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsCollection) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsCollection) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
- func (this *ActivityStreamsCollection) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
- func (this *ActivityStreamsCollection) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
- func (this *ActivityStreamsCollection) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsCollection) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this ActivityStreamsCollection) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsCollectionExtends ¶
ActivityStreamsCollectionExtends returns true if the Collection type extends from the other type.
func CollectionIsDisjointWith ¶
CollectionIsDisjointWith returns true if the other provided type is disjoint with the Collection type.
func CollectionIsExtendedBy ¶
CollectionIsExtendedBy returns true if the other provided type extends from the Collection type. Note that it returns false if the types are the same; see the "IsOrExtendsCollection" variant instead.
func IsOrExtendsCollection ¶
IsOrExtendsCollection returns true if the other provided type is the Collection type or extends from the Collection 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 ActivityStreamsCollection ¶
type ActivityStreamsCollection struct { 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 ActivityStreamsCurrent vocab.ActivityStreamsCurrentProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty ActivityStreamsFirst vocab.ActivityStreamsFirstProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsItems vocab.ActivityStreamsItemsProperty ActivityStreamsLast vocab.ActivityStreamsLastProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty ActivityStreamsName vocab.ActivityStreamsNameProperty ActivityStreamsObject vocab.ActivityStreamsObjectProperty ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty ActivityStreamsSource vocab.ActivityStreamsSourceProperty ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ForgeFedTeam vocab.ForgeFedTeamProperty ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty ActivityStreamsTotalItems vocab.ActivityStreamsTotalItemsProperty ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty // contains filtered or unexported fields }
A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection type.
Example 5 (https://www.w3.org/TR/activitystreams-vocabulary/#ex5-jsonld):
{ "items": [ { "name": "A Simple Note", "type": "Note" }, { "name": "Another Simple Note", "type": "Note" } ], "summary": "Sally's notes", "totalItems": 2, "type": "Collection" }
func DeserializeCollection ¶
func DeserializeCollection(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsCollection, error)
DeserializeCollection creates a Collection from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsCollection ¶
func NewActivityStreamsCollection() *ActivityStreamsCollection
NewActivityStreamsCollection creates a new Collection type
func (ActivityStreamsCollection) GetActivityStreamsAltitude ¶
func (this ActivityStreamsCollection) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsAttachment ¶
func (this ActivityStreamsCollection) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsCollection) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsAudience ¶
func (this ActivityStreamsCollection) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsBcc ¶
func (this ActivityStreamsCollection) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsBto ¶
func (this ActivityStreamsCollection) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsCc ¶
func (this ActivityStreamsCollection) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsContent ¶
func (this ActivityStreamsCollection) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsContext ¶
func (this ActivityStreamsCollection) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsCurrent ¶
func (this ActivityStreamsCollection) GetActivityStreamsCurrent() vocab.ActivityStreamsCurrentProperty
GetActivityStreamsCurrent returns the "current" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsDuration ¶
func (this ActivityStreamsCollection) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsEndTime ¶
func (this ActivityStreamsCollection) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsFirst ¶
func (this ActivityStreamsCollection) GetActivityStreamsFirst() vocab.ActivityStreamsFirstProperty
GetActivityStreamsFirst returns the "first" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsGenerator ¶
func (this ActivityStreamsCollection) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsIcon ¶
func (this ActivityStreamsCollection) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsImage ¶
func (this ActivityStreamsCollection) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsCollection) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsItems ¶
func (this ActivityStreamsCollection) GetActivityStreamsItems() vocab.ActivityStreamsItemsProperty
GetActivityStreamsItems returns the "items" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsLast ¶
func (this ActivityStreamsCollection) GetActivityStreamsLast() vocab.ActivityStreamsLastProperty
GetActivityStreamsLast returns the "last" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsLikes ¶
func (this ActivityStreamsCollection) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsLocation ¶
func (this ActivityStreamsCollection) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsMediaType ¶
func (this ActivityStreamsCollection) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsName ¶
func (this ActivityStreamsCollection) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsObject ¶
func (this ActivityStreamsCollection) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsPreview ¶
func (this ActivityStreamsCollection) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsPublished ¶
func (this ActivityStreamsCollection) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsReplies ¶
func (this ActivityStreamsCollection) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsSensitive ¶
func (this ActivityStreamsCollection) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsShares ¶
func (this ActivityStreamsCollection) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsSource ¶
func (this ActivityStreamsCollection) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsStartTime ¶
func (this ActivityStreamsCollection) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsSummary ¶
func (this ActivityStreamsCollection) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsTag ¶
func (this ActivityStreamsCollection) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsTo ¶
func (this ActivityStreamsCollection) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsTotalItems ¶
func (this ActivityStreamsCollection) GetActivityStreamsTotalItems() vocab.ActivityStreamsTotalItemsProperty
GetActivityStreamsTotalItems returns the "totalItems" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsUpdated ¶
func (this ActivityStreamsCollection) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetActivityStreamsUrl ¶
func (this ActivityStreamsCollection) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetForgeFedTeam ¶
func (this ActivityStreamsCollection) GetForgeFedTeam() vocab.ForgeFedTeamProperty
GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetForgeFedTicketsTrackedBy ¶
func (this ActivityStreamsCollection) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetForgeFedTracksTicketsFor ¶
func (this ActivityStreamsCollection) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetJSONLDId ¶
func (this ActivityStreamsCollection) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetJSONLDType ¶
func (this ActivityStreamsCollection) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsCollection) GetTypeName ¶
func (this ActivityStreamsCollection) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsCollection) GetUnknownProperties ¶
func (this ActivityStreamsCollection) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Collection 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 (ActivityStreamsCollection) IsExtending ¶
func (this ActivityStreamsCollection) IsExtending(other vocab.Type) bool
IsExtending returns true if the Collection type extends from the other type.
func (ActivityStreamsCollection) JSONLDContext ¶
func (this ActivityStreamsCollection) 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 (ActivityStreamsCollection) LessThan ¶
func (this ActivityStreamsCollection) LessThan(o vocab.ActivityStreamsCollection) bool
LessThan computes if this Collection is lesser, with an arbitrary but stable determination.
func (ActivityStreamsCollection) Serialize ¶
func (this ActivityStreamsCollection) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsCollection) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsCollection) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsCollection) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsCollection) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsCollection) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsCollection) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsCollection) SetActivityStreamsAudience ¶
func (this *ActivityStreamsCollection) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsCollection) SetActivityStreamsBcc ¶
func (this *ActivityStreamsCollection) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsCollection) SetActivityStreamsBto ¶
func (this *ActivityStreamsCollection) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsCollection) SetActivityStreamsCc ¶
func (this *ActivityStreamsCollection) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsCollection) SetActivityStreamsContent ¶
func (this *ActivityStreamsCollection) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsCollection) SetActivityStreamsContext ¶
func (this *ActivityStreamsCollection) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsCollection) SetActivityStreamsCurrent ¶
func (this *ActivityStreamsCollection) SetActivityStreamsCurrent(i vocab.ActivityStreamsCurrentProperty)
SetActivityStreamsCurrent sets the "current" property.
func (*ActivityStreamsCollection) SetActivityStreamsDuration ¶
func (this *ActivityStreamsCollection) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsCollection) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsCollection) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsCollection) SetActivityStreamsFirst ¶
func (this *ActivityStreamsCollection) SetActivityStreamsFirst(i vocab.ActivityStreamsFirstProperty)
SetActivityStreamsFirst sets the "first" property.
func (*ActivityStreamsCollection) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsCollection) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsCollection) SetActivityStreamsIcon ¶
func (this *ActivityStreamsCollection) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsCollection) SetActivityStreamsImage ¶
func (this *ActivityStreamsCollection) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsCollection) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsCollection) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsCollection) SetActivityStreamsItems ¶
func (this *ActivityStreamsCollection) SetActivityStreamsItems(i vocab.ActivityStreamsItemsProperty)
SetActivityStreamsItems sets the "items" property.
func (*ActivityStreamsCollection) SetActivityStreamsLast ¶
func (this *ActivityStreamsCollection) SetActivityStreamsLast(i vocab.ActivityStreamsLastProperty)
SetActivityStreamsLast sets the "last" property.
func (*ActivityStreamsCollection) SetActivityStreamsLikes ¶
func (this *ActivityStreamsCollection) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsCollection) SetActivityStreamsLocation ¶
func (this *ActivityStreamsCollection) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsCollection) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsCollection) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsCollection) SetActivityStreamsName ¶
func (this *ActivityStreamsCollection) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsCollection) SetActivityStreamsObject ¶
func (this *ActivityStreamsCollection) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsCollection) SetActivityStreamsPreview ¶
func (this *ActivityStreamsCollection) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsCollection) SetActivityStreamsPublished ¶
func (this *ActivityStreamsCollection) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsCollection) SetActivityStreamsReplies ¶
func (this *ActivityStreamsCollection) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsCollection) SetActivityStreamsSensitive ¶
func (this *ActivityStreamsCollection) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
SetActivityStreamsSensitive sets the "sensitive" property.
func (*ActivityStreamsCollection) SetActivityStreamsShares ¶
func (this *ActivityStreamsCollection) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsCollection) SetActivityStreamsSource ¶
func (this *ActivityStreamsCollection) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsCollection) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsCollection) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsCollection) SetActivityStreamsSummary ¶
func (this *ActivityStreamsCollection) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsCollection) SetActivityStreamsTag ¶
func (this *ActivityStreamsCollection) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsCollection) SetActivityStreamsTo ¶
func (this *ActivityStreamsCollection) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsCollection) SetActivityStreamsTotalItems ¶
func (this *ActivityStreamsCollection) SetActivityStreamsTotalItems(i vocab.ActivityStreamsTotalItemsProperty)
SetActivityStreamsTotalItems sets the "totalItems" property.
func (*ActivityStreamsCollection) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsCollection) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsCollection) SetActivityStreamsUrl ¶
func (this *ActivityStreamsCollection) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsCollection) SetForgeFedTeam ¶
func (this *ActivityStreamsCollection) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
SetForgeFedTeam sets the "team" property.
func (*ActivityStreamsCollection) SetForgeFedTicketsTrackedBy ¶
func (this *ActivityStreamsCollection) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (*ActivityStreamsCollection) SetForgeFedTracksTicketsFor ¶
func (this *ActivityStreamsCollection) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (*ActivityStreamsCollection) SetJSONLDId ¶
func (this *ActivityStreamsCollection) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsCollection) SetJSONLDType ¶
func (this *ActivityStreamsCollection) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (ActivityStreamsCollection) VocabularyURI ¶
func (this ActivityStreamsCollection) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.