Documentation ¶
Overview ¶
Package typeperson contains the implementation for the Person 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 ActivityStreamsPersonExtends(other vocab.Type) bool
- func IsOrExtendsPerson(other vocab.Type) bool
- func PersonIsDisjointWith(other vocab.Type) bool
- func PersonIsExtendedBy(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsPerson
- func (this ActivityStreamsPerson) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsPerson) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsPerson) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsPerson) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsPerson) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsPerson) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsPerson) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsPerson) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsPerson) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsPerson) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsPerson) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsPerson) GetActivityStreamsEndpoints() vocab.ActivityStreamsEndpointsProperty
- func (this ActivityStreamsPerson) GetActivityStreamsFollowers() vocab.ActivityStreamsFollowersProperty
- func (this ActivityStreamsPerson) GetActivityStreamsFollowing() vocab.ActivityStreamsFollowingProperty
- func (this ActivityStreamsPerson) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsPerson) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsPerson) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsPerson) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsPerson) GetActivityStreamsInbox() vocab.ActivityStreamsInboxProperty
- func (this ActivityStreamsPerson) GetActivityStreamsLiked() vocab.ActivityStreamsLikedProperty
- func (this ActivityStreamsPerson) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsPerson) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsPerson) GetActivityStreamsManuallyApprovesFollowers() vocab.ActivityStreamsManuallyApprovesFollowersProperty
- func (this ActivityStreamsPerson) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsPerson) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsPerson) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsPerson) GetActivityStreamsOutbox() vocab.ActivityStreamsOutboxProperty
- func (this ActivityStreamsPerson) GetActivityStreamsPreferredUsername() vocab.ActivityStreamsPreferredUsernameProperty
- func (this ActivityStreamsPerson) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsPerson) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsPerson) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsPerson) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
- func (this ActivityStreamsPerson) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsPerson) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsPerson) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsPerson) GetActivityStreamsStreams() vocab.ActivityStreamsStreamsProperty
- func (this ActivityStreamsPerson) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsPerson) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsPerson) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsPerson) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsPerson) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsPerson) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsPerson) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsPerson) GetTootDiscoverable() vocab.TootDiscoverableProperty
- func (this ActivityStreamsPerson) GetTootFeatured() vocab.TootFeaturedProperty
- func (this ActivityStreamsPerson) GetTypeName() string
- func (this ActivityStreamsPerson) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsPerson) GetW3IDSecurityV1PublicKey() vocab.W3IDSecurityV1PublicKeyProperty
- func (this ActivityStreamsPerson) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsPerson) JSONLDContext() map[string]string
- func (this ActivityStreamsPerson) LessThan(o vocab.ActivityStreamsPerson) bool
- func (this ActivityStreamsPerson) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsPerson) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsEndpoints(i vocab.ActivityStreamsEndpointsProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsFollowers(i vocab.ActivityStreamsFollowersProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsFollowing(i vocab.ActivityStreamsFollowingProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsInbox(i vocab.ActivityStreamsInboxProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsLiked(i vocab.ActivityStreamsLikedProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsManuallyApprovesFollowers(i vocab.ActivityStreamsManuallyApprovesFollowersProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsOutbox(i vocab.ActivityStreamsOutboxProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsPreferredUsername(i vocab.ActivityStreamsPreferredUsernameProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsStreams(i vocab.ActivityStreamsStreamsProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsPerson) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsPerson) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsPerson) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this *ActivityStreamsPerson) SetTootDiscoverable(i vocab.TootDiscoverableProperty)
- func (this *ActivityStreamsPerson) SetTootFeatured(i vocab.TootFeaturedProperty)
- func (this *ActivityStreamsPerson) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty)
- func (this ActivityStreamsPerson) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsPersonExtends ¶
ActivityStreamsPersonExtends returns true if the Person type extends from the other type.
func IsOrExtendsPerson ¶
IsOrExtendsPerson returns true if the other provided type is the Person type or extends from the Person type.
func PersonIsDisjointWith ¶
PersonIsDisjointWith returns true if the other provided type is disjoint with the Person type.
func PersonIsExtendedBy ¶
PersonIsExtendedBy returns true if the other provided type extends from the Person type. Note that it returns false if the types are the same; see the "IsOrExtendsPerson" 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 ActivityStreamsPerson ¶
type ActivityStreamsPerson 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 ActivityStreamsTo vocab.ActivityStreamsToProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty // contains filtered or unexported fields }
Represents an individual person.
Example 45 (https://www.w3.org/TR/activitystreams-vocabulary/#ex39-jsonld):
{ "name": "Sally Smith", "type": "Person" }
func DeserializePerson ¶
func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsPerson, error)
DeserializePerson creates a Person from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsPerson ¶
func NewActivityStreamsPerson() *ActivityStreamsPerson
NewActivityStreamsPerson creates a new Person type
func (ActivityStreamsPerson) GetActivityStreamsAltitude ¶
func (this ActivityStreamsPerson) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsAttachment ¶
func (this ActivityStreamsPerson) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsPerson) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsAudience ¶
func (this ActivityStreamsPerson) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsBcc ¶
func (this ActivityStreamsPerson) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsBto ¶
func (this ActivityStreamsPerson) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsCc ¶
func (this ActivityStreamsPerson) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsContent ¶
func (this ActivityStreamsPerson) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsContext ¶
func (this ActivityStreamsPerson) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsDuration ¶
func (this ActivityStreamsPerson) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsEndTime ¶
func (this ActivityStreamsPerson) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsEndpoints ¶
func (this ActivityStreamsPerson) GetActivityStreamsEndpoints() vocab.ActivityStreamsEndpointsProperty
GetActivityStreamsEndpoints returns the "endpoints" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsFollowers ¶
func (this ActivityStreamsPerson) GetActivityStreamsFollowers() vocab.ActivityStreamsFollowersProperty
GetActivityStreamsFollowers returns the "followers" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsFollowing ¶
func (this ActivityStreamsPerson) GetActivityStreamsFollowing() vocab.ActivityStreamsFollowingProperty
GetActivityStreamsFollowing returns the "following" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsGenerator ¶
func (this ActivityStreamsPerson) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsIcon ¶
func (this ActivityStreamsPerson) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsImage ¶
func (this ActivityStreamsPerson) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsPerson) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsInbox ¶
func (this ActivityStreamsPerson) GetActivityStreamsInbox() vocab.ActivityStreamsInboxProperty
GetActivityStreamsInbox returns the "inbox" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsLiked ¶
func (this ActivityStreamsPerson) GetActivityStreamsLiked() vocab.ActivityStreamsLikedProperty
GetActivityStreamsLiked returns the "liked" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsLikes ¶
func (this ActivityStreamsPerson) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsLocation ¶
func (this ActivityStreamsPerson) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsManuallyApprovesFollowers ¶
func (this ActivityStreamsPerson) GetActivityStreamsManuallyApprovesFollowers() vocab.ActivityStreamsManuallyApprovesFollowersProperty
GetActivityStreamsManuallyApprovesFollowers returns the "manuallyApprovesFollowers" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsMediaType ¶
func (this ActivityStreamsPerson) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsName ¶
func (this ActivityStreamsPerson) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsObject ¶
func (this ActivityStreamsPerson) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsOutbox ¶
func (this ActivityStreamsPerson) GetActivityStreamsOutbox() vocab.ActivityStreamsOutboxProperty
GetActivityStreamsOutbox returns the "outbox" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsPreferredUsername ¶
func (this ActivityStreamsPerson) GetActivityStreamsPreferredUsername() vocab.ActivityStreamsPreferredUsernameProperty
GetActivityStreamsPreferredUsername returns the "preferredUsername" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsPreview ¶
func (this ActivityStreamsPerson) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsPublished ¶
func (this ActivityStreamsPerson) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsReplies ¶
func (this ActivityStreamsPerson) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsSensitive ¶
func (this ActivityStreamsPerson) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsShares ¶
func (this ActivityStreamsPerson) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsSource ¶
func (this ActivityStreamsPerson) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsStartTime ¶
func (this ActivityStreamsPerson) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsStreams ¶
func (this ActivityStreamsPerson) GetActivityStreamsStreams() vocab.ActivityStreamsStreamsProperty
GetActivityStreamsStreams returns the "streams" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsSummary ¶
func (this ActivityStreamsPerson) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsTag ¶
func (this ActivityStreamsPerson) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsTo ¶
func (this ActivityStreamsPerson) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsUpdated ¶
func (this ActivityStreamsPerson) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetActivityStreamsUrl ¶
func (this ActivityStreamsPerson) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetJSONLDId ¶
func (this ActivityStreamsPerson) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetJSONLDType ¶
func (this ActivityStreamsPerson) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetTootDiscoverable ¶
func (this ActivityStreamsPerson) GetTootDiscoverable() vocab.TootDiscoverableProperty
GetTootDiscoverable returns the "discoverable" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetTootFeatured ¶
func (this ActivityStreamsPerson) GetTootFeatured() vocab.TootFeaturedProperty
GetTootFeatured returns the "featured" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) GetTypeName ¶
func (this ActivityStreamsPerson) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsPerson) GetUnknownProperties ¶
func (this ActivityStreamsPerson) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Person 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 (ActivityStreamsPerson) GetW3IDSecurityV1PublicKey ¶
func (this ActivityStreamsPerson) GetW3IDSecurityV1PublicKey() vocab.W3IDSecurityV1PublicKeyProperty
GetW3IDSecurityV1PublicKey returns the "publicKey" property if it exists, and nil otherwise.
func (ActivityStreamsPerson) IsExtending ¶
func (this ActivityStreamsPerson) IsExtending(other vocab.Type) bool
IsExtending returns true if the Person type extends from the other type.
func (ActivityStreamsPerson) JSONLDContext ¶
func (this ActivityStreamsPerson) 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 (ActivityStreamsPerson) LessThan ¶
func (this ActivityStreamsPerson) LessThan(o vocab.ActivityStreamsPerson) bool
LessThan computes if this Person is lesser, with an arbitrary but stable determination.
func (ActivityStreamsPerson) Serialize ¶
func (this ActivityStreamsPerson) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsPerson) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsPerson) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsPerson) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsPerson) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsPerson) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsPerson) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsPerson) SetActivityStreamsAudience ¶
func (this *ActivityStreamsPerson) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsPerson) SetActivityStreamsBcc ¶
func (this *ActivityStreamsPerson) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsPerson) SetActivityStreamsBto ¶
func (this *ActivityStreamsPerson) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsPerson) SetActivityStreamsCc ¶
func (this *ActivityStreamsPerson) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsPerson) SetActivityStreamsContent ¶
func (this *ActivityStreamsPerson) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsPerson) SetActivityStreamsContext ¶
func (this *ActivityStreamsPerson) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsPerson) SetActivityStreamsDuration ¶
func (this *ActivityStreamsPerson) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsPerson) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsPerson) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsPerson) SetActivityStreamsEndpoints ¶
func (this *ActivityStreamsPerson) SetActivityStreamsEndpoints(i vocab.ActivityStreamsEndpointsProperty)
SetActivityStreamsEndpoints sets the "endpoints" property.
func (*ActivityStreamsPerson) SetActivityStreamsFollowers ¶
func (this *ActivityStreamsPerson) SetActivityStreamsFollowers(i vocab.ActivityStreamsFollowersProperty)
SetActivityStreamsFollowers sets the "followers" property.
func (*ActivityStreamsPerson) SetActivityStreamsFollowing ¶
func (this *ActivityStreamsPerson) SetActivityStreamsFollowing(i vocab.ActivityStreamsFollowingProperty)
SetActivityStreamsFollowing sets the "following" property.
func (*ActivityStreamsPerson) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsPerson) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsPerson) SetActivityStreamsIcon ¶
func (this *ActivityStreamsPerson) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsPerson) SetActivityStreamsImage ¶
func (this *ActivityStreamsPerson) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsPerson) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsPerson) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsPerson) SetActivityStreamsInbox ¶
func (this *ActivityStreamsPerson) SetActivityStreamsInbox(i vocab.ActivityStreamsInboxProperty)
SetActivityStreamsInbox sets the "inbox" property.
func (*ActivityStreamsPerson) SetActivityStreamsLiked ¶
func (this *ActivityStreamsPerson) SetActivityStreamsLiked(i vocab.ActivityStreamsLikedProperty)
SetActivityStreamsLiked sets the "liked" property.
func (*ActivityStreamsPerson) SetActivityStreamsLikes ¶
func (this *ActivityStreamsPerson) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsPerson) SetActivityStreamsLocation ¶
func (this *ActivityStreamsPerson) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsPerson) SetActivityStreamsManuallyApprovesFollowers ¶
func (this *ActivityStreamsPerson) SetActivityStreamsManuallyApprovesFollowers(i vocab.ActivityStreamsManuallyApprovesFollowersProperty)
SetActivityStreamsManuallyApprovesFollowers sets the "manuallyApprovesFollowers" property.
func (*ActivityStreamsPerson) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsPerson) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsPerson) SetActivityStreamsName ¶
func (this *ActivityStreamsPerson) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsPerson) SetActivityStreamsObject ¶
func (this *ActivityStreamsPerson) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsPerson) SetActivityStreamsOutbox ¶
func (this *ActivityStreamsPerson) SetActivityStreamsOutbox(i vocab.ActivityStreamsOutboxProperty)
SetActivityStreamsOutbox sets the "outbox" property.
func (*ActivityStreamsPerson) SetActivityStreamsPreferredUsername ¶
func (this *ActivityStreamsPerson) SetActivityStreamsPreferredUsername(i vocab.ActivityStreamsPreferredUsernameProperty)
SetActivityStreamsPreferredUsername sets the "preferredUsername" property.
func (*ActivityStreamsPerson) SetActivityStreamsPreview ¶
func (this *ActivityStreamsPerson) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsPerson) SetActivityStreamsPublished ¶
func (this *ActivityStreamsPerson) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsPerson) SetActivityStreamsReplies ¶
func (this *ActivityStreamsPerson) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsPerson) SetActivityStreamsSensitive ¶
func (this *ActivityStreamsPerson) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
SetActivityStreamsSensitive sets the "sensitive" property.
func (*ActivityStreamsPerson) SetActivityStreamsShares ¶
func (this *ActivityStreamsPerson) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsPerson) SetActivityStreamsSource ¶
func (this *ActivityStreamsPerson) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsPerson) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsPerson) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsPerson) SetActivityStreamsStreams ¶
func (this *ActivityStreamsPerson) SetActivityStreamsStreams(i vocab.ActivityStreamsStreamsProperty)
SetActivityStreamsStreams sets the "streams" property.
func (*ActivityStreamsPerson) SetActivityStreamsSummary ¶
func (this *ActivityStreamsPerson) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsPerson) SetActivityStreamsTag ¶
func (this *ActivityStreamsPerson) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsPerson) SetActivityStreamsTo ¶
func (this *ActivityStreamsPerson) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsPerson) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsPerson) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsPerson) SetActivityStreamsUrl ¶
func (this *ActivityStreamsPerson) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsPerson) SetJSONLDId ¶
func (this *ActivityStreamsPerson) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsPerson) SetJSONLDType ¶
func (this *ActivityStreamsPerson) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (*ActivityStreamsPerson) SetTootDiscoverable ¶
func (this *ActivityStreamsPerson) SetTootDiscoverable(i vocab.TootDiscoverableProperty)
SetTootDiscoverable sets the "discoverable" property.
func (*ActivityStreamsPerson) SetTootFeatured ¶
func (this *ActivityStreamsPerson) SetTootFeatured(i vocab.TootFeaturedProperty)
SetTootFeatured sets the "featured" property.
func (*ActivityStreamsPerson) SetW3IDSecurityV1PublicKey ¶
func (this *ActivityStreamsPerson) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty)
SetW3IDSecurityV1PublicKey sets the "publicKey" property.
func (ActivityStreamsPerson) VocabularyURI ¶
func (this ActivityStreamsPerson) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.