Documentation
¶
Overview ¶
Package typeimage contains the implementation for the Image 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 ActivityStreamsImageExtends(other vocab.Type) bool
- func ImageIsDisjointWith(other vocab.Type) bool
- func ImageIsExtendedBy(other vocab.Type) bool
- func IsOrExtendsImage(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsImage
- func (this ActivityStreamsImage) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsImage) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsImage) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsImage) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsImage) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsImage) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsImage) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsImage) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsImage) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsImage) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsImage) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsImage) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsImage) GetActivityStreamsHeight() vocab.ActivityStreamsHeightProperty
- func (this ActivityStreamsImage) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsImage) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsImage) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsImage) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsImage) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsImage) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsImage) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsImage) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsImage) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsImage) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsImage) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsImage) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsImage) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsImage) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsImage) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsImage) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsImage) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsImage) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsImage) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsImage) GetActivityStreamsWidth() vocab.ActivityStreamsWidthProperty
- func (this ActivityStreamsImage) GetForgeFedTeam() vocab.ForgeFedTeamProperty
- func (this ActivityStreamsImage) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
- func (this ActivityStreamsImage) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
- func (this ActivityStreamsImage) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsImage) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsImage) GetTootBlurhash() vocab.TootBlurhashProperty
- func (this ActivityStreamsImage) GetTypeName() string
- func (this ActivityStreamsImage) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsImage) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsImage) JSONLDContext() map[string]string
- func (this ActivityStreamsImage) LessThan(o vocab.ActivityStreamsImage) bool
- func (this ActivityStreamsImage) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsImage) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsHeight(i vocab.ActivityStreamsHeightProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsImage) SetActivityStreamsWidth(i vocab.ActivityStreamsWidthProperty)
- func (this *ActivityStreamsImage) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
- func (this *ActivityStreamsImage) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
- func (this *ActivityStreamsImage) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
- func (this *ActivityStreamsImage) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsImage) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this *ActivityStreamsImage) SetTootBlurhash(i vocab.TootBlurhashProperty)
- func (this ActivityStreamsImage) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsImageExtends ¶
ActivityStreamsImageExtends returns true if the Image type extends from the other type.
func ImageIsDisjointWith ¶
ImageIsDisjointWith returns true if the other provided type is disjoint with the Image type.
func ImageIsExtendedBy ¶
ImageIsExtendedBy returns true if the other provided type extends from the Image type. Note that it returns false if the types are the same; see the "IsOrExtendsImage" variant instead.
func IsOrExtendsImage ¶
IsOrExtendsImage returns true if the other provided type is the Image type or extends from the Image 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 ActivityStreamsImage ¶
type ActivityStreamsImage struct { ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty 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 ActivityStreamsHeight vocab.ActivityStreamsHeightProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty ActivityStreamsName vocab.ActivityStreamsNameProperty ActivityStreamsObject vocab.ActivityStreamsObjectProperty ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty ActivityStreamsSource vocab.ActivityStreamsSourceProperty ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ForgeFedTeam vocab.ForgeFedTeamProperty ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty ActivityStreamsWidth vocab.ActivityStreamsWidthProperty // contains filtered or unexported fields }
An image document of any kind
Example 51 (https://www.w3.org/TR/activitystreams-vocabulary/#ex50-jsonld):
{ "name": "Cat Jumping on Wagon", "type": "Image", "url": [ { "mediaType": "image/jpeg", "type": "Link", "url": "http://example.org/image.jpeg" }, { "mediaType": "image/png", "type": "Link", "url": "http://example.org/image.png" } ] }
func DeserializeImage ¶
func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsImage, error)
DeserializeImage creates a Image from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsImage ¶
func NewActivityStreamsImage() *ActivityStreamsImage
NewActivityStreamsImage creates a new Image type
func (ActivityStreamsImage) GetActivityStreamsAltitude ¶
func (this ActivityStreamsImage) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsAttachment ¶
func (this ActivityStreamsImage) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsImage) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsAudience ¶
func (this ActivityStreamsImage) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsBcc ¶
func (this ActivityStreamsImage) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsBto ¶
func (this ActivityStreamsImage) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsCc ¶
func (this ActivityStreamsImage) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsContent ¶
func (this ActivityStreamsImage) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsContext ¶
func (this ActivityStreamsImage) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsDuration ¶
func (this ActivityStreamsImage) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsEndTime ¶
func (this ActivityStreamsImage) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsGenerator ¶
func (this ActivityStreamsImage) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsHeight ¶
func (this ActivityStreamsImage) GetActivityStreamsHeight() vocab.ActivityStreamsHeightProperty
GetActivityStreamsHeight returns the "height" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsIcon ¶
func (this ActivityStreamsImage) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsImage ¶
func (this ActivityStreamsImage) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsImage) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsLikes ¶
func (this ActivityStreamsImage) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsLocation ¶
func (this ActivityStreamsImage) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsMediaType ¶
func (this ActivityStreamsImage) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsName ¶
func (this ActivityStreamsImage) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsObject ¶
func (this ActivityStreamsImage) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsPreview ¶
func (this ActivityStreamsImage) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsPublished ¶
func (this ActivityStreamsImage) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsReplies ¶
func (this ActivityStreamsImage) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsShares ¶
func (this ActivityStreamsImage) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsSource ¶
func (this ActivityStreamsImage) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsStartTime ¶
func (this ActivityStreamsImage) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsSummary ¶
func (this ActivityStreamsImage) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsTag ¶
func (this ActivityStreamsImage) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsTo ¶
func (this ActivityStreamsImage) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsUpdated ¶
func (this ActivityStreamsImage) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsUrl ¶
func (this ActivityStreamsImage) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetActivityStreamsWidth ¶
func (this ActivityStreamsImage) GetActivityStreamsWidth() vocab.ActivityStreamsWidthProperty
GetActivityStreamsWidth returns the "width" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetForgeFedTeam ¶
func (this ActivityStreamsImage) GetForgeFedTeam() vocab.ForgeFedTeamProperty
GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetForgeFedTicketsTrackedBy ¶
func (this ActivityStreamsImage) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetForgeFedTracksTicketsFor ¶
func (this ActivityStreamsImage) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetJSONLDId ¶
func (this ActivityStreamsImage) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetJSONLDType ¶
func (this ActivityStreamsImage) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetTootBlurhash ¶
func (this ActivityStreamsImage) GetTootBlurhash() vocab.TootBlurhashProperty
GetTootBlurhash returns the "blurhash" property if it exists, and nil otherwise.
func (ActivityStreamsImage) GetTypeName ¶
func (this ActivityStreamsImage) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsImage) GetUnknownProperties ¶
func (this ActivityStreamsImage) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Image 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 (ActivityStreamsImage) IsExtending ¶
func (this ActivityStreamsImage) IsExtending(other vocab.Type) bool
IsExtending returns true if the Image type extends from the other type.
func (ActivityStreamsImage) JSONLDContext ¶
func (this ActivityStreamsImage) 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 (ActivityStreamsImage) LessThan ¶
func (this ActivityStreamsImage) LessThan(o vocab.ActivityStreamsImage) bool
LessThan computes if this Image is lesser, with an arbitrary but stable determination.
func (ActivityStreamsImage) Serialize ¶
func (this ActivityStreamsImage) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsImage) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsImage) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsImage) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsImage) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsImage) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsImage) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsImage) SetActivityStreamsAudience ¶
func (this *ActivityStreamsImage) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsImage) SetActivityStreamsBcc ¶
func (this *ActivityStreamsImage) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsImage) SetActivityStreamsBto ¶
func (this *ActivityStreamsImage) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsImage) SetActivityStreamsCc ¶
func (this *ActivityStreamsImage) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsImage) SetActivityStreamsContent ¶
func (this *ActivityStreamsImage) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsImage) SetActivityStreamsContext ¶
func (this *ActivityStreamsImage) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsImage) SetActivityStreamsDuration ¶
func (this *ActivityStreamsImage) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsImage) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsImage) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsImage) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsImage) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsImage) SetActivityStreamsHeight ¶
func (this *ActivityStreamsImage) SetActivityStreamsHeight(i vocab.ActivityStreamsHeightProperty)
SetActivityStreamsHeight sets the "height" property.
func (*ActivityStreamsImage) SetActivityStreamsIcon ¶
func (this *ActivityStreamsImage) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsImage) SetActivityStreamsImage ¶
func (this *ActivityStreamsImage) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsImage) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsImage) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsImage) SetActivityStreamsLikes ¶
func (this *ActivityStreamsImage) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsImage) SetActivityStreamsLocation ¶
func (this *ActivityStreamsImage) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsImage) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsImage) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsImage) SetActivityStreamsName ¶
func (this *ActivityStreamsImage) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsImage) SetActivityStreamsObject ¶
func (this *ActivityStreamsImage) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsImage) SetActivityStreamsPreview ¶
func (this *ActivityStreamsImage) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsImage) SetActivityStreamsPublished ¶
func (this *ActivityStreamsImage) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsImage) SetActivityStreamsReplies ¶
func (this *ActivityStreamsImage) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsImage) SetActivityStreamsShares ¶
func (this *ActivityStreamsImage) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsImage) SetActivityStreamsSource ¶
func (this *ActivityStreamsImage) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsImage) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsImage) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsImage) SetActivityStreamsSummary ¶
func (this *ActivityStreamsImage) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsImage) SetActivityStreamsTag ¶
func (this *ActivityStreamsImage) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsImage) SetActivityStreamsTo ¶
func (this *ActivityStreamsImage) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsImage) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsImage) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsImage) SetActivityStreamsUrl ¶
func (this *ActivityStreamsImage) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsImage) SetActivityStreamsWidth ¶
func (this *ActivityStreamsImage) SetActivityStreamsWidth(i vocab.ActivityStreamsWidthProperty)
SetActivityStreamsWidth sets the "width" property.
func (*ActivityStreamsImage) SetForgeFedTeam ¶
func (this *ActivityStreamsImage) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
SetForgeFedTeam sets the "team" property.
func (*ActivityStreamsImage) SetForgeFedTicketsTrackedBy ¶
func (this *ActivityStreamsImage) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (*ActivityStreamsImage) SetForgeFedTracksTicketsFor ¶
func (this *ActivityStreamsImage) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (*ActivityStreamsImage) SetJSONLDId ¶
func (this *ActivityStreamsImage) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsImage) SetJSONLDType ¶
func (this *ActivityStreamsImage) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (*ActivityStreamsImage) SetTootBlurhash ¶
func (this *ActivityStreamsImage) SetTootBlurhash(i vocab.TootBlurhashProperty)
SetTootBlurhash sets the "blurhash" property.
func (ActivityStreamsImage) VocabularyURI ¶
func (this ActivityStreamsImage) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.