Documentation ¶
Overview ¶
Package typeservice contains the implementation for the Service 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 ActivityStreamsServiceExtends(other vocab.Type) bool
- func IsOrExtendsService(other vocab.Type) bool
- func ServiceIsDisjointWith(other vocab.Type) bool
- func ServiceIsExtendedBy(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsService
- func (this ActivityStreamsService) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsService) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsService) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsService) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsService) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsService) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsService) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsService) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsService) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsService) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsService) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsService) GetActivityStreamsEndpoints() vocab.ActivityStreamsEndpointsProperty
- func (this ActivityStreamsService) GetActivityStreamsFollowers() vocab.ActivityStreamsFollowersProperty
- func (this ActivityStreamsService) GetActivityStreamsFollowing() vocab.ActivityStreamsFollowingProperty
- func (this ActivityStreamsService) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsService) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsService) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsService) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsService) GetActivityStreamsInbox() vocab.ActivityStreamsInboxProperty
- func (this ActivityStreamsService) GetActivityStreamsLiked() vocab.ActivityStreamsLikedProperty
- func (this ActivityStreamsService) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsService) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsService) GetActivityStreamsManuallyApprovesFollowers() vocab.ActivityStreamsManuallyApprovesFollowersProperty
- func (this ActivityStreamsService) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsService) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsService) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsService) GetActivityStreamsOutbox() vocab.ActivityStreamsOutboxProperty
- func (this ActivityStreamsService) GetActivityStreamsPreferredUsername() vocab.ActivityStreamsPreferredUsernameProperty
- func (this ActivityStreamsService) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsService) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsService) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsService) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
- func (this ActivityStreamsService) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsService) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsService) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsService) GetActivityStreamsStreams() vocab.ActivityStreamsStreamsProperty
- func (this ActivityStreamsService) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsService) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsService) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsService) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsService) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsService) GetForgeFedTeam() vocab.ForgeFedTeamProperty
- func (this ActivityStreamsService) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
- func (this ActivityStreamsService) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
- func (this ActivityStreamsService) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsService) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsService) GetTootDiscoverable() vocab.TootDiscoverableProperty
- func (this ActivityStreamsService) GetTootFeatured() vocab.TootFeaturedProperty
- func (this ActivityStreamsService) GetTypeName() string
- func (this ActivityStreamsService) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsService) GetW3IDSecurityV1PublicKey() vocab.W3IDSecurityV1PublicKeyProperty
- func (this ActivityStreamsService) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsService) JSONLDContext() map[string]string
- func (this ActivityStreamsService) LessThan(o vocab.ActivityStreamsService) bool
- func (this ActivityStreamsService) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsService) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsService) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsService) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsService) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsService) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsService) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsService) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsService) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsService) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsService) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsService) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsService) SetActivityStreamsEndpoints(i vocab.ActivityStreamsEndpointsProperty)
- func (this *ActivityStreamsService) SetActivityStreamsFollowers(i vocab.ActivityStreamsFollowersProperty)
- func (this *ActivityStreamsService) SetActivityStreamsFollowing(i vocab.ActivityStreamsFollowingProperty)
- func (this *ActivityStreamsService) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsService) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsService) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsService) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsService) SetActivityStreamsInbox(i vocab.ActivityStreamsInboxProperty)
- func (this *ActivityStreamsService) SetActivityStreamsLiked(i vocab.ActivityStreamsLikedProperty)
- func (this *ActivityStreamsService) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsService) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsService) SetActivityStreamsManuallyApprovesFollowers(i vocab.ActivityStreamsManuallyApprovesFollowersProperty)
- func (this *ActivityStreamsService) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsService) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsService) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsService) SetActivityStreamsOutbox(i vocab.ActivityStreamsOutboxProperty)
- func (this *ActivityStreamsService) SetActivityStreamsPreferredUsername(i vocab.ActivityStreamsPreferredUsernameProperty)
- func (this *ActivityStreamsService) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsService) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsService) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsService) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
- func (this *ActivityStreamsService) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsService) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsService) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsService) SetActivityStreamsStreams(i vocab.ActivityStreamsStreamsProperty)
- func (this *ActivityStreamsService) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsService) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsService) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsService) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsService) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsService) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
- func (this *ActivityStreamsService) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
- func (this *ActivityStreamsService) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
- func (this *ActivityStreamsService) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsService) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this *ActivityStreamsService) SetTootDiscoverable(i vocab.TootDiscoverableProperty)
- func (this *ActivityStreamsService) SetTootFeatured(i vocab.TootFeaturedProperty)
- func (this *ActivityStreamsService) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty)
- func (this ActivityStreamsService) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsServiceExtends ¶
ActivityStreamsServiceExtends returns true if the Service type extends from the other type.
func IsOrExtendsService ¶
IsOrExtendsService returns true if the other provided type is the Service type or extends from the Service type.
func ServiceIsDisjointWith ¶
ServiceIsDisjointWith returns true if the other provided type is disjoint with the Service type.
func ServiceIsExtendedBy ¶
ServiceIsExtendedBy returns true if the other provided type extends from the Service type. Note that it returns false if the types are the same; see the "IsOrExtendsService" 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 ActivityStreamsService ¶
type ActivityStreamsService 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 TootDiscoverable vocab.TootDiscoverableProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty ActivityStreamsEndpoints vocab.ActivityStreamsEndpointsProperty TootFeatured vocab.TootFeaturedProperty ActivityStreamsFollowers vocab.ActivityStreamsFollowersProperty ActivityStreamsFollowing vocab.ActivityStreamsFollowingProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInbox vocab.ActivityStreamsInboxProperty ActivityStreamsLiked vocab.ActivityStreamsLikedProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty ActivityStreamsManuallyApprovesFollowers vocab.ActivityStreamsManuallyApprovesFollowersProperty ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty ActivityStreamsName vocab.ActivityStreamsNameProperty ActivityStreamsObject vocab.ActivityStreamsObjectProperty ActivityStreamsOutbox vocab.ActivityStreamsOutboxProperty ActivityStreamsPreferredUsername vocab.ActivityStreamsPreferredUsernameProperty ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty W3IDSecurityV1PublicKey vocab.W3IDSecurityV1PublicKeyProperty ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty ActivityStreamsSource vocab.ActivityStreamsSourceProperty ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsStreams vocab.ActivityStreamsStreamsProperty 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 service of any kind.
Example 46 (https://www.w3.org/TR/activitystreams-vocabulary/#ex42-jsonld):
{ "name": "Acme Web Service", "type": "Service" }
func DeserializeService ¶
func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsService, error)
DeserializeService creates a Service from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsService ¶
func NewActivityStreamsService() *ActivityStreamsService
NewActivityStreamsService creates a new Service type
func (ActivityStreamsService) GetActivityStreamsAltitude ¶
func (this ActivityStreamsService) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsAttachment ¶
func (this ActivityStreamsService) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsService) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsAudience ¶
func (this ActivityStreamsService) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsBcc ¶
func (this ActivityStreamsService) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsBto ¶
func (this ActivityStreamsService) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsCc ¶
func (this ActivityStreamsService) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsContent ¶
func (this ActivityStreamsService) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsContext ¶
func (this ActivityStreamsService) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsDuration ¶
func (this ActivityStreamsService) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsEndTime ¶
func (this ActivityStreamsService) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsEndpoints ¶
func (this ActivityStreamsService) GetActivityStreamsEndpoints() vocab.ActivityStreamsEndpointsProperty
GetActivityStreamsEndpoints returns the "endpoints" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsFollowers ¶
func (this ActivityStreamsService) GetActivityStreamsFollowers() vocab.ActivityStreamsFollowersProperty
GetActivityStreamsFollowers returns the "followers" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsFollowing ¶
func (this ActivityStreamsService) GetActivityStreamsFollowing() vocab.ActivityStreamsFollowingProperty
GetActivityStreamsFollowing returns the "following" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsGenerator ¶
func (this ActivityStreamsService) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsIcon ¶
func (this ActivityStreamsService) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsImage ¶
func (this ActivityStreamsService) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsService) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsInbox ¶
func (this ActivityStreamsService) GetActivityStreamsInbox() vocab.ActivityStreamsInboxProperty
GetActivityStreamsInbox returns the "inbox" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsLiked ¶
func (this ActivityStreamsService) GetActivityStreamsLiked() vocab.ActivityStreamsLikedProperty
GetActivityStreamsLiked returns the "liked" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsLikes ¶
func (this ActivityStreamsService) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsLocation ¶
func (this ActivityStreamsService) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsManuallyApprovesFollowers ¶
func (this ActivityStreamsService) GetActivityStreamsManuallyApprovesFollowers() vocab.ActivityStreamsManuallyApprovesFollowersProperty
GetActivityStreamsManuallyApprovesFollowers returns the "manuallyApprovesFollowers" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsMediaType ¶
func (this ActivityStreamsService) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsName ¶
func (this ActivityStreamsService) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsObject ¶
func (this ActivityStreamsService) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsOutbox ¶
func (this ActivityStreamsService) GetActivityStreamsOutbox() vocab.ActivityStreamsOutboxProperty
GetActivityStreamsOutbox returns the "outbox" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsPreferredUsername ¶
func (this ActivityStreamsService) GetActivityStreamsPreferredUsername() vocab.ActivityStreamsPreferredUsernameProperty
GetActivityStreamsPreferredUsername returns the "preferredUsername" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsPreview ¶
func (this ActivityStreamsService) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsPublished ¶
func (this ActivityStreamsService) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsReplies ¶
func (this ActivityStreamsService) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsSensitive ¶
func (this ActivityStreamsService) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsShares ¶
func (this ActivityStreamsService) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsSource ¶
func (this ActivityStreamsService) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsStartTime ¶
func (this ActivityStreamsService) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsStreams ¶
func (this ActivityStreamsService) GetActivityStreamsStreams() vocab.ActivityStreamsStreamsProperty
GetActivityStreamsStreams returns the "streams" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsSummary ¶
func (this ActivityStreamsService) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsTag ¶
func (this ActivityStreamsService) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsTo ¶
func (this ActivityStreamsService) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsUpdated ¶
func (this ActivityStreamsService) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetActivityStreamsUrl ¶
func (this ActivityStreamsService) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetForgeFedTeam ¶
func (this ActivityStreamsService) GetForgeFedTeam() vocab.ForgeFedTeamProperty
GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetForgeFedTicketsTrackedBy ¶
func (this ActivityStreamsService) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetForgeFedTracksTicketsFor ¶
func (this ActivityStreamsService) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetJSONLDId ¶
func (this ActivityStreamsService) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetJSONLDType ¶
func (this ActivityStreamsService) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetTootDiscoverable ¶
func (this ActivityStreamsService) GetTootDiscoverable() vocab.TootDiscoverableProperty
GetTootDiscoverable returns the "discoverable" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetTootFeatured ¶
func (this ActivityStreamsService) GetTootFeatured() vocab.TootFeaturedProperty
GetTootFeatured returns the "featured" property if it exists, and nil otherwise.
func (ActivityStreamsService) GetTypeName ¶
func (this ActivityStreamsService) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsService) GetUnknownProperties ¶
func (this ActivityStreamsService) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Service 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 (ActivityStreamsService) GetW3IDSecurityV1PublicKey ¶
func (this ActivityStreamsService) GetW3IDSecurityV1PublicKey() vocab.W3IDSecurityV1PublicKeyProperty
GetW3IDSecurityV1PublicKey returns the "publicKey" property if it exists, and nil otherwise.
func (ActivityStreamsService) IsExtending ¶
func (this ActivityStreamsService) IsExtending(other vocab.Type) bool
IsExtending returns true if the Service type extends from the other type.
func (ActivityStreamsService) JSONLDContext ¶
func (this ActivityStreamsService) 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 (ActivityStreamsService) LessThan ¶
func (this ActivityStreamsService) LessThan(o vocab.ActivityStreamsService) bool
LessThan computes if this Service is lesser, with an arbitrary but stable determination.
func (ActivityStreamsService) Serialize ¶
func (this ActivityStreamsService) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsService) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsService) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsService) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsService) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsService) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsService) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsService) SetActivityStreamsAudience ¶
func (this *ActivityStreamsService) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsService) SetActivityStreamsBcc ¶
func (this *ActivityStreamsService) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsService) SetActivityStreamsBto ¶
func (this *ActivityStreamsService) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsService) SetActivityStreamsCc ¶
func (this *ActivityStreamsService) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsService) SetActivityStreamsContent ¶
func (this *ActivityStreamsService) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsService) SetActivityStreamsContext ¶
func (this *ActivityStreamsService) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsService) SetActivityStreamsDuration ¶
func (this *ActivityStreamsService) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsService) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsService) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsService) SetActivityStreamsEndpoints ¶
func (this *ActivityStreamsService) SetActivityStreamsEndpoints(i vocab.ActivityStreamsEndpointsProperty)
SetActivityStreamsEndpoints sets the "endpoints" property.
func (*ActivityStreamsService) SetActivityStreamsFollowers ¶
func (this *ActivityStreamsService) SetActivityStreamsFollowers(i vocab.ActivityStreamsFollowersProperty)
SetActivityStreamsFollowers sets the "followers" property.
func (*ActivityStreamsService) SetActivityStreamsFollowing ¶
func (this *ActivityStreamsService) SetActivityStreamsFollowing(i vocab.ActivityStreamsFollowingProperty)
SetActivityStreamsFollowing sets the "following" property.
func (*ActivityStreamsService) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsService) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsService) SetActivityStreamsIcon ¶
func (this *ActivityStreamsService) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsService) SetActivityStreamsImage ¶
func (this *ActivityStreamsService) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsService) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsService) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsService) SetActivityStreamsInbox ¶
func (this *ActivityStreamsService) SetActivityStreamsInbox(i vocab.ActivityStreamsInboxProperty)
SetActivityStreamsInbox sets the "inbox" property.
func (*ActivityStreamsService) SetActivityStreamsLiked ¶
func (this *ActivityStreamsService) SetActivityStreamsLiked(i vocab.ActivityStreamsLikedProperty)
SetActivityStreamsLiked sets the "liked" property.
func (*ActivityStreamsService) SetActivityStreamsLikes ¶
func (this *ActivityStreamsService) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsService) SetActivityStreamsLocation ¶
func (this *ActivityStreamsService) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsService) SetActivityStreamsManuallyApprovesFollowers ¶
func (this *ActivityStreamsService) SetActivityStreamsManuallyApprovesFollowers(i vocab.ActivityStreamsManuallyApprovesFollowersProperty)
SetActivityStreamsManuallyApprovesFollowers sets the "manuallyApprovesFollowers" property.
func (*ActivityStreamsService) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsService) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsService) SetActivityStreamsName ¶
func (this *ActivityStreamsService) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsService) SetActivityStreamsObject ¶
func (this *ActivityStreamsService) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsService) SetActivityStreamsOutbox ¶
func (this *ActivityStreamsService) SetActivityStreamsOutbox(i vocab.ActivityStreamsOutboxProperty)
SetActivityStreamsOutbox sets the "outbox" property.
func (*ActivityStreamsService) SetActivityStreamsPreferredUsername ¶
func (this *ActivityStreamsService) SetActivityStreamsPreferredUsername(i vocab.ActivityStreamsPreferredUsernameProperty)
SetActivityStreamsPreferredUsername sets the "preferredUsername" property.
func (*ActivityStreamsService) SetActivityStreamsPreview ¶
func (this *ActivityStreamsService) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsService) SetActivityStreamsPublished ¶
func (this *ActivityStreamsService) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsService) SetActivityStreamsReplies ¶
func (this *ActivityStreamsService) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsService) SetActivityStreamsSensitive ¶
func (this *ActivityStreamsService) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
SetActivityStreamsSensitive sets the "sensitive" property.
func (*ActivityStreamsService) SetActivityStreamsShares ¶
func (this *ActivityStreamsService) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsService) SetActivityStreamsSource ¶
func (this *ActivityStreamsService) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsService) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsService) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsService) SetActivityStreamsStreams ¶
func (this *ActivityStreamsService) SetActivityStreamsStreams(i vocab.ActivityStreamsStreamsProperty)
SetActivityStreamsStreams sets the "streams" property.
func (*ActivityStreamsService) SetActivityStreamsSummary ¶
func (this *ActivityStreamsService) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsService) SetActivityStreamsTag ¶
func (this *ActivityStreamsService) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsService) SetActivityStreamsTo ¶
func (this *ActivityStreamsService) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsService) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsService) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsService) SetActivityStreamsUrl ¶
func (this *ActivityStreamsService) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsService) SetForgeFedTeam ¶
func (this *ActivityStreamsService) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
SetForgeFedTeam sets the "team" property.
func (*ActivityStreamsService) SetForgeFedTicketsTrackedBy ¶
func (this *ActivityStreamsService) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (*ActivityStreamsService) SetForgeFedTracksTicketsFor ¶
func (this *ActivityStreamsService) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (*ActivityStreamsService) SetJSONLDId ¶
func (this *ActivityStreamsService) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsService) SetJSONLDType ¶
func (this *ActivityStreamsService) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (*ActivityStreamsService) SetTootDiscoverable ¶
func (this *ActivityStreamsService) SetTootDiscoverable(i vocab.TootDiscoverableProperty)
SetTootDiscoverable sets the "discoverable" property.
func (*ActivityStreamsService) SetTootFeatured ¶
func (this *ActivityStreamsService) SetTootFeatured(i vocab.TootFeaturedProperty)
SetTootFeatured sets the "featured" property.
func (*ActivityStreamsService) SetW3IDSecurityV1PublicKey ¶
func (this *ActivityStreamsService) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty)
SetW3IDSecurityV1PublicKey sets the "publicKey" property.
func (ActivityStreamsService) VocabularyURI ¶
func (this ActivityStreamsService) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.