typecollection

package
v1.2.2-gts Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package typecollection contains the implementation for the Collection 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 ActivityStreamsCollectionExtends

func ActivityStreamsCollectionExtends(other vocab.Type) bool

ActivityStreamsCollectionExtends returns true if the Collection type extends from the other type.

func CollectionIsDisjointWith

func CollectionIsDisjointWith(other vocab.Type) bool

CollectionIsDisjointWith returns true if the other provided type is disjoint with the Collection type.

func CollectionIsExtendedBy

func CollectionIsExtendedBy(other vocab.Type) bool

CollectionIsExtendedBy returns true if the other provided type extends from the Collection type. Note that it returns false if the types are the same; see the "IsOrExtendsCollection" variant instead.

func IsOrExtendsCollection

func IsOrExtendsCollection(other vocab.Type) bool

IsOrExtendsCollection returns true if the other provided type is the Collection type or extends from the Collection 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 ActivityStreamsCollection

type ActivityStreamsCollection struct {
	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
	ActivityStreamsCurrent      vocab.ActivityStreamsCurrentProperty
	ActivityStreamsDuration     vocab.ActivityStreamsDurationProperty
	ActivityStreamsEndTime      vocab.ActivityStreamsEndTimeProperty
	ActivityStreamsFirst        vocab.ActivityStreamsFirstProperty
	ActivityStreamsGenerator    vocab.ActivityStreamsGeneratorProperty
	ActivityStreamsIcon         vocab.ActivityStreamsIconProperty
	JSONLDId                    vocab.JSONLDIdProperty
	ActivityStreamsImage        vocab.ActivityStreamsImageProperty
	ActivityStreamsInReplyTo    vocab.ActivityStreamsInReplyToProperty
	ActivityStreamsItems        vocab.ActivityStreamsItemsProperty
	ActivityStreamsLast         vocab.ActivityStreamsLastProperty
	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
	ForgeFedTeam                vocab.ForgeFedTeamProperty
	ForgeFedTicketsTrackedBy    vocab.ForgeFedTicketsTrackedByProperty
	ActivityStreamsTo           vocab.ActivityStreamsToProperty
	ActivityStreamsTotalItems   vocab.ActivityStreamsTotalItemsProperty
	ForgeFedTracksTicketsFor    vocab.ForgeFedTracksTicketsForProperty
	JSONLDType                  vocab.JSONLDTypeProperty
	ActivityStreamsUpdated      vocab.ActivityStreamsUpdatedProperty
	ActivityStreamsUrl          vocab.ActivityStreamsUrlProperty
	// contains filtered or unexported fields
}

A Collection is a subtype of Object that represents ordered or unordered sets of Object or Link instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection type.

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

{
  "items": [
    {
      "name": "A Simple Note",
      "type": "Note"
    },
    {
      "name": "Another Simple Note",
      "type": "Note"
    }
  ],
  "summary": "Sally's notes",
  "totalItems": 2,
  "type": "Collection"
}

func DeserializeCollection

func DeserializeCollection(m map[string]interface{}, aliasMap map[string]string) (*ActivityStreamsCollection, error)

DeserializeCollection creates a Collection from a map representation that has been unmarshalled from a text or binary format.

func NewActivityStreamsCollection

func NewActivityStreamsCollection() *ActivityStreamsCollection

NewActivityStreamsCollection creates a new Collection type

func (ActivityStreamsCollection) GetActivityStreamsAltitude

func (this ActivityStreamsCollection) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty

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

func (ActivityStreamsCollection) GetActivityStreamsAttachment

func (this ActivityStreamsCollection) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty

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

func (ActivityStreamsCollection) GetActivityStreamsAttributedTo

func (this ActivityStreamsCollection) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty

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

func (ActivityStreamsCollection) GetActivityStreamsAudience

func (this ActivityStreamsCollection) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty

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

func (ActivityStreamsCollection) GetActivityStreamsBcc

func (this ActivityStreamsCollection) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty

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

