Documentation ¶
Overview ¶
Package typeorderedcollectionpage contains the implementation for the OrderedCollectionPage 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 ActivityStreamsOrderedCollectionPageExtends(other vocab.Type) bool
- func IsOrExtendsOrderedCollectionPage(other vocab.Type) bool
- func OrderedCollectionPageIsDisjointWith(other vocab.Type) bool
- func OrderedCollectionPageIsExtendedBy(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsOrderedCollectionPage
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsCurrent() vocab.ActivityStreamsCurrentProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsFirst() vocab.ActivityStreamsFirstProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsLast() vocab.ActivityStreamsLastProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsNext() vocab.ActivityStreamsNextProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsOrderedItems() vocab.ActivityStreamsOrderedItemsProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsPartOf() vocab.ActivityStreamsPartOfProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsPrev() vocab.ActivityStreamsPrevProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsStartIndex() vocab.ActivityStreamsStartIndexProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsTotalItems() vocab.ActivityStreamsTotalItemsProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsOrderedCollectionPage) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsOrderedCollectionPage) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsOrderedCollectionPage) GetTypeName() string
- func (this ActivityStreamsOrderedCollectionPage) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsOrderedCollectionPage) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsOrderedCollectionPage) JSONLDContext() map[string]string
- func (this ActivityStreamsOrderedCollectionPage) LessThan(o vocab.ActivityStreamsOrderedCollectionPage) bool
- func (this ActivityStreamsOrderedCollectionPage) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsCurrent(i vocab.ActivityStreamsCurrentProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsFirst(i vocab.ActivityStreamsFirstProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsLast(i vocab.ActivityStreamsLastProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsNext(i vocab.ActivityStreamsNextProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsOrderedItems(i vocab.ActivityStreamsOrderedItemsProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsPartOf(i vocab.ActivityStreamsPartOfProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsPrev(i vocab.ActivityStreamsPrevProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsStartIndex(i vocab.ActivityStreamsStartIndexProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsTotalItems(i vocab.ActivityStreamsTotalItemsProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsOrderedCollectionPage) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this ActivityStreamsOrderedCollectionPage) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsOrderedCollectionPageExtends ¶
ActivityStreamsOrderedCollectionPageExtends returns true if the OrderedCollectionPage type extends from the other type.
func IsOrExtendsOrderedCollectionPage ¶
IsOrExtendsOrderedCollectionPage returns true if the other provided type is the OrderedCollectionPage type or extends from the OrderedCollectionPage type.
func OrderedCollectionPageIsDisjointWith ¶
OrderedCollectionPageIsDisjointWith returns true if the other provided type is disjoint with the OrderedCollectionPage type.
func OrderedCollectionPageIsExtendedBy ¶
OrderedCollectionPageIsExtendedBy returns true if the other provided type extends from the OrderedCollectionPage type. Note that it returns false if the types are the same; see the "IsOrExtendsOrderedCollectionPage" variant instead.
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 ActivityStreamsOrderedCollectionPage ¶
type ActivityStreamsOrderedCollectionPage 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 ActivityStreamsLast vocab.ActivityStreamsLastProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty ActivityStreamsName vocab.ActivityStreamsNameProperty ActivityStreamsNext vocab.ActivityStreamsNextProperty ActivityStreamsObject vocab.ActivityStreamsObjectProperty ActivityStreamsOrderedItems vocab.ActivityStreamsOrderedItemsProperty ActivityStreamsPartOf vocab.ActivityStreamsPartOfProperty ActivityStreamsPrev vocab.ActivityStreamsPrevProperty ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty ActivityStreamsSource vocab.ActivityStreamsSourceProperty ActivityStreamsStartIndex vocab.ActivityStreamsStartIndexProperty ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTo vocab.ActivityStreamsToProperty ActivityStreamsTotalItems vocab.ActivityStreamsTotalItemsProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty // contains filtered or unexported fields }
Used to represent ordered subsets of items from an OrderedCollection. Refer to the Activity Streams 2.0 Core for a complete description of the OrderedCollectionPage object.
Example 8 (https://www.w3.org/TR/activitystreams-vocabulary/#ex6c-jsonld):
{ "id": "http://example.org/foo?page=1", "orderedItems": [ { "name": "A Simple Note", "type": "Note" }, { "name": "Another Simple Note", "type": "Note" } ], "partOf": "http://example.org/foo", "summary": "Page 1 of Sally's notes", "type": "OrderedCollectionPage" }
func DeserializeOrderedCollectionPage ¶
func DeserializeOrderedCollectionPage(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsOrderedCollectionPage, error)
DeserializeOrderedCollectionPage creates a OrderedCollectionPage from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsOrderedCollectionPage ¶
func NewActivityStreamsOrderedCollectionPage() *ActivityStreamsOrderedCollectionPage
NewActivityStreamsOrderedCollectionPage creates a new OrderedCollectionPage type
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsAltitude ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsAttachment ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsAudience ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsBcc ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsBto ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsCc ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsContent ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsContext ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsCurrent ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsCurrent() vocab.ActivityStreamsCurrentProperty
GetActivityStreamsCurrent returns the "current" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsDuration ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsEndTime ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsFirst ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsFirst() vocab.ActivityStreamsFirstProperty
GetActivityStreamsFirst returns the "first" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsGenerator ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsIcon ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsImage ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsLast ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsLast() vocab.ActivityStreamsLastProperty
GetActivityStreamsLast returns the "last" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsLikes ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsLocation ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsMediaType ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsName ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsNext ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsNext() vocab.ActivityStreamsNextProperty
GetActivityStreamsNext returns the "next" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsObject ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsOrderedItems ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsOrderedItems() vocab.ActivityStreamsOrderedItemsProperty
GetActivityStreamsOrderedItems returns the "orderedItems" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsPartOf ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsPartOf() vocab.ActivityStreamsPartOfProperty
GetActivityStreamsPartOf returns the "partOf" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsPrev ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsPrev() vocab.ActivityStreamsPrevProperty
GetActivityStreamsPrev returns the "prev" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsPreview ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsPublished ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsReplies ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsSensitive ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsShares ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsSource ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsStartIndex ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsStartIndex() vocab.ActivityStreamsStartIndexProperty
GetActivityStreamsStartIndex returns the "startIndex" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsStartTime ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsSummary ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsTag ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsTo ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsTotalItems ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsTotalItems() vocab.ActivityStreamsTotalItemsProperty
GetActivityStreamsTotalItems returns the "totalItems" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsUpdated ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetActivityStreamsUrl ¶
func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetJSONLDId ¶
func (this ActivityStreamsOrderedCollectionPage) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetJSONLDType ¶
func (this ActivityStreamsOrderedCollectionPage) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsOrderedCollectionPage) GetTypeName ¶
func (this ActivityStreamsOrderedCollectionPage) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsOrderedCollectionPage) GetUnknownProperties ¶
func (this ActivityStreamsOrderedCollectionPage) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the OrderedCollectionPage 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 (ActivityStreamsOrderedCollectionPage) IsExtending ¶
func (this ActivityStreamsOrderedCollectionPage) IsExtending(other vocab.Type) bool
IsExtending returns true if the OrderedCollectionPage type extends from the other type.
func (ActivityStreamsOrderedCollectionPage) JSONLDContext ¶
func (this ActivityStreamsOrderedCollectionPage) 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 (ActivityStreamsOrderedCollectionPage) LessThan ¶
func (this ActivityStreamsOrderedCollectionPage) LessThan(o vocab.ActivityStreamsOrderedCollectionPage) bool
LessThan computes if this OrderedCollectionPage is lesser, with an arbitrary but stable determination.
func (ActivityStreamsOrderedCollectionPage) Serialize ¶
func (this ActivityStreamsOrderedCollectionPage) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsAudience ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsBcc ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsBto ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsCc ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsContent ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsContext ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsCurrent ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsCurrent(i vocab.ActivityStreamsCurrentProperty)
SetActivityStreamsCurrent sets the "current" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsDuration ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsFirst ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsFirst(i vocab.ActivityStreamsFirstProperty)
SetActivityStreamsFirst sets the "first" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsIcon ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsImage ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsLast ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsLast(i vocab.ActivityStreamsLastProperty)
SetActivityStreamsLast sets the "last" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsLikes ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsLocation ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsName ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsNext ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsNext(i vocab.ActivityStreamsNextProperty)
SetActivityStreamsNext sets the "next" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsObject ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsOrderedItems ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsOrderedItems(i vocab.ActivityStreamsOrderedItemsProperty)
SetActivityStreamsOrderedItems sets the "orderedItems" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsPartOf ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsPartOf(i vocab.ActivityStreamsPartOfProperty)
SetActivityStreamsPartOf sets the "partOf" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsPrev ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsPrev(i vocab.ActivityStreamsPrevProperty)
SetActivityStreamsPrev sets the "prev" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsPreview ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsPublished ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsReplies ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsSensitive ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
SetActivityStreamsSensitive sets the "sensitive" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsShares ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsSource ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsStartIndex ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsStartIndex(i vocab.ActivityStreamsStartIndexProperty)
SetActivityStreamsStartIndex sets the "startIndex" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsSummary ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsTag ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsTo ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsTotalItems ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsTotalItems(i vocab.ActivityStreamsTotalItemsProperty)
SetActivityStreamsTotalItems sets the "totalItems" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsOrderedCollectionPage) SetActivityStreamsUrl ¶
func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsOrderedCollectionPage) SetJSONLDId ¶
func (this *ActivityStreamsOrderedCollectionPage) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsOrderedCollectionPage) SetJSONLDType ¶
func (this *ActivityStreamsOrderedCollectionPage) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (ActivityStreamsOrderedCollectionPage) VocabularyURI ¶
func (this ActivityStreamsOrderedCollectionPage) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.