Documentation
¶
Overview ¶
Package typenote contains the implementation for the Note 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 ActivityStreamsNoteExtends(other vocab.Type) bool
- func IsOrExtendsNote(other vocab.Type) bool
- func NoteIsDisjointWith(other vocab.Type) bool
- func NoteIsExtendedBy(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsNote
- func (this ActivityStreamsNote) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsNote) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsNote) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsNote) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsNote) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsNote) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsNote) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsNote) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsNote) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsNote) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsNote) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsNote) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsNote) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsNote) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsNote) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsNote) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsNote) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsNote) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsNote) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsNote) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsNote) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsNote) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsNote) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsNote) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsNote) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsNote) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsNote) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsNote) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsNote) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsNote) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsNote) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsNote) GetForgeFedTeam() vocab.ForgeFedTeamProperty
- func (this ActivityStreamsNote) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
- func (this ActivityStreamsNote) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
- func (this ActivityStreamsNote) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsNote) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsNote) GetTypeName() string
- func (this ActivityStreamsNote) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsNote) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsNote) JSONLDContext() map[string]string
- func (this ActivityStreamsNote) LessThan(o vocab.ActivityStreamsNote) bool
- func (this ActivityStreamsNote) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsNote) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsNote) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsNote) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
- func (this *ActivityStreamsNote) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
- func (this *ActivityStreamsNote) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
- func (this *ActivityStreamsNote) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsNote) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this ActivityStreamsNote) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsNoteExtends ¶
ActivityStreamsNoteExtends returns true if the Note type extends from the other type.
func IsOrExtendsNote ¶
IsOrExtendsNote returns true if the other provided type is the Note type or extends from the Note type.
func NoteIsDisjointWith ¶
NoteIsDisjointWith returns true if the other provided type is disjoint with the Note type.
func NoteIsExtendedBy ¶
NoteIsExtendedBy returns true if the other provided type extends from the Note type. Note that it returns false if the types are the same; see the "IsOrExtendsNote" 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 ActivityStreamsNote ¶
type ActivityStreamsNote 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 ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty 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 // contains filtered or unexported fields }
Represents a short written work typically less than a single paragraph in length.
Example 53 (https://www.w3.org/TR/activitystreams-vocabulary/#ex52-jsonld):
{ "content": "Looks like it is going to rain today. Bring an umbrella!", "name": "A Word of Warning", "type": "Note" }
func DeserializeNote ¶
func DeserializeNote(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsNote, error)
DeserializeNote creates a Note from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsNote ¶
func NewActivityStreamsNote() *ActivityStreamsNote
NewActivityStreamsNote creates a new Note type
func (ActivityStreamsNote) GetActivityStreamsAltitude ¶
func (this ActivityStreamsNote) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsAttachment ¶
func (this ActivityStreamsNote) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsNote) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsAudience ¶
func (this ActivityStreamsNote) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsBcc ¶
func (this ActivityStreamsNote) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsBto ¶
func (this ActivityStreamsNote) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsCc ¶
func (this ActivityStreamsNote) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsContent ¶
func (this ActivityStreamsNote) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsContext ¶
func (this ActivityStreamsNote) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsDuration ¶
func (this ActivityStreamsNote) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsEndTime ¶
func (this ActivityStreamsNote) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsGenerator ¶
func (this ActivityStreamsNote) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsIcon ¶
func (this ActivityStreamsNote) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsImage ¶
func (this ActivityStreamsNote) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsNote) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsLikes ¶
func (this ActivityStreamsNote) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsLocation ¶
func (this ActivityStreamsNote) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsMediaType ¶
func (this ActivityStreamsNote) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsName ¶
func (this ActivityStreamsNote) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsObject ¶
func (this ActivityStreamsNote) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsPreview ¶
func (this ActivityStreamsNote) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsPublished ¶
func (this ActivityStreamsNote) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsReplies ¶
func (this ActivityStreamsNote) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsShares ¶
func (this ActivityStreamsNote) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsSource ¶
func (this ActivityStreamsNote) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsStartTime ¶
func (this ActivityStreamsNote) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsSummary ¶
func (this ActivityStreamsNote) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsTag ¶
func (this ActivityStreamsNote) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsTo ¶
func (this ActivityStreamsNote) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsUpdated ¶
func (this ActivityStreamsNote) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetActivityStreamsUrl ¶
func (this ActivityStreamsNote) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetForgeFedTeam ¶
func (this ActivityStreamsNote) GetForgeFedTeam() vocab.ForgeFedTeamProperty
GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetForgeFedTicketsTrackedBy ¶
func (this ActivityStreamsNote) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetForgeFedTracksTicketsFor ¶
func (this ActivityStreamsNote) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetJSONLDId ¶
func (this ActivityStreamsNote) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetJSONLDType ¶
func (this ActivityStreamsNote) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsNote) GetTypeName ¶
func (this ActivityStreamsNote) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsNote) GetUnknownProperties ¶
func (this ActivityStreamsNote) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Note 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 (ActivityStreamsNote) IsExtending ¶
func (this ActivityStreamsNote) IsExtending(other vocab.Type) bool
IsExtending returns true if the Note type extends from the other type.
func (ActivityStreamsNote) JSONLDContext ¶
func (this ActivityStreamsNote) 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 (ActivityStreamsNote) LessThan ¶
func (this ActivityStreamsNote) LessThan(o vocab.ActivityStreamsNote) bool
LessThan computes if this Note is lesser, with an arbitrary but stable determination.
func (ActivityStreamsNote) Serialize ¶
func (this ActivityStreamsNote) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsNote) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsNote) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsNote) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsNote) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsNote) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsNote) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsNote) SetActivityStreamsAudience ¶
func (this *ActivityStreamsNote) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsNote) SetActivityStreamsBcc ¶
func (this *ActivityStreamsNote) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsNote) SetActivityStreamsBto ¶
func (this *ActivityStreamsNote) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsNote) SetActivityStreamsCc ¶
func (this *ActivityStreamsNote) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsNote) SetActivityStreamsContent ¶
func (this *ActivityStreamsNote) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsNote) SetActivityStreamsContext ¶
func (this *ActivityStreamsNote) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsNote) SetActivityStreamsDuration ¶
func (this *ActivityStreamsNote) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsNote) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsNote) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsNote) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsNote) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsNote) SetActivityStreamsIcon ¶
func (this *ActivityStreamsNote) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsNote) SetActivityStreamsImage ¶
func (this *ActivityStreamsNote) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsNote) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsNote) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsNote) SetActivityStreamsLikes ¶
func (this *ActivityStreamsNote) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsNote) SetActivityStreamsLocation ¶
func (this *ActivityStreamsNote) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsNote) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsNote) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsNote) SetActivityStreamsName ¶
func (this *ActivityStreamsNote) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsNote) SetActivityStreamsObject ¶
func (this *ActivityStreamsNote) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsNote) SetActivityStreamsPreview ¶
func (this *ActivityStreamsNote) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsNote) SetActivityStreamsPublished ¶
func (this *ActivityStreamsNote) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsNote) SetActivityStreamsReplies ¶
func (this *ActivityStreamsNote) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsNote) SetActivityStreamsShares ¶
func (this *ActivityStreamsNote) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsNote) SetActivityStreamsSource ¶
func (this *ActivityStreamsNote) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsNote) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsNote) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsNote) SetActivityStreamsSummary ¶
func (this *ActivityStreamsNote) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsNote) SetActivityStreamsTag ¶
func (this *ActivityStreamsNote) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsNote) SetActivityStreamsTo ¶
func (this *ActivityStreamsNote) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsNote) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsNote) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsNote) SetActivityStreamsUrl ¶
func (this *ActivityStreamsNote) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsNote) SetForgeFedTeam ¶
func (this *ActivityStreamsNote) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
SetForgeFedTeam sets the "team" property.
func (*ActivityStreamsNote) SetForgeFedTicketsTrackedBy ¶
func (this *ActivityStreamsNote) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (*ActivityStreamsNote) SetForgeFedTracksTicketsFor ¶
func (this *ActivityStreamsNote) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (*ActivityStreamsNote) SetJSONLDId ¶
func (this *ActivityStreamsNote) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsNote) SetJSONLDType ¶
func (this *ActivityStreamsNote) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (ActivityStreamsNote) VocabularyURI ¶
func (this ActivityStreamsNote) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.