Documentation ¶
Overview ¶
Package typepage contains the implementation for the Page 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 ActivityStreamsPageExtends(other vocab.Type) bool
- func IsOrExtendsPage(other vocab.Type) bool
- func PageIsDisjointWith(other vocab.Type) bool
- func PageIsExtendedBy(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsPage
- func (this ActivityStreamsPage) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsPage) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsPage) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsPage) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsPage) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsPage) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsPage) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsPage) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsPage) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsPage) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsPage) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsPage) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsPage) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsPage) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsPage) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsPage) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsPage) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsPage) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsPage) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsPage) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsPage) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsPage) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsPage) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsPage) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
- func (this ActivityStreamsPage) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsPage) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsPage) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsPage) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsPage) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsPage) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsPage) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsPage) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsPage) GetGoToSocialApprovedBy() vocab.GoToSocialApprovedByProperty
- func (this ActivityStreamsPage) GetGoToSocialInteractionPolicy() vocab.GoToSocialInteractionPolicyProperty
- func (this ActivityStreamsPage) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsPage) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsPage) GetTootBlurhash() vocab.TootBlurhashProperty
- func (this ActivityStreamsPage) GetTypeName() string
- func (this ActivityStreamsPage) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsPage) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsPage) JSONLDContext() map[string]string
- func (this ActivityStreamsPage) LessThan(o vocab.ActivityStreamsPage) bool
- func (this ActivityStreamsPage) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsPage) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsPage) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsPage) SetGoToSocialApprovedBy(i vocab.GoToSocialApprovedByProperty)
- func (this *ActivityStreamsPage) SetGoToSocialInteractionPolicy(i vocab.GoToSocialInteractionPolicyProperty)
- func (this *ActivityStreamsPage) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsPage) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this *ActivityStreamsPage) SetTootBlurhash(i vocab.TootBlurhashProperty)
- func (this ActivityStreamsPage) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsPageExtends ¶
ActivityStreamsPageExtends returns true if the Page type extends from the other type.
func IsOrExtendsPage ¶
IsOrExtendsPage returns true if the other provided type is the Page type or extends from the Page type.
func PageIsDisjointWith ¶
PageIsDisjointWith returns true if the other provided type is disjoint with the Page type.
func PageIsExtendedBy ¶
PageIsExtendedBy returns true if the other provided type extends from the Page type. Note that it returns false if the types are the same; see the "IsOrExtendsPage" 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 ActivityStreamsPage ¶
type ActivityStreamsPage struct { ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty GoToSocialApprovedBy vocab.GoToSocialApprovedByProperty ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty ActivityStreamsBcc vocab.ActivityStreamsBccProperty TootBlurhash vocab.TootBlurhashProperty 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 GoToSocialInteractionPolicy vocab.GoToSocialInteractionPolicyProperty 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 ActivityStreamsTo vocab.ActivityStreamsToProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty // contains filtered or unexported fields }
Represents a Web Page.
Example 54 (https://www.w3.org/TR/activitystreams-vocabulary/#ex53-jsonld):
{ "name": "Omaha Weather Report", "type": "Page", "url": "http://example.org/weather-in-omaha.html" }
func DeserializePage ¶
func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsPage, error)
DeserializePage creates a Page from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsPage ¶
func NewActivityStreamsPage() *ActivityStreamsPage
NewActivityStreamsPage creates a new Page type
func (ActivityStreamsPage) GetActivityStreamsAltitude ¶
func (this ActivityStreamsPage) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsAttachment ¶
func (this ActivityStreamsPage) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsPage) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsAudience ¶
func (this ActivityStreamsPage) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsBcc ¶
func (this ActivityStreamsPage) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsBto ¶
func (this ActivityStreamsPage) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsCc ¶
func (this ActivityStreamsPage) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsContent ¶
func (this ActivityStreamsPage) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsContext ¶
func (this ActivityStreamsPage) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsDuration ¶
func (this ActivityStreamsPage) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsEndTime ¶
func (this ActivityStreamsPage) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsGenerator ¶
func (this ActivityStreamsPage) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsIcon ¶
func (this ActivityStreamsPage) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsImage ¶
func (this ActivityStreamsPage) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsPage) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsLikes ¶
func (this ActivityStreamsPage) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsLocation ¶
func (this ActivityStreamsPage) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsMediaType ¶
func (this ActivityStreamsPage) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsName ¶
func (this ActivityStreamsPage) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsObject ¶
func (this ActivityStreamsPage) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsPreview ¶
func (this ActivityStreamsPage) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsPublished ¶
func (this ActivityStreamsPage) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsReplies ¶
func (this ActivityStreamsPage) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsSensitive ¶
func (this ActivityStreamsPage) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsShares ¶
func (this ActivityStreamsPage) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsSource ¶
func (this ActivityStreamsPage) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsStartTime ¶
func (this ActivityStreamsPage) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsSummary ¶
func (this ActivityStreamsPage) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsTag ¶
func (this ActivityStreamsPage) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsTo ¶
func (this ActivityStreamsPage) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsUpdated ¶
func (this ActivityStreamsPage) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetActivityStreamsUrl ¶
func (this ActivityStreamsPage) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetGoToSocialApprovedBy ¶
func (this ActivityStreamsPage) GetGoToSocialApprovedBy() vocab.GoToSocialApprovedByProperty
GetGoToSocialApprovedBy returns the "approvedBy" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetGoToSocialInteractionPolicy ¶
func (this ActivityStreamsPage) GetGoToSocialInteractionPolicy() vocab.GoToSocialInteractionPolicyProperty
GetGoToSocialInteractionPolicy returns the "interactionPolicy" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetJSONLDId ¶
func (this ActivityStreamsPage) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetJSONLDType ¶
func (this ActivityStreamsPage) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetTootBlurhash ¶
func (this ActivityStreamsPage) GetTootBlurhash() vocab.TootBlurhashProperty
GetTootBlurhash returns the "blurhash" property if it exists, and nil otherwise.
func (ActivityStreamsPage) GetTypeName ¶
func (this ActivityStreamsPage) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsPage) GetUnknownProperties ¶
func (this ActivityStreamsPage) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Page 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 (ActivityStreamsPage) IsExtending ¶
func (this ActivityStreamsPage) IsExtending(other vocab.Type) bool
IsExtending returns true if the Page type extends from the other type.
func (ActivityStreamsPage) JSONLDContext ¶
func (this ActivityStreamsPage) 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 (ActivityStreamsPage) LessThan ¶
func (this ActivityStreamsPage) LessThan(o vocab.ActivityStreamsPage) bool
LessThan computes if this Page is lesser, with an arbitrary but stable determination.
func (ActivityStreamsPage) Serialize ¶
func (this ActivityStreamsPage) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsPage) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsPage) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsPage) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsPage) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsPage) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsPage) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsPage) SetActivityStreamsAudience ¶
func (this *ActivityStreamsPage) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsPage) SetActivityStreamsBcc ¶
func (this *ActivityStreamsPage) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsPage) SetActivityStreamsBto ¶
func (this *ActivityStreamsPage) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsPage) SetActivityStreamsCc ¶
func (this *ActivityStreamsPage) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsPage) SetActivityStreamsContent ¶
func (this *ActivityStreamsPage) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsPage) SetActivityStreamsContext ¶
func (this *ActivityStreamsPage) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsPage) SetActivityStreamsDuration ¶
func (this *ActivityStreamsPage) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsPage) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsPage) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsPage) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsPage) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsPage) SetActivityStreamsIcon ¶
func (this *ActivityStreamsPage) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsPage) SetActivityStreamsImage ¶
func (this *ActivityStreamsPage) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsPage) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsPage) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsPage) SetActivityStreamsLikes ¶
func (this *ActivityStreamsPage) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsPage) SetActivityStreamsLocation ¶
func (this *ActivityStreamsPage) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsPage) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsPage) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsPage) SetActivityStreamsName ¶
func (this *ActivityStreamsPage) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsPage) SetActivityStreamsObject ¶
func (this *ActivityStreamsPage) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsPage) SetActivityStreamsPreview ¶
func (this *ActivityStreamsPage) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsPage) SetActivityStreamsPublished ¶
func (this *ActivityStreamsPage) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsPage) SetActivityStreamsReplies ¶
func (this *ActivityStreamsPage) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsPage) SetActivityStreamsSensitive ¶
func (this *ActivityStreamsPage) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
SetActivityStreamsSensitive sets the "sensitive" property.
func (*ActivityStreamsPage) SetActivityStreamsShares ¶
func (this *ActivityStreamsPage) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsPage) SetActivityStreamsSource ¶
func (this *ActivityStreamsPage) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsPage) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsPage) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsPage) SetActivityStreamsSummary ¶
func (this *ActivityStreamsPage) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsPage) SetActivityStreamsTag ¶
func (this *ActivityStreamsPage) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsPage) SetActivityStreamsTo ¶
func (this *ActivityStreamsPage) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsPage) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsPage) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsPage) SetActivityStreamsUrl ¶
func (this *ActivityStreamsPage) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsPage) SetGoToSocialApprovedBy ¶
func (this *ActivityStreamsPage) SetGoToSocialApprovedBy(i vocab.GoToSocialApprovedByProperty)
SetGoToSocialApprovedBy sets the "approvedBy" property.
func (*ActivityStreamsPage) SetGoToSocialInteractionPolicy ¶
func (this *ActivityStreamsPage) SetGoToSocialInteractionPolicy(i vocab.GoToSocialInteractionPolicyProperty)
SetGoToSocialInteractionPolicy sets the "interactionPolicy" property.
func (*ActivityStreamsPage) SetJSONLDId ¶
func (this *ActivityStreamsPage) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsPage) SetJSONLDType ¶
func (this *ActivityStreamsPage) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (*ActivityStreamsPage) SetTootBlurhash ¶
func (this *ActivityStreamsPage) SetTootBlurhash(i vocab.TootBlurhashProperty)
SetTootBlurhash sets the "blurhash" property.
func (ActivityStreamsPage) VocabularyURI ¶
func (this ActivityStreamsPage) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.