Documentation ¶
Overview ¶
Package typeprofile contains the implementation for the Profile 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 ActivityStreamsProfileExtends(other vocab.Type) bool
- func IsOrExtendsProfile(other vocab.Type) bool
- func ProfileIsDisjointWith(other vocab.Type) bool
- func ProfileIsExtendedBy(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsProfile
- func (this ActivityStreamsProfile) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsProfile) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsProfile) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsProfile) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsProfile) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsProfile) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsProfile) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsProfile) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsProfile) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsProfile) GetActivityStreamsDescribes() vocab.ActivityStreamsDescribesProperty
- func (this ActivityStreamsProfile) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsProfile) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsProfile) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsProfile) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsProfile) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsProfile) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsProfile) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsProfile) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsProfile) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsProfile) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsProfile) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsProfile) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsProfile) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsProfile) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsProfile) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
- func (this ActivityStreamsProfile) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsProfile) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsProfile) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsProfile) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsProfile) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsProfile) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsProfile) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsProfile) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsProfile) GetGoToSocialApprovedBy() vocab.GoToSocialApprovedByProperty
- func (this ActivityStreamsProfile) GetGoToSocialInteractionPolicy() vocab.GoToSocialInteractionPolicyProperty
- func (this ActivityStreamsProfile) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsProfile) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsProfile) GetTypeName() string
- func (this ActivityStreamsProfile) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsProfile) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsProfile) JSONLDContext() map[string]string
- func (this ActivityStreamsProfile) LessThan(o vocab.ActivityStreamsProfile) bool
- func (this ActivityStreamsProfile) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsProfile) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsDescribes(i vocab.ActivityStreamsDescribesProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsProfile) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsProfile) SetGoToSocialApprovedBy(i vocab.GoToSocialApprovedByProperty)
- func (this *ActivityStreamsProfile) SetGoToSocialInteractionPolicy(i vocab.GoToSocialInteractionPolicyProperty)
- func (this *ActivityStreamsProfile) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsProfile) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this ActivityStreamsProfile) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsProfileExtends ¶
ActivityStreamsProfileExtends returns true if the Profile type extends from the other type.
func IsOrExtendsProfile ¶
IsOrExtendsProfile returns true if the other provided type is the Profile type or extends from the Profile type.
func ProfileIsDisjointWith ¶
ProfileIsDisjointWith returns true if the other provided type is disjoint with the Profile type.
func ProfileIsExtendedBy ¶
ProfileIsExtendedBy returns true if the other provided type extends from the Profile type. Note that it returns false if the types are the same; see the "IsOrExtendsProfile" 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 ActivityStreamsProfile ¶
type ActivityStreamsProfile struct { ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty GoToSocialApprovedBy vocab.GoToSocialApprovedByProperty ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty ActivityStreamsBcc vocab.ActivityStreamsBccProperty ActivityStreamsBto vocab.ActivityStreamsBtoProperty ActivityStreamsCc vocab.ActivityStreamsCcProperty ActivityStreamsContent vocab.ActivityStreamsContentProperty ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDescribes vocab.ActivityStreamsDescribesProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty GoToSocialInteractionPolicy vocab.GoToSocialInteractionPolicyProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty ActivityStreamsName vocab.ActivityStreamsNameProperty ActivityStreamsObject vocab.ActivityStreamsObjectProperty ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty ActivityStreamsSource vocab.ActivityStreamsSourceProperty ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTo vocab.ActivityStreamsToProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty // contains filtered or unexported fields }
A Profile is a content object that describes another Object, typically used to describe Actor Type objects. The describes property is used to reference the object being described by the profile.
Example 59 (https://www.w3.org/TR/activitystreams-vocabulary/#ex184a-jsonld):
{ "describes": { "name": "Sally Smith", "type": "Person" }, "summary": "Sally's Profile", "type": "Profile" }
func DeserializeProfile ¶
func DeserializeProfile(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsProfile, error)
DeserializeProfile creates a Profile from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsProfile ¶
func NewActivityStreamsProfile() *ActivityStreamsProfile
NewActivityStreamsProfile creates a new Profile type
func (ActivityStreamsProfile) GetActivityStreamsAltitude ¶
func (this ActivityStreamsProfile) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsAttachment ¶
func (this ActivityStreamsProfile) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsProfile) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsAudience ¶
func (this ActivityStreamsProfile) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsBcc ¶
func (this ActivityStreamsProfile) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsBto ¶
func (this ActivityStreamsProfile) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsCc ¶
func (this ActivityStreamsProfile) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsContent ¶
func (this ActivityStreamsProfile) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsContext ¶
func (this ActivityStreamsProfile) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsDescribes ¶
func (this ActivityStreamsProfile) GetActivityStreamsDescribes() vocab.ActivityStreamsDescribesProperty
GetActivityStreamsDescribes returns the "describes" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsDuration ¶
func (this ActivityStreamsProfile) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsEndTime ¶
func (this ActivityStreamsProfile) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsGenerator ¶
func (this ActivityStreamsProfile) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsIcon ¶
func (this ActivityStreamsProfile) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsImage ¶
func (this ActivityStreamsProfile) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsProfile) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsLikes ¶
func (this ActivityStreamsProfile) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsLocation ¶
func (this ActivityStreamsProfile) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsMediaType ¶
func (this ActivityStreamsProfile) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsName ¶
func (this ActivityStreamsProfile) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsObject ¶
func (this ActivityStreamsProfile) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsPreview ¶
func (this ActivityStreamsProfile) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsPublished ¶
func (this ActivityStreamsProfile) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsReplies ¶
func (this ActivityStreamsProfile) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsSensitive ¶
func (this ActivityStreamsProfile) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsShares ¶
func (this ActivityStreamsProfile) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsSource ¶
func (this ActivityStreamsProfile) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsStartTime ¶
func (this ActivityStreamsProfile) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsSummary ¶
func (this ActivityStreamsProfile) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsTag ¶
func (this ActivityStreamsProfile) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsTo ¶
func (this ActivityStreamsProfile) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsUpdated ¶
func (this ActivityStreamsProfile) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetActivityStreamsUrl ¶
func (this ActivityStreamsProfile) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetGoToSocialApprovedBy ¶
func (this ActivityStreamsProfile) GetGoToSocialApprovedBy() vocab.GoToSocialApprovedByProperty
GetGoToSocialApprovedBy returns the "approvedBy" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetGoToSocialInteractionPolicy ¶
func (this ActivityStreamsProfile) GetGoToSocialInteractionPolicy() vocab.GoToSocialInteractionPolicyProperty
GetGoToSocialInteractionPolicy returns the "interactionPolicy" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetJSONLDId ¶
func (this ActivityStreamsProfile) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetJSONLDType ¶
func (this ActivityStreamsProfile) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsProfile) GetTypeName ¶
func (this ActivityStreamsProfile) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsProfile) GetUnknownProperties ¶
func (this ActivityStreamsProfile) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Profile 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 (ActivityStreamsProfile) IsExtending ¶
func (this ActivityStreamsProfile) IsExtending(other vocab.Type) bool
IsExtending returns true if the Profile type extends from the other type.
func (ActivityStreamsProfile) JSONLDContext ¶
func (this ActivityStreamsProfile) 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 (ActivityStreamsProfile) LessThan ¶
func (this ActivityStreamsProfile) LessThan(o vocab.ActivityStreamsProfile) bool
LessThan computes if this Profile is lesser, with an arbitrary but stable determination.
func (ActivityStreamsProfile) Serialize ¶
func (this ActivityStreamsProfile) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsProfile) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsProfile) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsProfile) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsProfile) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsProfile) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsProfile) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsProfile) SetActivityStreamsAudience ¶
func (this *ActivityStreamsProfile) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsProfile) SetActivityStreamsBcc ¶
func (this *ActivityStreamsProfile) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsProfile) SetActivityStreamsBto ¶
func (this *ActivityStreamsProfile) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsProfile) SetActivityStreamsCc ¶
func (this *ActivityStreamsProfile) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsProfile) SetActivityStreamsContent ¶
func (this *ActivityStreamsProfile) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsProfile) SetActivityStreamsContext ¶
func (this *ActivityStreamsProfile) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsProfile) SetActivityStreamsDescribes ¶
func (this *ActivityStreamsProfile) SetActivityStreamsDescribes(i vocab.ActivityStreamsDescribesProperty)
SetActivityStreamsDescribes sets the "describes" property.
func (*ActivityStreamsProfile) SetActivityStreamsDuration ¶
func (this *ActivityStreamsProfile) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsProfile) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsProfile) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsProfile) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsProfile) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsProfile) SetActivityStreamsIcon ¶
func (this *ActivityStreamsProfile) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsProfile) SetActivityStreamsImage ¶
func (this *ActivityStreamsProfile) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsProfile) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsProfile) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsProfile) SetActivityStreamsLikes ¶
func (this *ActivityStreamsProfile) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsProfile) SetActivityStreamsLocation ¶
func (this *ActivityStreamsProfile) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsProfile) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsProfile) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsProfile) SetActivityStreamsName ¶
func (this *ActivityStreamsProfile) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsProfile) SetActivityStreamsObject ¶
func (this *ActivityStreamsProfile) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsProfile) SetActivityStreamsPreview ¶
func (this *ActivityStreamsProfile) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsProfile) SetActivityStreamsPublished ¶
func (this *ActivityStreamsProfile) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsProfile) SetActivityStreamsReplies ¶
func (this *ActivityStreamsProfile) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsProfile) SetActivityStreamsSensitive ¶
func (this *ActivityStreamsProfile) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
SetActivityStreamsSensitive sets the "sensitive" property.
func (*ActivityStreamsProfile) SetActivityStreamsShares ¶
func (this *ActivityStreamsProfile) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsProfile) SetActivityStreamsSource ¶
func (this *ActivityStreamsProfile) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsProfile) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsProfile) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsProfile) SetActivityStreamsSummary ¶
func (this *ActivityStreamsProfile) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsProfile) SetActivityStreamsTag ¶
func (this *ActivityStreamsProfile) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsProfile) SetActivityStreamsTo ¶
func (this *ActivityStreamsProfile) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsProfile) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsProfile) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsProfile) SetActivityStreamsUrl ¶
func (this *ActivityStreamsProfile) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsProfile) SetGoToSocialApprovedBy ¶
func (this *ActivityStreamsProfile) SetGoToSocialApprovedBy(i vocab.GoToSocialApprovedByProperty)
SetGoToSocialApprovedBy sets the "approvedBy" property.
func (*ActivityStreamsProfile) SetGoToSocialInteractionPolicy ¶
func (this *ActivityStreamsProfile) SetGoToSocialInteractionPolicy(i vocab.GoToSocialInteractionPolicyProperty)
SetGoToSocialInteractionPolicy sets the "interactionPolicy" property.
func (*ActivityStreamsProfile) SetJSONLDId ¶
func (this *ActivityStreamsProfile) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsProfile) SetJSONLDType ¶
func (this *ActivityStreamsProfile) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (ActivityStreamsProfile) VocabularyURI ¶
func (this ActivityStreamsProfile) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.