typeoffer

package
v1.6.0-gts Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivityStreamsOfferExtends

func ActivityStreamsOfferExtends(other vocab.Type) bool

ActivityStreamsOfferExtends returns true if the Offer type extends from the other type.

func IsOrExtendsOffer

func IsOrExtendsOffer(other vocab.Type) bool

IsOrExtendsOffer returns true if the other provided type is the Offer type or extends from the Offer type.

func OfferIsDisjointWith

func OfferIsDisjointWith(other vocab.Type) bool

OfferIsDisjointWith returns true if the other provided type is disjoint with the Offer type.

func OfferIsExtendedBy

func OfferIsExtendedBy(other vocab.Type) bool

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
	ActivityStreamsShares       vocab.ActivityStreamsSharesProperty
	ActivityStreamsSource       vocab.ActivityStreamsSourceProperty
	ActivityStreamsStartTime    vocab.ActivityStreamsStartTimeProperty
	ActivityStreamsSummary      vocab.ActivityStreamsSummaryProperty
	ActivityStreamsTag          vocab.ActivityStreamsTagProperty
	ActivityStreamsTarget       vocab.ActivityStreamsTargetProperty
	ActivityStreamsTo           vocab.ActivityStreamsToProperty
	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) 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

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) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL