typequestion

package
v1.7.0-gts Latest Latest
Warning

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

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

Documentation

Overview

Package typequestion contains the implementation for the Question 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 ActivityStreamsQuestionExtends

func ActivityStreamsQuestionExtends(other vocab.Type) bool

ActivityStreamsQuestionExtends returns true if the Question type extends from the other type.

func IsOrExtendsQuestion

func IsOrExtendsQuestion(other vocab.Type) bool

IsOrExtendsQuestion returns true if the other provided type is the Question type or extends from the Question type.

func QuestionIsDisjointWith

func QuestionIsDisjointWith(other vocab.Type) bool

QuestionIsDisjointWith returns true if the other provided type is disjoint with the Question type.

func QuestionIsExtendedBy

func QuestionIsExtendedBy(other vocab.Type) bool

QuestionIsExtendedBy returns true if the other provided type extends from the Question type. Note that it returns false if the types are the same; see the "IsOrExtendsQuestion" 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 ActivityStreamsQuestion

type ActivityStreamsQuestion struct {
	ActivityStreamsActor        vocab.ActivityStreamsActorProperty
	ActivityStreamsAltitude     vocab.ActivityStreamsAltitudeProperty
	ActivityStreamsAnyOf        vocab.ActivityStreamsAnyOfProperty
	GoToSocialApprovedBy        vocab.GoToSocialApprovedByProperty
	ActivityStreamsAttachment   vocab.ActivityStreamsAttachmentProperty
	ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty
	ActivityStreamsAudience     vocab.ActivityStreamsAudienceProperty
	ActivityStreamsBcc          vocab.ActivityStreamsBccProperty
	ActivityStreamsBto          vocab.ActivityStreamsBtoProperty
	ActivityStreamsCc           vocab.ActivityStreamsCcProperty
	ActivityStreamsClosed       vocab.ActivityStreamsClosedProperty
	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
	GoToSocialInteractionPolicy vocab.GoToSocialInteractionPolicyProperty
	ActivityStreamsLikes        vocab.ActivityStreamsLikesProperty
	ActivityStreamsLocation     vocab.ActivityStreamsLocationProperty
	ActivityStreamsMediaType    vocab.ActivityStreamsMediaTypeProperty
	ActivityStreamsName         vocab.ActivityStreamsNameProperty
	ActivityStreamsOneOf        vocab.ActivityStreamsOneOfProperty
	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
	TootVotersCount             vocab.TootVotersCountProperty
	// contains filtered or unexported fields
}

Represents a question being asked. Question objects are an extension of IntransitiveActivity. That is, the Question object is an Activity, but the direct object is the question itself and therefore it would not contain an object property. Either of the anyOf and oneOf properties MAY be used to express possible answers, but a Question object MUST NOT have both properties.

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

{
  "name": "What is the answer?",
  "oneOf": [
    {
      "name": "Option A",
      "type": "Note"
    },
    {
      "name": "Option B",
      "type": "Note"
    }
  ],
  "type": "Question"
}

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

{
  "closed": "2016-05-10T00:00:00Z",
  "name": "What is the answer?",
  "type": "Question"
}

func DeserializeQuestion

func DeserializeQuestion(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsQuestion, error)

DeserializeQuestion creates a Question from a map representation that has been unmarshalled from a text or binary format.

func NewActivityStreamsQuestion

func NewActivityStreamsQuestion() *ActivityStreamsQuestion

NewActivityStreamsQuestion creates a new Question type

func (ActivityStreamsQuestion) GetActivityStreamsActor

func (this ActivityStreamsQuestion) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty

GetActivityStreamsActor returns the "actor" property if it exists, and nil otherwise.

func (ActivityStreamsQuestion) GetActivityStreamsAltitude

func (this ActivityStreamsQuestion) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsAnyOf

func (this ActivityStreamsQuestion) GetActivityStreamsAnyOf() vocab.ActivityStreamsAnyOfProperty

GetActivityStreamsAnyOf returns the "anyOf" property if it exists, and nil otherwise.

func (ActivityStreamsQuestion) GetActivityStreamsAttachment

func (this ActivityStreamsQuestion) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsAttributedTo

func (this ActivityStreamsQuestion) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsAudience

func (this ActivityStreamsQuestion) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsBcc

func (this ActivityStreamsQuestion) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsBto

func (this ActivityStreamsQuestion) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsCc

func (this ActivityStreamsQuestion) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsClosed

func (this ActivityStreamsQuestion) GetActivityStreamsClosed() vocab.ActivityStreamsClosedProperty

GetActivityStreamsClosed returns the "closed" property if it exists, and nil otherwise.

func (ActivityStreamsQuestion) GetActivityStreamsContent

func (this ActivityStreamsQuestion) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsContext

func (this ActivityStreamsQuestion) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsDuration

func (this ActivityStreamsQuestion) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsEndTime

func (this ActivityStreamsQuestion) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsGenerator

func (this ActivityStreamsQuestion) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsIcon

func (this ActivityStreamsQuestion) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsImage

func (this ActivityStreamsQuestion) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsInReplyTo

func (this ActivityStreamsQuestion) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsInstrument

