typeaudio

package
v1.8.0-gts Latest Latest
Warning

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

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

Documentation

Overview

Package typeaudio contains the implementation for the Audio 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 ActivityStreamsAudioExtends

func ActivityStreamsAudioExtends(other vocab.Type) bool

ActivityStreamsAudioExtends returns true if the Audio type extends from the other type.

func AudioIsDisjointWith

func AudioIsDisjointWith(other vocab.Type) bool

AudioIsDisjointWith returns true if the other provided type is disjoint with the Audio type.

func AudioIsExtendedBy

func AudioIsExtendedBy(other vocab.Type) bool

AudioIsExtendedBy returns true if the other provided type extends from the Audio type. Note that it returns false if the types are the same; see the "IsOrExtendsAudio" variant instead.

func IsOrExtendsAudio

func IsOrExtendsAudio(other vocab.Type) bool

IsOrExtendsAudio returns true if the other provided type is the Audio type or extends from the Audio type.

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 ActivityStreamsAudio

type ActivityStreamsAudio struct {
	ActivityStreamsAltitude     vocab.ActivityStreamsAltitudeProperty
	GoToSocialApprovedBy        vocab.GoToSocialApprovedByProperty
	ActivityStreamsAttachment   vocab.ActivityStreamsAttachmentProperty
	ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty
	ActivityStreamsAudience     vocab.ActivityStreamsAudienceProperty
	ActivityStreamsBcc          vocab.ActivityStreamsBccProperty
	TootBlurhash                vocab.TootBlurhashProperty
	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
	GoToSocialInteractionPolicy vocab.GoToSocialInteractionPolicyProperty
	ActivityStreamsLikes        vocab.ActivityStreamsLikesProperty
	ActivityStreamsLocation     vocab.ActivityStreamsLocationProperty
	ActivityStreamsMediaType    vocab.ActivityStreamsMediaTypeProperty
	ActivityStreamsName         vocab.ActivityStreamsNameProperty
	ActivityStreamsObject       vocab.ActivityStreamsObjectProperty
	ActivityStreamsPreview      vocab.ActivityStreamsPreviewProperty
	ActivityStreamsPublished    vocab.ActivityStreamsPublishedProperty
	ActivityStreamsReplies      vocab.ActivityStreamsRepliesProperty
	ActivityStreamsSensitive    vocab.ActivityStreamsSensitiveProperty
	ActivityStreamsShares       vocab.ActivityStreamsSharesProperty
	ActivityStreamsSource       vocab.ActivityStreamsSourceProperty
	ActivityStreamsStartTime    vocab.ActivityStreamsStartTimeProperty
	ActivityStreamsSummary      vocab.ActivityStreamsSummaryProperty
	ActivityStreamsTag          vocab.ActivityStreamsTagProperty
	ActivityStreamsTo           vocab.ActivityStreamsToProperty
	JSONLDType                  vocab.JSONLDTypeProperty
	ActivityStreamsUpdated      vocab.ActivityStreamsUpdatedProperty
	ActivityStreamsUrl          vocab.ActivityStreamsUrlProperty
	// contains filtered or unexported fields
}

Represents an audio document of any kind.

Example 50 (https://www.w3.org/TR/activitystreams-vocabulary/#ex49-jsonld):

{
  "name": "Interview With A Famous Technologist",
  "type": "Audio",
  "url": {
    "mediaType": "audio/mp3",
    "type": "owl:Class",
    "url": "http://example.org/podcast.mp3"
  }
}

func DeserializeAudio

func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsAudio, error)

DeserializeAudio creates a Audio from a map representation that has been unmarshalled from a text or binary format.

func NewActivityStreamsAudio

func NewActivityStreamsAudio() *ActivityStreamsAudio

NewActivityStreamsAudio creates a new Audio type

func (ActivityStreamsAudio) GetActivityStreamsAltitude

func (this ActivityStreamsAudio) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty

GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsAttachment

func (this ActivityStreamsAudio) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty

GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsAttributedTo

func (this ActivityStreamsAudio) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty

GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsAudience

func (this ActivityStreamsAudio) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty

GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsBcc

func (this ActivityStreamsAudio) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty

GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsBto

func (this ActivityStreamsAudio) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty

GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsCc

func (this ActivityStreamsAudio) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty

GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsContent

func (this ActivityStreamsAudio) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty

GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsContext

func (this ActivityStreamsAudio) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty

GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsDuration

func (this ActivityStreamsAudio) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty

GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsEndTime

func (this ActivityStreamsAudio) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty

GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsGenerator

func (this ActivityStreamsAudio) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty

GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsIcon

func (this ActivityStreamsAudio) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty

GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsImage

func (this ActivityStreamsAudio) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty

GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsInReplyTo

func (this ActivityStreamsAudio) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty

GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsLikes

func (this ActivityStreamsAudio) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty

GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsLocation

func (this ActivityStreamsAudio) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty

GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsMediaType

