Documentation ¶
Overview ¶
Package typeoffer contains the implementation for the Offer 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 ActivityStreamsOfferExtends(other vocab.Type) bool
- func IsOrExtendsOffer(other vocab.Type) bool
- func OfferIsDisjointWith(other vocab.Type) bool
- func OfferIsExtendedBy(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ActivityStreamsOffer
- func (this ActivityStreamsOffer) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty
- func (this ActivityStreamsOffer) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ActivityStreamsOffer) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ActivityStreamsOffer) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ActivityStreamsOffer) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ActivityStreamsOffer) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ActivityStreamsOffer) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ActivityStreamsOffer) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ActivityStreamsOffer) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ActivityStreamsOffer) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ActivityStreamsOffer) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ActivityStreamsOffer) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ActivityStreamsOffer) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ActivityStreamsOffer) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ActivityStreamsOffer) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ActivityStreamsOffer) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ActivityStreamsOffer) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty
- func (this ActivityStreamsOffer) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ActivityStreamsOffer) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ActivityStreamsOffer) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ActivityStreamsOffer) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ActivityStreamsOffer) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ActivityStreamsOffer) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty
- func (this ActivityStreamsOffer) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ActivityStreamsOffer) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ActivityStreamsOffer) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ActivityStreamsOffer) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty
- func (this ActivityStreamsOffer) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
- func (this ActivityStreamsOffer) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ActivityStreamsOffer) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ActivityStreamsOffer) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ActivityStreamsOffer) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ActivityStreamsOffer) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ActivityStreamsOffer) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty
- func (this ActivityStreamsOffer) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ActivityStreamsOffer) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ActivityStreamsOffer) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ActivityStreamsOffer) GetForgeFedTeam() vocab.ForgeFedTeamProperty
- func (this ActivityStreamsOffer) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
- func (this ActivityStreamsOffer) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
- func (this ActivityStreamsOffer) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ActivityStreamsOffer) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ActivityStreamsOffer) GetTypeName() string
- func (this ActivityStreamsOffer) GetUnknownProperties() map[string]interface{}
- func (this ActivityStreamsOffer) IsExtending(other vocab.Type) bool
- func (this ActivityStreamsOffer) JSONLDContext() map[string]string
- func (this ActivityStreamsOffer) LessThan(o vocab.ActivityStreamsOffer) bool
- func (this ActivityStreamsOffer) Serialize() (map[string]interface{}, error)
- func (this *ActivityStreamsOffer) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ActivityStreamsOffer) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ActivityStreamsOffer) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
- func (this *ActivityStreamsOffer) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
- func (this *ActivityStreamsOffer) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
- func (this *ActivityStreamsOffer) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ActivityStreamsOffer) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this ActivityStreamsOffer) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityStreamsOfferExtends ¶
ActivityStreamsOfferExtends returns true if the Offer type extends from the other type.
func IsOrExtendsOffer ¶
IsOrExtendsOffer returns true if the other provided type is the Offer type or extends from the Offer type.
func OfferIsDisjointWith ¶
OfferIsDisjointWith returns true if the other provided type is disjoint with the Offer type.
func OfferIsExtendedBy ¶
OfferIsExtendedBy returns true if the other provided type extends from the Offer type. Note that it returns false if the types are the same; see the "IsOrExtendsOffer" 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 ActivityStreamsOffer ¶
type ActivityStreamsOffer struct { ActivityStreamsActor vocab.ActivityStreamsActorProperty 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 ActivityStreamsInstrument vocab.ActivityStreamsInstrumentProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty ActivityStreamsName vocab.ActivityStreamsNameProperty ActivityStreamsObject vocab.ActivityStreamsObjectProperty ActivityStreamsOrigin vocab.ActivityStreamsOriginProperty ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty ActivityStreamsResult vocab.ActivityStreamsResultProperty ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty ActivityStreamsSource vocab.ActivityStreamsSourceProperty ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty ForgeFedTeam vocab.ForgeFedTeamProperty ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty // contains filtered or unexported fields }
Indicates that the actor is offering the object. If specified, the target indicates the entity to which the object is being offered.
Example 23 (https://www.w3.org/TR/activitystreams-vocabulary/#ex21-jsonld):
{ "actor": { "name": "Sally", "type": "Person" }, "object": { "name": "50%!O(MISSING)ff!", "type": "http://www.types.example/ProductOffer" }, "summary": "Sally offered 50%!o(MISSING)ff to Lewis", "target": { "name": "Lewis", "type": "Person" }, "type": "Offer" }
func DeserializeOffer ¶
func DeserializeOffer(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsOffer, error)
DeserializeOffer creates a Offer from a map representation that has been unmarshalled from a text or binary format.
func NewActivityStreamsOffer ¶
func NewActivityStreamsOffer() *ActivityStreamsOffer
NewActivityStreamsOffer creates a new Offer type
func (ActivityStreamsOffer) GetActivityStreamsActor ¶
func (this ActivityStreamsOffer) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty
GetActivityStreamsActor returns the "actor" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsAltitude ¶
func (this ActivityStreamsOffer) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsAttachment ¶
func (this ActivityStreamsOffer) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsAttributedTo ¶
func (this ActivityStreamsOffer) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsAudience ¶
func (this ActivityStreamsOffer) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsBcc ¶
func (this ActivityStreamsOffer) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsBto ¶
func (this ActivityStreamsOffer) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsCc ¶
func (this ActivityStreamsOffer) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsContent ¶
func (this ActivityStreamsOffer) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsContext ¶
func (this ActivityStreamsOffer) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsDuration ¶
func (this ActivityStreamsOffer) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsEndTime ¶
func (this ActivityStreamsOffer) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsGenerator ¶
func (this ActivityStreamsOffer) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsIcon ¶
func (this ActivityStreamsOffer) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsImage ¶
func (this ActivityStreamsOffer) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsInReplyTo ¶
func (this ActivityStreamsOffer) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsInstrument ¶
func (this ActivityStreamsOffer) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty
GetActivityStreamsInstrument returns the "instrument" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsLikes ¶
func (this ActivityStreamsOffer) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsLocation ¶
func (this ActivityStreamsOffer) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsMediaType ¶
func (this ActivityStreamsOffer) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsName ¶
func (this ActivityStreamsOffer) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsObject ¶
func (this ActivityStreamsOffer) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsOrigin ¶
func (this ActivityStreamsOffer) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty
GetActivityStreamsOrigin returns the "origin" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsPreview ¶
func (this ActivityStreamsOffer) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsPublished ¶
func (this ActivityStreamsOffer) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsReplies ¶
func (this ActivityStreamsOffer) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsResult ¶
func (this ActivityStreamsOffer) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty
GetActivityStreamsResult returns the "result" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsSensitive ¶
func (this ActivityStreamsOffer) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty
GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsShares ¶
func (this ActivityStreamsOffer) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsSource ¶
func (this ActivityStreamsOffer) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsStartTime ¶
func (this ActivityStreamsOffer) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsSummary ¶
func (this ActivityStreamsOffer) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsTag ¶
func (this ActivityStreamsOffer) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsTarget ¶
func (this ActivityStreamsOffer) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty
GetActivityStreamsTarget returns the "target" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsTo ¶
func (this ActivityStreamsOffer) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsUpdated ¶
func (this ActivityStreamsOffer) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetActivityStreamsUrl ¶
func (this ActivityStreamsOffer) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetForgeFedTeam ¶
func (this ActivityStreamsOffer) GetForgeFedTeam() vocab.ForgeFedTeamProperty
GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetForgeFedTicketsTrackedBy ¶
func (this ActivityStreamsOffer) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetForgeFedTracksTicketsFor ¶
func (this ActivityStreamsOffer) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetJSONLDId ¶
func (this ActivityStreamsOffer) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetJSONLDType ¶
func (this ActivityStreamsOffer) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ActivityStreamsOffer) GetTypeName ¶
func (this ActivityStreamsOffer) GetTypeName() string
GetTypeName returns the name of this type.
func (ActivityStreamsOffer) GetUnknownProperties ¶
func (this ActivityStreamsOffer) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Offer 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 (ActivityStreamsOffer) IsExtending ¶
func (this ActivityStreamsOffer) IsExtending(other vocab.Type) bool
IsExtending returns true if the Offer type extends from the other type.
func (ActivityStreamsOffer) JSONLDContext ¶
func (this ActivityStreamsOffer) 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 (ActivityStreamsOffer) LessThan ¶
func (this ActivityStreamsOffer) LessThan(o vocab.ActivityStreamsOffer) bool
LessThan computes if this Offer is lesser, with an arbitrary but stable determination.
func (ActivityStreamsOffer) Serialize ¶
func (this ActivityStreamsOffer) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ActivityStreamsOffer) SetActivityStreamsActor ¶
func (this *ActivityStreamsOffer) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty)
SetActivityStreamsActor sets the "actor" property.
func (*ActivityStreamsOffer) SetActivityStreamsAltitude ¶
func (this *ActivityStreamsOffer) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ActivityStreamsOffer) SetActivityStreamsAttachment ¶
func (this *ActivityStreamsOffer) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ActivityStreamsOffer) SetActivityStreamsAttributedTo ¶
func (this *ActivityStreamsOffer) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ActivityStreamsOffer) SetActivityStreamsAudience ¶
func (this *ActivityStreamsOffer) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ActivityStreamsOffer) SetActivityStreamsBcc ¶
func (this *ActivityStreamsOffer) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ActivityStreamsOffer) SetActivityStreamsBto ¶
func (this *ActivityStreamsOffer) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ActivityStreamsOffer) SetActivityStreamsCc ¶
func (this *ActivityStreamsOffer) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ActivityStreamsOffer) SetActivityStreamsContent ¶
func (this *ActivityStreamsOffer) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ActivityStreamsOffer) SetActivityStreamsContext ¶
func (this *ActivityStreamsOffer) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ActivityStreamsOffer) SetActivityStreamsDuration ¶
func (this *ActivityStreamsOffer) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ActivityStreamsOffer) SetActivityStreamsEndTime ¶
func (this *ActivityStreamsOffer) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ActivityStreamsOffer) SetActivityStreamsGenerator ¶
func (this *ActivityStreamsOffer) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ActivityStreamsOffer) SetActivityStreamsIcon ¶
func (this *ActivityStreamsOffer) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ActivityStreamsOffer) SetActivityStreamsImage ¶
func (this *ActivityStreamsOffer) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ActivityStreamsOffer) SetActivityStreamsInReplyTo ¶
func (this *ActivityStreamsOffer) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ActivityStreamsOffer) SetActivityStreamsInstrument ¶
func (this *ActivityStreamsOffer) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty)
SetActivityStreamsInstrument sets the "instrument" property.
func (*ActivityStreamsOffer) SetActivityStreamsLikes ¶
func (this *ActivityStreamsOffer) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ActivityStreamsOffer) SetActivityStreamsLocation ¶
func (this *ActivityStreamsOffer) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ActivityStreamsOffer) SetActivityStreamsMediaType ¶
func (this *ActivityStreamsOffer) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ActivityStreamsOffer) SetActivityStreamsName ¶
func (this *ActivityStreamsOffer) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ActivityStreamsOffer) SetActivityStreamsObject ¶
func (this *ActivityStreamsOffer) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ActivityStreamsOffer) SetActivityStreamsOrigin ¶
func (this *ActivityStreamsOffer) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty)
SetActivityStreamsOrigin sets the "origin" property.
func (*ActivityStreamsOffer) SetActivityStreamsPreview ¶
func (this *ActivityStreamsOffer) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ActivityStreamsOffer) SetActivityStreamsPublished ¶
func (this *ActivityStreamsOffer) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ActivityStreamsOffer) SetActivityStreamsReplies ¶
func (this *ActivityStreamsOffer) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ActivityStreamsOffer) SetActivityStreamsResult ¶
func (this *ActivityStreamsOffer) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty)
SetActivityStreamsResult sets the "result" property.
func (*ActivityStreamsOffer) SetActivityStreamsSensitive ¶
func (this *ActivityStreamsOffer) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)
SetActivityStreamsSensitive sets the "sensitive" property.
func (*ActivityStreamsOffer) SetActivityStreamsShares ¶
func (this *ActivityStreamsOffer) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ActivityStreamsOffer) SetActivityStreamsSource ¶
func (this *ActivityStreamsOffer) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ActivityStreamsOffer) SetActivityStreamsStartTime ¶
func (this *ActivityStreamsOffer) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ActivityStreamsOffer) SetActivityStreamsSummary ¶
func (this *ActivityStreamsOffer) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ActivityStreamsOffer) SetActivityStreamsTag ¶
func (this *ActivityStreamsOffer) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ActivityStreamsOffer) SetActivityStreamsTarget ¶
func (this *ActivityStreamsOffer) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty)
SetActivityStreamsTarget sets the "target" property.
func (*ActivityStreamsOffer) SetActivityStreamsTo ¶
func (this *ActivityStreamsOffer) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ActivityStreamsOffer) SetActivityStreamsUpdated ¶
func (this *ActivityStreamsOffer) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ActivityStreamsOffer) SetActivityStreamsUrl ¶
func (this *ActivityStreamsOffer) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ActivityStreamsOffer) SetForgeFedTeam ¶
func (this *ActivityStreamsOffer) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
SetForgeFedTeam sets the "team" property.
func (*ActivityStreamsOffer) SetForgeFedTicketsTrackedBy ¶
func (this *ActivityStreamsOffer) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (*ActivityStreamsOffer) SetForgeFedTracksTicketsFor ¶
func (this *ActivityStreamsOffer) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (*ActivityStreamsOffer) SetJSONLDId ¶
func (this *ActivityStreamsOffer) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ActivityStreamsOffer) SetJSONLDType ¶
func (this *ActivityStreamsOffer) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (ActivityStreamsOffer) VocabularyURI ¶
func (this ActivityStreamsOffer) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.