func (this ActivityStreamsQuestion) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty

GetActivityStreamsInstrument returns the "instrument" property if it exists, and nil otherwise.

func (ActivityStreamsQuestion) GetActivityStreamsLikes

func (this ActivityStreamsQuestion) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsLocation

func (this ActivityStreamsQuestion) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsMediaType

func (this ActivityStreamsQuestion) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsName

func (this ActivityStreamsQuestion) GetActivityStreamsName() vocab.ActivityStreamsNameProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsOneOf

func (this ActivityStreamsQuestion) GetActivityStreamsOneOf() vocab.ActivityStreamsOneOfProperty

GetActivityStreamsOneOf returns the "oneOf" property if it exists, and nil otherwise.

func (ActivityStreamsQuestion) GetActivityStreamsOrigin

func (this ActivityStreamsQuestion) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty

GetActivityStreamsOrigin returns the "origin" property if it exists, and nil otherwise.

func (ActivityStreamsQuestion) GetActivityStreamsPreview

func (this ActivityStreamsQuestion) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsPublished

func (this ActivityStreamsQuestion) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsReplies

func (this ActivityStreamsQuestion) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsResult

func (this ActivityStreamsQuestion) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty

GetActivityStreamsResult returns the "result" property if it exists, and nil otherwise.

func (ActivityStreamsQuestion) GetActivityStreamsSensitive

func (this ActivityStreamsQuestion) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsShares

func (this ActivityStreamsQuestion) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsSource

func (this ActivityStreamsQuestion) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsStartTime

func (this ActivityStreamsQuestion) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsSummary

func (this ActivityStreamsQuestion) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsTag

func (this ActivityStreamsQuestion) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsTarget

func (this ActivityStreamsQuestion) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty

GetActivityStreamsTarget returns the "target" property if it exists, and nil otherwise.

func (ActivityStreamsQuestion) GetActivityStreamsTo

func (this ActivityStreamsQuestion) GetActivityStreamsTo() vocab.ActivityStreamsToProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsUpdated

func (this ActivityStreamsQuestion) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty

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

func (ActivityStreamsQuestion) GetActivityStreamsUrl

func (this ActivityStreamsQuestion) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty

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

func (ActivityStreamsQuestion) GetGoToSocialApprovedBy

func (this ActivityStreamsQuestion) GetGoToSocialApprovedBy() vocab.GoToSocialApprovedByProperty

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

func (ActivityStreamsQuestion) GetGoToSocialInteractionPolicy

func (this ActivityStreamsQuestion) GetGoToSocialInteractionPolicy() vocab.GoToSocialInteractionPolicyProperty

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

func (ActivityStreamsQuestion) GetJSONLDId

func (this ActivityStreamsQuestion) GetJSONLDId() vocab.JSONLDIdProperty

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

func (ActivityStreamsQuestion) GetJSONLDType

func (this ActivityStreamsQuestion) GetJSONLDType() vocab.JSONLDTypeProperty

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

func (ActivityStreamsQuestion) GetTootVotersCount

func (this ActivityStreamsQuestion) GetTootVotersCount() vocab.TootVotersCountProperty

GetTootVotersCount returns the "votersCount" property if it exists, and nil otherwise.

func (ActivityStreamsQuestion) GetTypeName

func (this ActivityStreamsQuestion) GetTypeName() string

GetTypeName returns the name of this type.

func (ActivityStreamsQuestion) GetUnknownProperties

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

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

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

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

func (ActivityStreamsQuestion) JSONLDContext

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

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

func (ActivityStreamsQuestion) Serialize

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

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

func (*ActivityStreamsQuestion) SetActivityStreamsActor

func (this *ActivityStreamsQuestion) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty)

SetActivityStreamsActor sets the "actor" property.

func (*ActivityStreamsQuestion) SetActivityStreamsAltitude

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

SetActivityStreamsAltitude sets the "altitude" property.

func (*ActivityStreamsQuestion) SetActivityStreamsAnyOf

func (this *ActivityStreamsQuestion) SetActivityStreamsAnyOf(i vocab.ActivityStreamsAnyOfProperty)

SetActivityStreamsAnyOf sets the "anyOf" property.

func (*ActivityStreamsQuestion) SetActivityStreamsAttachment

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

SetActivityStreamsAttachment sets the "attachment" property.

func (*ActivityStreamsQuestion) SetActivityStreamsAttributedTo

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

SetActivityStreamsAttributedTo sets the "attributedTo" property.

func (*ActivityStreamsQuestion) SetActivityStreamsAudience

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

SetActivityStreamsAudience sets the "audience" property.

func (*ActivityStreamsQuestion) SetActivityStreamsBcc

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

SetActivityStreamsBcc sets the "bcc" property.

func (*ActivityStreamsQuestion) SetActivityStreamsBto

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

SetActivityStreamsBto sets the "bto" property.

func (*ActivityStreamsQuestion) SetActivityStreamsCc

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

SetActivityStreamsCc sets the "cc" property.

func (*ActivityStreamsQuestion) SetActivityStreamsClosed

func (this *ActivityStreamsQuestion) SetActivityStreamsClosed(i vocab.ActivityStreamsClosedProperty)