func (this ActivityStreamsAudio) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty

GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsName

func (this ActivityStreamsAudio) GetActivityStreamsName() vocab.ActivityStreamsNameProperty

GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsObject

func (this ActivityStreamsAudio) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty

GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsPreview

func (this ActivityStreamsAudio) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty

GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsPublished

func (this ActivityStreamsAudio) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty

GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsReplies

func (this ActivityStreamsAudio) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty

GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsSensitive

func (this ActivityStreamsAudio) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty

GetActivityStreamsSensitive returns the "sensitive" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsShares

func (this ActivityStreamsAudio) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty

GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsSource

func (this ActivityStreamsAudio) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty

GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsStartTime

func (this ActivityStreamsAudio) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty

GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsSummary

func (this ActivityStreamsAudio) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty

GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsTag

func (this ActivityStreamsAudio) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty

GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsTo

func (this ActivityStreamsAudio) GetActivityStreamsTo() vocab.ActivityStreamsToProperty

GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsUpdated

func (this ActivityStreamsAudio) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty

GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetActivityStreamsUrl

func (this ActivityStreamsAudio) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty

GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetGoToSocialApprovedBy

func (this ActivityStreamsAudio) GetGoToSocialApprovedBy() vocab.GoToSocialApprovedByProperty

GetGoToSocialApprovedBy returns the "approvedBy" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetGoToSocialInteractionPolicy

func (this ActivityStreamsAudio) GetGoToSocialInteractionPolicy() vocab.GoToSocialInteractionPolicyProperty

GetGoToSocialInteractionPolicy returns the "interactionPolicy" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetJSONLDId

func (this ActivityStreamsAudio) GetJSONLDId() vocab.JSONLDIdProperty

GetJSONLDId returns the "id" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetJSONLDType

func (this ActivityStreamsAudio) GetJSONLDType() vocab.JSONLDTypeProperty

GetJSONLDType returns the "type" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetTootBlurhash

func (this ActivityStreamsAudio) GetTootBlurhash() vocab.TootBlurhashProperty

GetTootBlurhash returns the "blurhash" property if it exists, and nil otherwise.

func (ActivityStreamsAudio) GetTypeName

func (this ActivityStreamsAudio) GetTypeName() string

GetTypeName returns the name of this type.

func (ActivityStreamsAudio) GetUnknownProperties

func (this ActivityStreamsAudio) GetUnknownProperties() map[string]interface{}

GetUnknownProperties returns the unknown properties for the Audio 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 (ActivityStreamsAudio) IsExtending

func (this ActivityStreamsAudio) IsExtending(other vocab.Type) bool

IsExtending returns true if the Audio type extends from the other type.

func (ActivityStreamsAudio) JSONLDContext

func (this ActivityStreamsAudio) 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 (ActivityStreamsAudio) LessThan

LessThan computes if this Audio is lesser, with an arbitrary but stable determination.

func (ActivityStreamsAudio) Serialize

func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error)

Serialize converts this into an interface representation suitable for marshalling into a text or binary format.

func (*ActivityStreamsAudio) SetActivityStreamsAltitude

func (this *ActivityStreamsAudio) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)

SetActivityStreamsAltitude sets the "altitude" property.

func (*ActivityStreamsAudio) SetActivityStreamsAttachment

func (this *ActivityStreamsAudio) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)

SetActivityStreamsAttachment sets the "attachment" property.

func (*ActivityStreamsAudio) SetActivityStreamsAttributedTo

func (this *ActivityStreamsAudio) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)

SetActivityStreamsAttributedTo sets the "attributedTo" property.

func (*ActivityStreamsAudio) SetActivityStreamsAudience

func (this *ActivityStreamsAudio) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)

SetActivityStreamsAudience sets the "audience" property.

func (*ActivityStreamsAudio) SetActivityStreamsBcc

func (this *ActivityStreamsAudio) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)

SetActivityStreamsBcc sets the "bcc" property.

func (*ActivityStreamsAudio) SetActivityStreamsBto

func (this *ActivityStreamsAudio) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)

SetActivityStreamsBto sets the "bto" property.

func (*ActivityStreamsAudio) SetActivityStreamsCc

func (this *ActivityStreamsAudio) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)

SetActivityStreamsCc sets the "cc" property.

func (*ActivityStreamsAudio) SetActivityStreamsContent

func (this *ActivityStreamsAudio) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)

SetActivityStreamsContent sets the "content" property.

func (*ActivityStreamsAudio) SetActivityStreamsContext

func (this *ActivityStreamsAudio) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)

SetActivityStreamsContext sets the "context" property.

func (*ActivityStreamsAudio) SetActivityStreamsDuration

func (this *ActivityStreamsAudio) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)

SetActivityStreamsDuration sets the "duration" property.

func (*ActivityStreamsAudio) SetActivityStreamsEndTime

func (this *ActivityStreamsAudio) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)

SetActivityStreamsEndTime sets the "endTime" property.