func (ActivityStreamsCollection) GetActivityStreamsBto

func (this ActivityStreamsCollection) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty

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

func (ActivityStreamsCollection) GetActivityStreamsCc

func (this ActivityStreamsCollection) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty

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

func (ActivityStreamsCollection) GetActivityStreamsContent

func (this ActivityStreamsCollection) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty

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

func (ActivityStreamsCollection) GetActivityStreamsContext

func (this ActivityStreamsCollection) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty

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

func (ActivityStreamsCollection) GetActivityStreamsCurrent

func (this ActivityStreamsCollection) GetActivityStreamsCurrent() vocab.ActivityStreamsCurrentProperty

GetActivityStreamsCurrent returns the "current" property if it exists, and nil otherwise.

func (ActivityStreamsCollection) GetActivityStreamsDuration

func (this ActivityStreamsCollection) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty

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

func (ActivityStreamsCollection) GetActivityStreamsEndTime

func (this ActivityStreamsCollection) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty

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

func (ActivityStreamsCollection) GetActivityStreamsFirst

func (this ActivityStreamsCollection) GetActivityStreamsFirst() vocab.ActivityStreamsFirstProperty

GetActivityStreamsFirst returns the "first" property if it exists, and nil otherwise.

func (ActivityStreamsCollection) GetActivityStreamsGenerator

func (this ActivityStreamsCollection) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty

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

func (ActivityStreamsCollection) GetActivityStreamsIcon

func (this ActivityStreamsCollection) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty

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

func (ActivityStreamsCollection) GetActivityStreamsImage

func (this ActivityStreamsCollection) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty

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

func (ActivityStreamsCollection) GetActivityStreamsInReplyTo

func (this ActivityStreamsCollection) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty

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

func (ActivityStreamsCollection) GetActivityStreamsItems

func (this ActivityStreamsCollection) GetActivityStreamsItems() vocab.ActivityStreamsItemsProperty

GetActivityStreamsItems returns the "items" property if it exists, and nil otherwise.

func (ActivityStreamsCollection) GetActivityStreamsLast

func (this ActivityStreamsCollection) GetActivityStreamsLast() vocab.ActivityStreamsLastProperty

GetActivityStreamsLast returns the "last" property if it exists, and nil otherwise.

func (ActivityStreamsCollection) GetActivityStreamsLikes

func (this ActivityStreamsCollection) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty

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

func (ActivityStreamsCollection) GetActivityStreamsLocation

func (this ActivityStreamsCollection) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty

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

func (ActivityStreamsCollection) GetActivityStreamsMediaType

func (this ActivityStreamsCollection) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty

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

func (ActivityStreamsCollection) GetActivityStreamsName

func (this ActivityStreamsCollection) GetActivityStreamsName() vocab.ActivityStreamsNameProperty

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

func (ActivityStreamsCollection) GetActivityStreamsObject

func (this ActivityStreamsCollection) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty

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

func (ActivityStreamsCollection) GetActivityStreamsPreview

func (this ActivityStreamsCollection) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty

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

func (ActivityStreamsCollection) GetActivityStreamsPublished

func (this ActivityStreamsCollection) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty

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

func (ActivityStreamsCollection) GetActivityStreamsReplies

func (this ActivityStreamsCollection) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty

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

func (ActivityStreamsCollection) GetActivityStreamsSensitive

func (this ActivityStreamsCollection) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty

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

func (ActivityStreamsCollection) GetActivityStreamsShares

func (this ActivityStreamsCollection) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty

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

func (ActivityStreamsCollection) GetActivityStreamsSource

func (this ActivityStreamsCollection) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty

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

func (ActivityStreamsCollection) GetActivityStreamsStartTime

func (this ActivityStreamsCollection) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty

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

func (ActivityStreamsCollection) GetActivityStreamsSummary

func (this ActivityStreamsCollection) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty

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

func (ActivityStreamsCollection) GetActivityStreamsTag

func (this ActivityStreamsCollection) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty

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