SetActivityStreamsClosed sets the "closed" property.

func (*ActivityStreamsQuestion) SetActivityStreamsContent

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

SetActivityStreamsContent sets the "content" property.

func (*ActivityStreamsQuestion) SetActivityStreamsContext

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

SetActivityStreamsContext sets the "context" property.

func (*ActivityStreamsQuestion) SetActivityStreamsDuration

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

SetActivityStreamsDuration sets the "duration" property.

func (*ActivityStreamsQuestion) SetActivityStreamsEndTime

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

SetActivityStreamsEndTime sets the "endTime" property.

func (*ActivityStreamsQuestion) SetActivityStreamsGenerator

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

SetActivityStreamsGenerator sets the "generator" property.

func (*ActivityStreamsQuestion) SetActivityStreamsIcon

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

SetActivityStreamsIcon sets the "icon" property.

func (*ActivityStreamsQuestion) SetActivityStreamsImage

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

SetActivityStreamsImage sets the "image" property.

func (*ActivityStreamsQuestion) SetActivityStreamsInReplyTo

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

SetActivityStreamsInReplyTo sets the "inReplyTo" property.

func (*ActivityStreamsQuestion) SetActivityStreamsInstrument

func (this *ActivityStreamsQuestion) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty)

SetActivityStreamsInstrument sets the "instrument" property.

func (*ActivityStreamsQuestion) SetActivityStreamsLikes

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

SetActivityStreamsLikes sets the "likes" property.

func (*ActivityStreamsQuestion) SetActivityStreamsLocation

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

SetActivityStreamsLocation sets the "location" property.

func (*ActivityStreamsQuestion) SetActivityStreamsMediaType

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

SetActivityStreamsMediaType sets the "mediaType" property.

func (*ActivityStreamsQuestion) SetActivityStreamsName

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

SetActivityStreamsName sets the "name" property.

func (*ActivityStreamsQuestion) SetActivityStreamsOneOf

func (this *ActivityStreamsQuestion) SetActivityStreamsOneOf(i vocab.ActivityStreamsOneOfProperty)

SetActivityStreamsOneOf sets the "oneOf" property.

func (*ActivityStreamsQuestion) SetActivityStreamsOrigin

func (this *ActivityStreamsQuestion) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty)

SetActivityStreamsOrigin sets the "origin" property.

func (*ActivityStreamsQuestion) SetActivityStreamsPreview

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

SetActivityStreamsPreview sets the "preview" property.

func (*ActivityStreamsQuestion) SetActivityStreamsPublished

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

SetActivityStreamsPublished sets the "published" property.

func (*ActivityStreamsQuestion) SetActivityStreamsReplies

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

SetActivityStreamsReplies sets the "replies" property.

func (*ActivityStreamsQuestion) SetActivityStreamsResult

func (this *ActivityStreamsQuestion) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty)

SetActivityStreamsResult sets the "result" property.

func (*ActivityStreamsQuestion) SetActivityStreamsSensitive

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

SetActivityStreamsSensitive sets the "sensitive" property.

func (*ActivityStreamsQuestion) SetActivityStreamsShares

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

SetActivityStreamsShares sets the "shares" property.

func (*ActivityStreamsQuestion) SetActivityStreamsSource

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

SetActivityStreamsSource sets the "source" property.

func (*ActivityStreamsQuestion) SetActivityStreamsStartTime

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

SetActivityStreamsStartTime sets the "startTime" property.

func (*ActivityStreamsQuestion) SetActivityStreamsSummary

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

SetActivityStreamsSummary sets the "summary" property.

func (*ActivityStreamsQuestion) SetActivityStreamsTag

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

SetActivityStreamsTag sets the "tag" property.

func (*ActivityStreamsQuestion) SetActivityStreamsTarget

func (this *ActivityStreamsQuestion) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty)

SetActivityStreamsTarget sets the "target" property.

func (*ActivityStreamsQuestion) SetActivityStreamsTo

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

SetActivityStreamsTo sets the "to" property.

func (*ActivityStreamsQuestion) SetActivityStreamsUpdated

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

SetActivityStreamsUpdated sets the "updated" property.

func (*ActivityStreamsQuestion) SetActivityStreamsUrl

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

SetActivityStreamsUrl sets the "url" property.

func (*ActivityStreamsQuestion) SetGoToSocialApprovedBy

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

SetGoToSocialApprovedBy sets the "approvedBy" property.

func (*ActivityStreamsQuestion) SetGoToSocialInteractionPolicy

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

SetGoToSocialInteractionPolicy sets the "interactionPolicy" property.

func (*ActivityStreamsQuestion) SetJSONLDId

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

SetJSONLDId sets the "id" property.

func (*ActivityStreamsQuestion) SetJSONLDType

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

SetJSONLDType sets the "type" property.

func (*ActivityStreamsQuestion) SetTootVotersCount

func (this *ActivityStreamsQuestion) SetTootVotersCount(i vocab.TootVotersCountProperty)

SetTootVotersCount sets the "votersCount" property.

func (ActivityStreamsQuestion) VocabularyURI

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