func (*ActivityStreamsAudio) SetActivityStreamsGenerator

func (this *ActivityStreamsAudio) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)

SetActivityStreamsGenerator sets the "generator" property.

func (*ActivityStreamsAudio) SetActivityStreamsIcon

func (this *ActivityStreamsAudio) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)

SetActivityStreamsIcon sets the "icon" property.

func (*ActivityStreamsAudio) SetActivityStreamsImage

func (this *ActivityStreamsAudio) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)

SetActivityStreamsImage sets the "image" property.

func (*ActivityStreamsAudio) SetActivityStreamsInReplyTo

func (this *ActivityStreamsAudio) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)

SetActivityStreamsInReplyTo sets the "inReplyTo" property.

func (*ActivityStreamsAudio) SetActivityStreamsLikes

func (this *ActivityStreamsAudio) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)

SetActivityStreamsLikes sets the "likes" property.

func (*ActivityStreamsAudio) SetActivityStreamsLocation

func (this *ActivityStreamsAudio) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)

SetActivityStreamsLocation sets the "location" property.

func (*ActivityStreamsAudio) SetActivityStreamsMediaType

func (this *ActivityStreamsAudio) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)

SetActivityStreamsMediaType sets the "mediaType" property.

func (*ActivityStreamsAudio) SetActivityStreamsName

func (this *ActivityStreamsAudio) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)

SetActivityStreamsName sets the "name" property.

func (*ActivityStreamsAudio) SetActivityStreamsObject

func (this *ActivityStreamsAudio) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)

SetActivityStreamsObject sets the "object" property.

func (*ActivityStreamsAudio) SetActivityStreamsPreview

func (this *ActivityStreamsAudio) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)

SetActivityStreamsPreview sets the "preview" property.

func (*ActivityStreamsAudio) SetActivityStreamsPublished

func (this *ActivityStreamsAudio) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)

SetActivityStreamsPublished sets the "published" property.

func (*ActivityStreamsAudio) SetActivityStreamsReplies

func (this *ActivityStreamsAudio) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)

SetActivityStreamsReplies sets the "replies" property.

func (*ActivityStreamsAudio) SetActivityStreamsSensitive

func (this *ActivityStreamsAudio) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty)

SetActivityStreamsSensitive sets the "sensitive" property.

func (*ActivityStreamsAudio) SetActivityStreamsShares

func (this *ActivityStreamsAudio) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)

SetActivityStreamsShares sets the "shares" property.

func (*ActivityStreamsAudio) SetActivityStreamsSource

func (this *ActivityStreamsAudio) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)

SetActivityStreamsSource sets the "source" property.

func (*ActivityStreamsAudio) SetActivityStreamsStartTime

func (this *ActivityStreamsAudio) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)

SetActivityStreamsStartTime sets the "startTime" property.

func (*ActivityStreamsAudio) SetActivityStreamsSummary

func (this *ActivityStreamsAudio) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)

SetActivityStreamsSummary sets the "summary" property.

func (*ActivityStreamsAudio) SetActivityStreamsTag

func (this *ActivityStreamsAudio) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)

SetActivityStreamsTag sets the "tag" property.

func (*ActivityStreamsAudio) SetActivityStreamsTo

func (this *ActivityStreamsAudio) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)

SetActivityStreamsTo sets the "to" property.

func (*ActivityStreamsAudio) SetActivityStreamsUpdated

func (this *ActivityStreamsAudio) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)

SetActivityStreamsUpdated sets the "updated" property.

func (*ActivityStreamsAudio) SetActivityStreamsUrl

func (this *ActivityStreamsAudio) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)

SetActivityStreamsUrl sets the "url" property.

func (*ActivityStreamsAudio) SetGoToSocialApprovedBy

func (this *ActivityStreamsAudio) SetGoToSocialApprovedBy(i vocab.GoToSocialApprovedByProperty)

SetGoToSocialApprovedBy sets the "approvedBy" property.

func (*ActivityStreamsAudio) SetGoToSocialInteractionPolicy

func (this *ActivityStreamsAudio) SetGoToSocialInteractionPolicy(i vocab.GoToSocialInteractionPolicyProperty)

SetGoToSocialInteractionPolicy sets the "interactionPolicy" property.

func (*ActivityStreamsAudio) SetJSONLDId

func (this *ActivityStreamsAudio) SetJSONLDId(i vocab.JSONLDIdProperty)

SetJSONLDId sets the "id" property.

func (*ActivityStreamsAudio) SetJSONLDType

func (this *ActivityStreamsAudio) SetJSONLDType(i vocab.JSONLDTypeProperty)

SetJSONLDType sets the "type" property.

func (*ActivityStreamsAudio) SetTootBlurhash

func (this *ActivityStreamsAudio) SetTootBlurhash(i vocab.TootBlurhashProperty)

SetTootBlurhash sets the "blurhash" property.

func (ActivityStreamsAudio) VocabularyURI

func (this ActivityStreamsAudio) 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