func (ActivityStreamsCollection) GetActivityStreamsTo

func (this ActivityStreamsCollection) GetActivityStreamsTo() vocab.ActivityStreamsToProperty

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

func (ActivityStreamsCollection) GetActivityStreamsTotalItems

func (this ActivityStreamsCollection) GetActivityStreamsTotalItems() vocab.ActivityStreamsTotalItemsProperty

GetActivityStreamsTotalItems returns the "totalItems" property if it exists, and nil otherwise.

func (ActivityStreamsCollection) GetActivityStreamsUpdated

func (this ActivityStreamsCollection) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty

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

func (ActivityStreamsCollection) GetActivityStreamsUrl

func (this ActivityStreamsCollection) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty

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

func (ActivityStreamsCollection) GetForgeFedTeam

func (this ActivityStreamsCollection) GetForgeFedTeam() vocab.ForgeFedTeamProperty

GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.

func (ActivityStreamsCollection) GetForgeFedTicketsTrackedBy

func (this ActivityStreamsCollection) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty

GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it exists, and nil otherwise.

func (ActivityStreamsCollection) GetForgeFedTracksTicketsFor

func (this ActivityStreamsCollection) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty

GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it exists, and nil otherwise.

func (ActivityStreamsCollection) GetJSONLDId

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

func (ActivityStreamsCollection) GetJSONLDType

func (this ActivityStreamsCollection) GetJSONLDType() vocab.JSONLDTypeProperty

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

func (ActivityStreamsCollection) GetTypeName

func (this ActivityStreamsCollection) GetTypeName() string

GetTypeName returns the name of this type.

func (ActivityStreamsCollection) GetUnknownProperties

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

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

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

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

func (ActivityStreamsCollection) JSONLDContext

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

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

func (ActivityStreamsCollection) Serialize

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

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

func (*ActivityStreamsCollection) SetActivityStreamsAltitude

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

SetActivityStreamsAltitude sets the "altitude" property.

func (*ActivityStreamsCollection) SetActivityStreamsAttachment

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

SetActivityStreamsAttachment sets the "attachment" property.

func (*ActivityStreamsCollection) SetActivityStreamsAttributedTo

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

SetActivityStreamsAttributedTo sets the "attributedTo" property.

func (*ActivityStreamsCollection) SetActivityStreamsAudience

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

SetActivityStreamsAudience sets the "audience" property.

func (*ActivityStreamsCollection) SetActivityStreamsBcc

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

SetActivityStreamsBcc sets the "bcc" property.

func (*ActivityStreamsCollection) SetActivityStreamsBto

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

SetActivityStreamsBto sets the "bto" property.

func (*ActivityStreamsCollection) SetActivityStreamsCc

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

SetActivityStreamsCc sets the "cc" property.

func (*ActivityStreamsCollection) SetActivityStreamsContent

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

SetActivityStreamsContent sets the "content" property.

func (*ActivityStreamsCollection) SetActivityStreamsContext

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

SetActivityStreamsContext sets the "context" property.

func (*ActivityStreamsCollection) SetActivityStreamsCurrent

func (this *ActivityStreamsCollection) SetActivityStreamsCurrent(i vocab.ActivityStreamsCurrentProperty)

SetActivityStreamsCurrent sets the "current" property.

func (*ActivityStreamsCollection) SetActivityStreamsDuration

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

SetActivityStreamsDuration sets the "duration" property.

func (*ActivityStreamsCollection) SetActivityStreamsEndTime

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

SetActivityStreamsEndTime sets the "endTime" property.

func (*ActivityStreamsCollection) SetActivityStreamsFirst

func (this *ActivityStreamsCollection) SetActivityStreamsFirst(i vocab.ActivityStreamsFirstProperty)

SetActivityStreamsFirst sets the "first" property.

func (*ActivityStreamsCollection) SetActivityStreamsGenerator

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

SetActivityStreamsGenerator sets the "generator" property.

func (*ActivityStreamsCollection) SetActivityStreamsIcon

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

