Documentation ¶
Overview ¶
Package typeplace contains the implementation for the Place 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 ActivityStreamsPlaceExtends(other vocab.Type) bool
- func IsOrExtendsPlace(other vocab.Type) bool
- func PlaceIsDisjointWith(other vocab.Type) bool
- func PlaceIsExtendedBy(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsPlace
- func (this ActivityStreamsPlace) GetActivityStreamsAccuracy() vocab.ActivityStreamsAccuracyProperty
- func (this ActivityStreamsPlace) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsPlace) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsPlace) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsPlace) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsPlace) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsPlace) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsPlace) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsPlace) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsPlace) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsPlace) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsPlace) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsPlace) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsPlace) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsPlace) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsPlace) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsPlace) GetActivityStreamsLatitude() vocab.ActivityStreamsLatitudeProperty
- func (this ActivityStreamsPlace) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsPlace) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsPlace) GetActivityStreamsLongitude() vocab.ActivityStreamsLongitudeProperty
- func (this ActivityStreamsPlace) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsPlace) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsPlace) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsPlace) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsPlace) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsPlace) GetActivityStreamsRadius() vocab.ActivityStreamsRadiusProperty
- func (this ActivityStreamsPlace) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsPlace) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
- func (this ActivityStreamsPlace) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsPlace) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsPlace) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsPlace) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsPlace) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsPlace) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsPlace) GetActivityStreamsUnits() vocab.ActivityStreamsUnitsProperty
- func (this ActivityStreamsPlace) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsPlace) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsPlace) GetForgeFedTeam() vocab.ForgeFedTeamProperty
- func (this ActivityStreamsPlace) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
- func (this ActivityStreamsPlace) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
- func (this ActivityStreamsPlace) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsPlace) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsPlace) GetTypeName() string
- func (this ActivityStreamsPlace) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsPlace) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsPlace) JSONLDContext() map[string]string
- func (this ActivityStreamsPlace) LessThan(o vocab.ActivityStreamsPlace) bool
- func (this ActivityStreamsPlace) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsPlace) SetActivityStreamsAccuracy(i vocab.ActivityStreamsAccuracyProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsLatitude(i vocab.ActivityStreamsLatitudeProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsLongitude(i vocab.ActivityStreamsLongitudeProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsRadius(i vocab.ActivityStreamsRadiusProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsUnits(i vocab.ActivityStreamsUnitsProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsPlace) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsPlace) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
- func (this *ActivityStreamsPlace) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
- func (this *ActivityStreamsPlace) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
- func (this *ActivityStreamsPlace) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsPlace) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this ActivityStreamsPlace) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsPlaceExtends ¶
ActivityStreamsPlaceExtends returns true if the Place type extends from the other type.
func IsOrExtendsPlace ¶
IsOrExtendsPlace returns true if the other provided type is the Place type or extends from the Place type.
func PlaceIsDisjointWith ¶
PlaceIsDisjointWith returns true if the other provided type is disjoint with the Place type.
func PlaceIsExtendedBy ¶
PlaceIsExtendedBy returns true if the other provided type extends from the Place type. Note that it returns false if the types are the same; see the "IsOrExtendsPlace" 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 ActivityStreamsPlace ¶
type ActivityStreamsPlace struct { ActivityStreamsAccuracy vocab.ActivityStreamsAccuracyProperty ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty ActivityStreamsBcc vocab.ActivityStreamsBccProperty ActivityStreamsBto vocab.ActivityStreamsBtoProperty ActivityStreamsCc vocab.ActivityStreamsCcProperty ActivityStreamsContent vocab.ActivityStreamsContentProperty ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsLatitude vocab.ActivityStreamsLatitudeProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty ActivityStreamsLongitude vocab.ActivityStreamsLongitudeProperty ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty ActivityStreamsName vocab.ActivityStreamsNameProperty ActivityStreamsObject vocab.ActivityStreamsObjectProperty ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty ActivityStreamsRadius vocab.ActivityStreamsRadiusProperty ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty ActivityStreamsSource vocab.ActivityStreamsSourceProperty ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ForgeFedTeam vocab.ForgeFedTeamProperty ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUnits vocab.ActivityStreamsUnitsProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty // contains filtered or unexported fields }
Represents a logical or physical location. See 5.3 Representing Places for additional information.
Example 56 (https://www.w3.org/TR/activitystreams-vocabulary/#ex57-jsonld):
{ "name": "Work", "type": "Place" }
Example 57 (https://www.w3.org/TR/activitystreams-vocabulary/#ex58-jsonld):
{ "latitude": 36.75, "longitude": 119.7667, "name": "Fresno Area", "radius": 15, "type": "Place", "units": "miles" }
func DeserializePlace ¶
func DeserializePlace(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsPlace, error)
DeserializePlace creates a Place from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsPlace ¶
func NewActivityStreamsPlace() *ActivityStreamsPlace
NewActivityStreamsPlace creates a new Place type
func (ActivityStreamsPlace) GetActivityStreamsAccuracy ¶
func (this ActivityStreamsPlace) GetActivityStreamsAccuracy() vocab.ActivityStreamsAccuracyProperty
GetActivityStreamsAccuracy returns the "accuracy" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsAltitude ¶
func (this ActivityStreamsPlace) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsAttachment ¶
func (this ActivityStreamsPlace) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsPlace) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsAudience ¶
func (this ActivityStreamsPlace) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsBcc ¶
func (this ActivityStreamsPlace) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsBto ¶
func (this ActivityStreamsPlace) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsCc ¶
func (this ActivityStreamsPlace) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsContent ¶
func (this ActivityStreamsPlace) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsContext ¶
func (this ActivityStreamsPlace) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsDuration ¶
func (this ActivityStreamsPlace) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsEndTime ¶
func (this ActivityStreamsPlace) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsGenerator ¶
func (this ActivityStreamsPlace) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsIcon ¶
func (this ActivityStreamsPlace) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsImage ¶
func (this ActivityStreamsPlace) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsPlace) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsLatitude ¶
func (this ActivityStreamsPlace) GetActivityStreamsLatitude() vocab.ActivityStreamsLatitudeProperty
GetActivityStreamsLatitude returns the "latitude" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsLikes ¶
func (this ActivityStreamsPlace) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsLocation ¶
func (this ActivityStreamsPlace) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsLongitude ¶
func (this ActivityStreamsPlace) GetActivityStreamsLongitude() vocab.ActivityStreamsLongitudeProperty
GetActivityStreamsLongitude returns the "longitude" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsMediaType ¶
func (this ActivityStreamsPlace) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsName ¶
func (this ActivityStreamsPlace) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsObject ¶
func (this ActivityStreamsPlace) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsPreview ¶
func (this ActivityStreamsPlace) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsPublished ¶
func (this ActivityStreamsPlace) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsRadius ¶
func (this ActivityStreamsPlace) GetActivityStreamsRadius() vocab.ActivityStreamsRadiusProperty
GetActivityStreamsRadius returns the "radius" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsReplies ¶
func (this ActivityStreamsPlace) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsSensitive ¶
func (this ActivityStreamsPlace) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsShares ¶
func (this ActivityStreamsPlace) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsSource ¶
func (this ActivityStreamsPlace) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsStartTime ¶
func (this ActivityStreamsPlace) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsSummary ¶
func (this ActivityStreamsPlace) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsTag ¶
func (this ActivityStreamsPlace) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsTo ¶
func (this ActivityStreamsPlace) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsUnits ¶
func (this ActivityStreamsPlace) GetActivityStreamsUnits() vocab.ActivityStreamsUnitsProperty
GetActivityStreamsUnits returns the "units" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsUpdated ¶
func (this ActivityStreamsPlace) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetActivityStreamsUrl ¶
func (this ActivityStreamsPlace) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetForgeFedTeam ¶
func (this ActivityStreamsPlace) GetForgeFedTeam() vocab.ForgeFedTeamProperty
GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetForgeFedTicketsTrackedBy ¶
func (this ActivityStreamsPlace) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetForgeFedTracksTicketsFor ¶
func (this ActivityStreamsPlace) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetJSONLDId ¶
func (this ActivityStreamsPlace) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetJSONLDType ¶
func (this ActivityStreamsPlace) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsPlace) GetTypeName ¶
func (this ActivityStreamsPlace) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsPlace) GetUnknownProperties ¶
func (this ActivityStreamsPlace) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Place 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 (ActivityStreamsPlace) IsExtending ¶
func (this ActivityStreamsPlace) IsExtending(other vocab.Type) bool
IsExtending returns true if the Place type extends from the other type.
func (ActivityStreamsPlace) JSONLDContext ¶
func (this ActivityStreamsPlace) 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 (ActivityStreamsPlace) LessThan ¶
func (this ActivityStreamsPlace) LessThan(o vocab.ActivityStreamsPlace) bool
LessThan computes if this Place is lesser, with an arbitrary but stable determination.
func (ActivityStreamsPlace) Serialize ¶
func (this ActivityStreamsPlace) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsPlace) SetActivityStreamsAccuracy ¶
func (this *ActivityStreamsPlace) SetActivityStreamsAccuracy(i vocab.ActivityStreamsAccuracyProperty)
SetActivityStreamsAccuracy sets the "accuracy" property.
func (*ActivityStreamsPlace) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsPlace) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsPlace) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsPlace) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsPlace) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsPlace) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsPlace) SetActivityStreamsAudience ¶
func (this *ActivityStreamsPlace) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsPlace) SetActivityStreamsBcc ¶
func (this *ActivityStreamsPlace) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsPlace) SetActivityStreamsBto ¶
func (this *ActivityStreamsPlace) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsPlace) SetActivityStreamsCc ¶
func (this *ActivityStreamsPlace) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsPlace) SetActivityStreamsContent ¶
func (this *ActivityStreamsPlace) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsPlace) SetActivityStreamsContext ¶
func (this *ActivityStreamsPlace) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsPlace) SetActivityStreamsDuration ¶
func (this *ActivityStreamsPlace) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsPlace) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsPlace) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsPlace) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsPlace) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsPlace) SetActivityStreamsIcon ¶
func (this *ActivityStreamsPlace) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsPlace) SetActivityStreamsImage ¶
func (this *ActivityStreamsPlace) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsPlace) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsPlace) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsPlace) SetActivityStreamsLatitude ¶
func (this *ActivityStreamsPlace) SetActivityStreamsLatitude(i vocab.ActivityStreamsLatitudeProperty)
SetActivityStreamsLatitude sets the "latitude" property.
func (*ActivityStreamsPlace) SetActivityStreamsLikes ¶
func (this *ActivityStreamsPlace) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsPlace) SetActivityStreamsLocation ¶
func (this *ActivityStreamsPlace) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsPlace) SetActivityStreamsLongitude ¶
func (this *ActivityStreamsPlace) SetActivityStreamsLongitude(i vocab.ActivityStreamsLongitudeProperty)
SetActivityStreamsLongitude sets the "longitude" property.
func (*ActivityStreamsPlace) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsPlace) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsPlace) SetActivityStreamsName ¶
func (this *ActivityStreamsPlace) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsPlace) SetActivityStreamsObject ¶
func (this *ActivityStreamsPlace) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsPlace) SetActivityStreamsPreview ¶
func (this *ActivityStreamsPlace) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsPlace) SetActivityStreamsPublished ¶
func (this *ActivityStreamsPlace) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsPlace) SetActivityStreamsRadius ¶
func (this *ActivityStreamsPlace) SetActivityStreamsRadius(i vocab.ActivityStreamsRadiusProperty)
SetActivityStreamsRadius sets the "radius" property.
func (*ActivityStreamsPlace) SetActivityStreamsReplies ¶
func (this *ActivityStreamsPlace) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsPlace) SetActivityStreamsSensitive ¶
func (this *ActivityStreamsPlace) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
SetActivityStreamsSensitive sets the "sensitive" property.
func (*ActivityStreamsPlace) SetActivityStreamsShares ¶
func (this *ActivityStreamsPlace) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsPlace) SetActivityStreamsSource ¶
func (this *ActivityStreamsPlace) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsPlace) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsPlace) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsPlace) SetActivityStreamsSummary ¶
func (this *ActivityStreamsPlace) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsPlace) SetActivityStreamsTag ¶
func (this *ActivityStreamsPlace) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsPlace) SetActivityStreamsTo ¶
func (this *ActivityStreamsPlace) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsPlace) SetActivityStreamsUnits ¶
func (this *ActivityStreamsPlace) SetActivityStreamsUnits(i vocab.ActivityStreamsUnitsProperty)
SetActivityStreamsUnits sets the "units" property.
func (*ActivityStreamsPlace) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsPlace) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsPlace) SetActivityStreamsUrl ¶
func (this *ActivityStreamsPlace) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsPlace) SetForgeFedTeam ¶
func (this *ActivityStreamsPlace) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
SetForgeFedTeam sets the "team" property.
func (*ActivityStreamsPlace) SetForgeFedTicketsTrackedBy ¶
func (this *ActivityStreamsPlace) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (*ActivityStreamsPlace) SetForgeFedTracksTicketsFor ¶
func (this *ActivityStreamsPlace) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (*ActivityStreamsPlace) SetJSONLDId ¶
func (this *ActivityStreamsPlace) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsPlace) SetJSONLDType ¶
func (this *ActivityStreamsPlace) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (ActivityStreamsPlace) VocabularyURI ¶
func (this ActivityStreamsPlace) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.