SetActivityStreamsIcon sets the "icon" property.

func (*ActivityStreamsCollection) SetActivityStreamsImage

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

SetActivityStreamsImage sets the "image" property.

func (*ActivityStreamsCollection) SetActivityStreamsInReplyTo

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

SetActivityStreamsInReplyTo sets the "inReplyTo" property.

func (*ActivityStreamsCollection) SetActivityStreamsItems

func (this *ActivityStreamsCollection) SetActivityStreamsItems(i vocab.ActivityStreamsItemsProperty)

SetActivityStreamsItems sets the "items" property.

func (*ActivityStreamsCollection) SetActivityStreamsLast

func (this *ActivityStreamsCollection) SetActivityStreamsLast(i vocab.ActivityStreamsLastProperty)

SetActivityStreamsLast sets the "last" property.

func (*ActivityStreamsCollection) SetActivityStreamsLikes

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

SetActivityStreamsLikes sets the "likes" property.

func (*ActivityStreamsCollection) SetActivityStreamsLocation

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

SetActivityStreamsLocation sets the "location" property.

func (*ActivityStreamsCollection) SetActivityStreamsMediaType

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

SetActivityStreamsMediaType sets the "mediaType" property.

func (*ActivityStreamsCollection) SetActivityStreamsName

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

SetActivityStreamsName sets the "name" property.

func (*ActivityStreamsCollection) SetActivityStreamsObject

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

SetActivityStreamsObject sets the "object" property.

func (*ActivityStreamsCollection) SetActivityStreamsPreview

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

SetActivityStreamsPreview sets the "preview" property.

func (*ActivityStreamsCollection) SetActivityStreamsPublished

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

SetActivityStreamsPublished sets the "published" property.

func (*ActivityStreamsCollection) SetActivityStreamsReplies

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

SetActivityStreamsReplies sets the "replies" property.

func (*ActivityStreamsCollection) SetActivityStreamsSensitive

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

SetActivityStreamsSensitive sets the "sensitive" property.

func (*ActivityStreamsCollection) SetActivityStreamsShares

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

SetActivityStreamsShares sets the "shares" property.

func (*ActivityStreamsCollection) SetActivityStreamsSource

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

SetActivityStreamsSource sets the "source" property.

func (*ActivityStreamsCollection) SetActivityStreamsStartTime

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

SetActivityStreamsStartTime sets the "startTime" property.

func (*ActivityStreamsCollection) SetActivityStreamsSummary

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

SetActivityStreamsSummary sets the "summary" property.

func (*ActivityStreamsCollection) SetActivityStreamsTag

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

SetActivityStreamsTag sets the "tag" property.

func (*ActivityStreamsCollection) SetActivityStreamsTo

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

SetActivityStreamsTo sets the "to" property.

func (*ActivityStreamsCollection) SetActivityStreamsTotalItems

func (this *ActivityStreamsCollection) SetActivityStreamsTotalItems(i vocab.ActivityStreamsTotalItemsProperty)

SetActivityStreamsTotalItems sets the "totalItems" property.

func (*ActivityStreamsCollection) SetActivityStreamsUpdated

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

SetActivityStreamsUpdated sets the "updated" property.

func (*ActivityStreamsCollection) SetActivityStreamsUrl

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

SetActivityStreamsUrl sets the "url" property.

func (*ActivityStreamsCollection) SetForgeFedTeam

func (this *ActivityStreamsCollection) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)

SetForgeFedTeam sets the "team" property.

func (*ActivityStreamsCollection) SetForgeFedTicketsTrackedBy

func (this *ActivityStreamsCollection) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)

SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.

func (*ActivityStreamsCollection) SetForgeFedTracksTicketsFor

func (this *ActivityStreamsCollection) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)

SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.

func (*ActivityStreamsCollection) SetJSONLDId

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

SetJSONLDId sets the "id" property.

func (*ActivityStreamsCollection) SetJSONLDType

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

SetJSONLDType sets the "type" property.

func (ActivityStreamsCollection) VocabularyURI

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