mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-10-19 08:42:38 +02:00
7029 lines
279 KiB
Go
7029 lines
279 KiB
Go
|
// Code generated by astool. DO NOT EDIT.
|
||
|
|
||
|
package propertytag
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
vocab "github.com/go-fed/activity/streams/vocab"
|
||
|
"net/url"
|
||
|
)
|
||
|
|
||
|
// ActivityStreamsTagPropertyIterator is an iterator for a property. It is
|
||
|
// permitted to be one of multiple value types. At most, one type of value can
|
||
|
// be present, or none at all. Setting a value will clear the other types of
|
||
|
// values so that only one of the 'Is' methods will return true. It is
|
||
|
// possible to clear all values, so that this property is empty.
|
||
|
type ActivityStreamsTagPropertyIterator struct {
|
||
|
activitystreamsObjectMember vocab.ActivityStreamsObject
|
||
|
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||
|
activitystreamsAcceptMember vocab.ActivityStreamsAccept
|
||
|
activitystreamsActivityMember vocab.ActivityStreamsActivity
|
||
|
activitystreamsAddMember vocab.ActivityStreamsAdd
|
||
|
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
|
||
|
activitystreamsApplicationMember vocab.ActivityStreamsApplication
|
||
|
activitystreamsArriveMember vocab.ActivityStreamsArrive
|
||
|
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||
|
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
||
|
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
||
|
forgefedBranchMember vocab.ForgeFedBranch
|
||
|
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||
|
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||
|
forgefedCommitMember vocab.ForgeFedCommit
|
||
|
activitystreamsCreateMember vocab.ActivityStreamsCreate
|
||
|
activitystreamsDeleteMember vocab.ActivityStreamsDelete
|
||
|
activitystreamsDislikeMember vocab.ActivityStreamsDislike
|
||
|
activitystreamsDocumentMember vocab.ActivityStreamsDocument
|
||
|
tootEmojiMember vocab.TootEmoji
|
||
|
activitystreamsEventMember vocab.ActivityStreamsEvent
|
||
|
activitystreamsFlagMember vocab.ActivityStreamsFlag
|
||
|
activitystreamsFollowMember vocab.ActivityStreamsFollow
|
||
|
activitystreamsGroupMember vocab.ActivityStreamsGroup
|
||
|
tootIdentityProofMember vocab.TootIdentityProof
|
||
|
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
|
||
|
activitystreamsImageMember vocab.ActivityStreamsImage
|
||
|
activitystreamsIntransitiveActivityMember vocab.ActivityStreamsIntransitiveActivity
|
||
|
activitystreamsInviteMember vocab.ActivityStreamsInvite
|
||
|
activitystreamsJoinMember vocab.ActivityStreamsJoin
|
||
|
activitystreamsLeaveMember vocab.ActivityStreamsLeave
|
||
|
activitystreamsLikeMember vocab.ActivityStreamsLike
|
||
|
activitystreamsListenMember vocab.ActivityStreamsListen
|
||
|
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||
|
activitystreamsMoveMember vocab.ActivityStreamsMove
|
||
|
activitystreamsNoteMember vocab.ActivityStreamsNote
|
||
|
activitystreamsOfferMember vocab.ActivityStreamsOffer
|
||
|
activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection
|
||
|
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||
|
activitystreamsOrganizationMember vocab.ActivityStreamsOrganization
|
||
|
activitystreamsPageMember vocab.ActivityStreamsPage
|
||
|
activitystreamsPersonMember vocab.ActivityStreamsPerson
|
||
|
activitystreamsPlaceMember vocab.ActivityStreamsPlace
|
||
|
activitystreamsProfileMember vocab.ActivityStreamsProfile
|
||
|
forgefedPushMember vocab.ForgeFedPush
|
||
|
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
|
||
|
activitystreamsReadMember vocab.ActivityStreamsRead
|
||
|
activitystreamsRejectMember vocab.ActivityStreamsReject
|
||
|
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||
|
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||
|
forgefedRepositoryMember vocab.ForgeFedRepository
|
||
|
activitystreamsServiceMember vocab.ActivityStreamsService
|
||
|
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||
|
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||
|
forgefedTicketMember vocab.ForgeFedTicket
|
||
|
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
|
||
|
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
||
|
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
||
|
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
||
|
activitystreamsUpdateMember vocab.ActivityStreamsUpdate
|
||
|
activitystreamsVideoMember vocab.ActivityStreamsVideo
|
||
|
activitystreamsViewMember vocab.ActivityStreamsView
|
||
|
unknown interface{}
|
||
|
iri *url.URL
|
||
|
alias string
|
||
|
myIdx int
|
||
|
parent vocab.ActivityStreamsTagProperty
|
||
|
}
|
||
|
|
||
|
// NewActivityStreamsTagPropertyIterator creates a new ActivityStreamsTag property.
|
||
|
func NewActivityStreamsTagPropertyIterator() *ActivityStreamsTagPropertyIterator {
|
||
|
return &ActivityStreamsTagPropertyIterator{alias: ""}
|
||
|
}
|
||
|
|
||
|
// deserializeActivityStreamsTagPropertyIterator creates an iterator from an
|
||
|
// element that has been unmarshalled from a text or binary format.
|
||
|
func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[string]string) (*ActivityStreamsTagPropertyIterator, error) {
|
||
|
alias := ""
|
||
|
if a, ok := aliasMap["https://www.w3.org/ns/activitystreams"]; ok {
|
||
|
alias = a
|
||
|
}
|
||
|
if s, ok := i.(string); ok {
|
||
|
u, err := url.Parse(s)
|
||
|
// If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst
|
||
|
// Also, if no scheme exists, don't treat it as a URL -- net/url is greedy
|
||
|
if err == nil && len(u.Scheme) > 0 {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: alias,
|
||
|
iri: u,
|
||
|
}
|
||
|
return this, nil
|
||
|
}
|
||
|
}
|
||
|
if m, ok := i.(map[string]interface{}); ok {
|
||
|
if v, err := mgr.DeserializeObjectActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsObjectMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeLinkActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLinkMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeAcceptActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAcceptMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeActivityActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsActivityMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeAddActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAddMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAnnounceMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsApplicationMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeArriveActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsArriveMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeArticleActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsArticleMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAudioMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeBlockActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsBlockMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: alias,
|
||
|
forgefedBranchMember: v,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCollectionMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeCollectionPageActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCollectionPageMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: alias,
|
||
|
forgefedCommitMember: v,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCreateMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeDeleteActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDeleteMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeDislikeActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDislikeMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeDocumentActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDocumentMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeEmojiToot()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: alias,
|
||
|
tootEmojiMember: v,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsEventMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeFlagActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsFlagMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeFollowActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsFollowMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeGroupActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsGroupMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: alias,
|
||
|
tootIdentityProofMember: v,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeIgnoreActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsIgnoreMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeImageActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsImageMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeIntransitiveActivityActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsIntransitiveActivityMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeInviteActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsInviteMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeJoinActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsJoinMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeLeaveActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLeaveMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLikeMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsListenMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsMentionMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeMoveActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsMoveMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeNoteActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsNoteMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeOfferActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOfferMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeOrderedCollectionActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrderedCollectionMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeOrderedCollectionPageActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrderedCollectionPageMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeOrganizationActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrganizationMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializePageActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPageMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializePersonActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPersonMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializePlaceActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPlaceMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeProfileActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsProfileMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: alias,
|
||
|
forgefedPushMember: v,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsQuestionMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeReadActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsReadMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeRejectActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRejectMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeRelationshipActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRelationshipMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeRemoveActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRemoveMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: alias,
|
||
|
forgefedRepositoryMember: v,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsServiceMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeTentativeAcceptActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTentativeAcceptMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeTentativeRejectActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTentativeRejectMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: alias,
|
||
|
forgefedTicketMember: v,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: alias,
|
||
|
forgefedTicketDependencyMember: v,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTombstoneMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTravelMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeUndoActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsUndoMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeUpdateActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsUpdateMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeVideoActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsVideoMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
} else if v, err := mgr.DeserializeViewActivityStreams()(m, aliasMap); err == nil {
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsViewMember: v,
|
||
|
alias: alias,
|
||
|
}
|
||
|
return this, nil
|
||
|
}
|
||
|
}
|
||
|
this := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: alias,
|
||
|
unknown: i,
|
||
|
}
|
||
|
return this, nil
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsAccept returns the value of this property. When
|
||
|
// IsActivityStreamsAccept returns false, GetActivityStreamsAccept will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsAccept() vocab.ActivityStreamsAccept {
|
||
|
return this.activitystreamsAcceptMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsActivity returns the value of this property. When
|
||
|
// IsActivityStreamsActivity returns false, GetActivityStreamsActivity will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsActivity() vocab.ActivityStreamsActivity {
|
||
|
return this.activitystreamsActivityMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsAdd returns the value of this property. When
|
||
|
// IsActivityStreamsAdd returns false, GetActivityStreamsAdd will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsAdd() vocab.ActivityStreamsAdd {
|
||
|
return this.activitystreamsAddMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsAnnounce returns the value of this property. When
|
||
|
// IsActivityStreamsAnnounce returns false, GetActivityStreamsAnnounce will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsAnnounce() vocab.ActivityStreamsAnnounce {
|
||
|
return this.activitystreamsAnnounceMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsApplication returns the value of this property. When
|
||
|
// IsActivityStreamsApplication returns false, GetActivityStreamsApplication
|
||
|
// will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsApplication() vocab.ActivityStreamsApplication {
|
||
|
return this.activitystreamsApplicationMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsArrive returns the value of this property. When
|
||
|
// IsActivityStreamsArrive returns false, GetActivityStreamsArrive will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsArrive() vocab.ActivityStreamsArrive {
|
||
|
return this.activitystreamsArriveMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsArticle returns the value of this property. When
|
||
|
// IsActivityStreamsArticle returns false, GetActivityStreamsArticle will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsArticle() vocab.ActivityStreamsArticle {
|
||
|
return this.activitystreamsArticleMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsAudio returns the value of this property. When
|
||
|
// IsActivityStreamsAudio returns false, GetActivityStreamsAudio will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsAudio() vocab.ActivityStreamsAudio {
|
||
|
return this.activitystreamsAudioMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsBlock returns the value of this property. When
|
||
|
// IsActivityStreamsBlock returns false, GetActivityStreamsBlock will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsBlock() vocab.ActivityStreamsBlock {
|
||
|
return this.activitystreamsBlockMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsCollection returns the value of this property. When
|
||
|
// IsActivityStreamsCollection returns false, GetActivityStreamsCollection
|
||
|
// will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsCollection() vocab.ActivityStreamsCollection {
|
||
|
return this.activitystreamsCollectionMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsCollectionPage returns the value of this property. When
|
||
|
// IsActivityStreamsCollectionPage returns false,
|
||
|
// GetActivityStreamsCollectionPage will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsCollectionPage() vocab.ActivityStreamsCollectionPage {
|
||
|
return this.activitystreamsCollectionPageMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsCreate returns the value of this property. When
|
||
|
// IsActivityStreamsCreate returns false, GetActivityStreamsCreate will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsCreate() vocab.ActivityStreamsCreate {
|
||
|
return this.activitystreamsCreateMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsDelete returns the value of this property. When
|
||
|
// IsActivityStreamsDelete returns false, GetActivityStreamsDelete will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsDelete() vocab.ActivityStreamsDelete {
|
||
|
return this.activitystreamsDeleteMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsDislike returns the value of this property. When
|
||
|
// IsActivityStreamsDislike returns false, GetActivityStreamsDislike will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsDislike() vocab.ActivityStreamsDislike {
|
||
|
return this.activitystreamsDislikeMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsDocument returns the value of this property. When
|
||
|
// IsActivityStreamsDocument returns false, GetActivityStreamsDocument will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsDocument() vocab.ActivityStreamsDocument {
|
||
|
return this.activitystreamsDocumentMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsEvent returns the value of this property. When
|
||
|
// IsActivityStreamsEvent returns false, GetActivityStreamsEvent will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsEvent() vocab.ActivityStreamsEvent {
|
||
|
return this.activitystreamsEventMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsFlag returns the value of this property. When
|
||
|
// IsActivityStreamsFlag returns false, GetActivityStreamsFlag will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsFlag() vocab.ActivityStreamsFlag {
|
||
|
return this.activitystreamsFlagMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsFollow returns the value of this property. When
|
||
|
// IsActivityStreamsFollow returns false, GetActivityStreamsFollow will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsFollow() vocab.ActivityStreamsFollow {
|
||
|
return this.activitystreamsFollowMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsGroup returns the value of this property. When
|
||
|
// IsActivityStreamsGroup returns false, GetActivityStreamsGroup will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsGroup() vocab.ActivityStreamsGroup {
|
||
|
return this.activitystreamsGroupMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsIgnore returns the value of this property. When
|
||
|
// IsActivityStreamsIgnore returns false, GetActivityStreamsIgnore will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsIgnore() vocab.ActivityStreamsIgnore {
|
||
|
return this.activitystreamsIgnoreMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsImage returns the value of this property. When
|
||
|
// IsActivityStreamsImage returns false, GetActivityStreamsImage will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsImage() vocab.ActivityStreamsImage {
|
||
|
return this.activitystreamsImageMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsIntransitiveActivity returns the value of this property. When
|
||
|
// IsActivityStreamsIntransitiveActivity returns false,
|
||
|
// GetActivityStreamsIntransitiveActivity will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsIntransitiveActivity() vocab.ActivityStreamsIntransitiveActivity {
|
||
|
return this.activitystreamsIntransitiveActivityMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsInvite returns the value of this property. When
|
||
|
// IsActivityStreamsInvite returns false, GetActivityStreamsInvite will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsInvite() vocab.ActivityStreamsInvite {
|
||
|
return this.activitystreamsInviteMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsJoin returns the value of this property. When
|
||
|
// IsActivityStreamsJoin returns false, GetActivityStreamsJoin will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsJoin() vocab.ActivityStreamsJoin {
|
||
|
return this.activitystreamsJoinMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsLeave returns the value of this property. When
|
||
|
// IsActivityStreamsLeave returns false, GetActivityStreamsLeave will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsLeave() vocab.ActivityStreamsLeave {
|
||
|
return this.activitystreamsLeaveMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsLike returns the value of this property. When
|
||
|
// IsActivityStreamsLike returns false, GetActivityStreamsLike will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsLike() vocab.ActivityStreamsLike {
|
||
|
return this.activitystreamsLikeMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsLink returns the value of this property. When
|
||
|
// IsActivityStreamsLink returns false, GetActivityStreamsLink will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsLink() vocab.ActivityStreamsLink {
|
||
|
return this.activitystreamsLinkMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsListen returns the value of this property. When
|
||
|
// IsActivityStreamsListen returns false, GetActivityStreamsListen will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsListen() vocab.ActivityStreamsListen {
|
||
|
return this.activitystreamsListenMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsMention returns the value of this property. When
|
||
|
// IsActivityStreamsMention returns false, GetActivityStreamsMention will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsMention() vocab.ActivityStreamsMention {
|
||
|
return this.activitystreamsMentionMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsMove returns the value of this property. When
|
||
|
// IsActivityStreamsMove returns false, GetActivityStreamsMove will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsMove() vocab.ActivityStreamsMove {
|
||
|
return this.activitystreamsMoveMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsNote returns the value of this property. When
|
||
|
// IsActivityStreamsNote returns false, GetActivityStreamsNote will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsNote() vocab.ActivityStreamsNote {
|
||
|
return this.activitystreamsNoteMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsObject returns the value of this property. When
|
||
|
// IsActivityStreamsObject returns false, GetActivityStreamsObject will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsObject() vocab.ActivityStreamsObject {
|
||
|
return this.activitystreamsObjectMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsOffer returns the value of this property. When
|
||
|
// IsActivityStreamsOffer returns false, GetActivityStreamsOffer will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsOffer() vocab.ActivityStreamsOffer {
|
||
|
return this.activitystreamsOfferMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsOrderedCollection returns the value of this property. When
|
||
|
// IsActivityStreamsOrderedCollection returns false,
|
||
|
// GetActivityStreamsOrderedCollection will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsOrderedCollection() vocab.ActivityStreamsOrderedCollection {
|
||
|
return this.activitystreamsOrderedCollectionMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsOrderedCollectionPage returns the value of this property.
|
||
|
// When IsActivityStreamsOrderedCollectionPage returns false,
|
||
|
// GetActivityStreamsOrderedCollectionPage will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsOrderedCollectionPage() vocab.ActivityStreamsOrderedCollectionPage {
|
||
|
return this.activitystreamsOrderedCollectionPageMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsOrganization returns the value of this property. When
|
||
|
// IsActivityStreamsOrganization returns false, GetActivityStreamsOrganization
|
||
|
// will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsOrganization() vocab.ActivityStreamsOrganization {
|
||
|
return this.activitystreamsOrganizationMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsPage returns the value of this property. When
|
||
|
// IsActivityStreamsPage returns false, GetActivityStreamsPage will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsPage() vocab.ActivityStreamsPage {
|
||
|
return this.activitystreamsPageMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsPerson returns the value of this property. When
|
||
|
// IsActivityStreamsPerson returns false, GetActivityStreamsPerson will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsPerson() vocab.ActivityStreamsPerson {
|
||
|
return this.activitystreamsPersonMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsPlace returns the value of this property. When
|
||
|
// IsActivityStreamsPlace returns false, GetActivityStreamsPlace will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsPlace() vocab.ActivityStreamsPlace {
|
||
|
return this.activitystreamsPlaceMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsProfile returns the value of this property. When
|
||
|
// IsActivityStreamsProfile returns false, GetActivityStreamsProfile will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsProfile() vocab.ActivityStreamsProfile {
|
||
|
return this.activitystreamsProfileMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsQuestion returns the value of this property. When
|
||
|
// IsActivityStreamsQuestion returns false, GetActivityStreamsQuestion will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsQuestion() vocab.ActivityStreamsQuestion {
|
||
|
return this.activitystreamsQuestionMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsRead returns the value of this property. When
|
||
|
// IsActivityStreamsRead returns false, GetActivityStreamsRead will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsRead() vocab.ActivityStreamsRead {
|
||
|
return this.activitystreamsReadMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsReject returns the value of this property. When
|
||
|
// IsActivityStreamsReject returns false, GetActivityStreamsReject will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsReject() vocab.ActivityStreamsReject {
|
||
|
return this.activitystreamsRejectMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsRelationship returns the value of this property. When
|
||
|
// IsActivityStreamsRelationship returns false, GetActivityStreamsRelationship
|
||
|
// will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsRelationship() vocab.ActivityStreamsRelationship {
|
||
|
return this.activitystreamsRelationshipMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsRemove returns the value of this property. When
|
||
|
// IsActivityStreamsRemove returns false, GetActivityStreamsRemove will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsRemove() vocab.ActivityStreamsRemove {
|
||
|
return this.activitystreamsRemoveMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsService returns the value of this property. When
|
||
|
// IsActivityStreamsService returns false, GetActivityStreamsService will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsService() vocab.ActivityStreamsService {
|
||
|
return this.activitystreamsServiceMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsTentativeAccept returns the value of this property. When
|
||
|
// IsActivityStreamsTentativeAccept returns false,
|
||
|
// GetActivityStreamsTentativeAccept will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsTentativeAccept() vocab.ActivityStreamsTentativeAccept {
|
||
|
return this.activitystreamsTentativeAcceptMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsTentativeReject returns the value of this property. When
|
||
|
// IsActivityStreamsTentativeReject returns false,
|
||
|
// GetActivityStreamsTentativeReject will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsTentativeReject() vocab.ActivityStreamsTentativeReject {
|
||
|
return this.activitystreamsTentativeRejectMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsTombstone returns the value of this property. When
|
||
|
// IsActivityStreamsTombstone returns false, GetActivityStreamsTombstone will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsTombstone() vocab.ActivityStreamsTombstone {
|
||
|
return this.activitystreamsTombstoneMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsTravel returns the value of this property. When
|
||
|
// IsActivityStreamsTravel returns false, GetActivityStreamsTravel will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsTravel() vocab.ActivityStreamsTravel {
|
||
|
return this.activitystreamsTravelMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsUndo returns the value of this property. When
|
||
|
// IsActivityStreamsUndo returns false, GetActivityStreamsUndo will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsUndo() vocab.ActivityStreamsUndo {
|
||
|
return this.activitystreamsUndoMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsUpdate returns the value of this property. When
|
||
|
// IsActivityStreamsUpdate returns false, GetActivityStreamsUpdate will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsUpdate() vocab.ActivityStreamsUpdate {
|
||
|
return this.activitystreamsUpdateMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsVideo returns the value of this property. When
|
||
|
// IsActivityStreamsVideo returns false, GetActivityStreamsVideo will return
|
||
|
// an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsVideo() vocab.ActivityStreamsVideo {
|
||
|
return this.activitystreamsVideoMember
|
||
|
}
|
||
|
|
||
|
// GetActivityStreamsView returns the value of this property. When
|
||
|
// IsActivityStreamsView returns false, GetActivityStreamsView will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsView() vocab.ActivityStreamsView {
|
||
|
return this.activitystreamsViewMember
|
||
|
}
|
||
|
|
||
|
// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch
|
||
|
// returns false, GetForgeFedBranch will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch {
|
||
|
return this.forgefedBranchMember
|
||
|
}
|
||
|
|
||
|
// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit
|
||
|
// returns false, GetForgeFedCommit will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit {
|
||
|
return this.forgefedCommitMember
|
||
|
}
|
||
|
|
||
|
// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns
|
||
|
// false, GetForgeFedPush will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush {
|
||
|
return this.forgefedPushMember
|
||
|
}
|
||
|
|
||
|
// GetForgeFedRepository returns the value of this property. When
|
||
|
// IsForgeFedRepository returns false, GetForgeFedRepository will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository {
|
||
|
return this.forgefedRepositoryMember
|
||
|
}
|
||
|
|
||
|
// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket
|
||
|
// returns false, GetForgeFedTicket will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket {
|
||
|
return this.forgefedTicketMember
|
||
|
}
|
||
|
|
||
|
// GetForgeFedTicketDependency returns the value of this property. When
|
||
|
// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
|
||
|
return this.forgefedTicketDependencyMember
|
||
|
}
|
||
|
|
||
|
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||
|
// return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetIRI() *url.URL {
|
||
|
return this.iri
|
||
|
}
|
||
|
|
||
|
// GetTootEmoji returns the value of this property. When IsTootEmoji returns
|
||
|
// false, GetTootEmoji will return an arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetTootEmoji() vocab.TootEmoji {
|
||
|
return this.tootEmojiMember
|
||
|
}
|
||
|
|
||
|
// GetTootIdentityProof returns the value of this property. When
|
||
|
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
|
||
|
// arbitrary value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetTootIdentityProof() vocab.TootIdentityProof {
|
||
|
return this.tootIdentityProofMember
|
||
|
}
|
||
|
|
||
|
// GetType returns the value in this property as a Type. Returns nil if the value
|
||
|
// is not an ActivityStreams type, such as an IRI or another value.
|
||
|
func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type {
|
||
|
if this.IsActivityStreamsObject() {
|
||
|
return this.GetActivityStreamsObject()
|
||
|
}
|
||
|
if this.IsActivityStreamsLink() {
|
||
|
return this.GetActivityStreamsLink()
|
||
|
}
|
||
|
if this.IsActivityStreamsAccept() {
|
||
|
return this.GetActivityStreamsAccept()
|
||
|
}
|
||
|
if this.IsActivityStreamsActivity() {
|
||
|
return this.GetActivityStreamsActivity()
|
||
|
}
|
||
|
if this.IsActivityStreamsAdd() {
|
||
|
return this.GetActivityStreamsAdd()
|
||
|
}
|
||
|
if this.IsActivityStreamsAnnounce() {
|
||
|
return this.GetActivityStreamsAnnounce()
|
||
|
}
|
||
|
if this.IsActivityStreamsApplication() {
|
||
|
return this.GetActivityStreamsApplication()
|
||
|
}
|
||
|
if this.IsActivityStreamsArrive() {
|
||
|
return this.GetActivityStreamsArrive()
|
||
|
}
|
||
|
if this.IsActivityStreamsArticle() {
|
||
|
return this.GetActivityStreamsArticle()
|
||
|
}
|
||
|
if this.IsActivityStreamsAudio() {
|
||
|
return this.GetActivityStreamsAudio()
|
||
|
}
|
||
|
if this.IsActivityStreamsBlock() {
|
||
|
return this.GetActivityStreamsBlock()
|
||
|
}
|
||
|
if this.IsForgeFedBranch() {
|
||
|
return this.GetForgeFedBranch()
|
||
|
}
|
||
|
if this.IsActivityStreamsCollection() {
|
||
|
return this.GetActivityStreamsCollection()
|
||
|
}
|
||
|
if this.IsActivityStreamsCollectionPage() {
|
||
|
return this.GetActivityStreamsCollectionPage()
|
||
|
}
|
||
|
if this.IsForgeFedCommit() {
|
||
|
return this.GetForgeFedCommit()
|
||
|
}
|
||
|
if this.IsActivityStreamsCreate() {
|
||
|
return this.GetActivityStreamsCreate()
|
||
|
}
|
||
|
if this.IsActivityStreamsDelete() {
|
||
|
return this.GetActivityStreamsDelete()
|
||
|
}
|
||
|
if this.IsActivityStreamsDislike() {
|
||
|
return this.GetActivityStreamsDislike()
|
||
|
}
|
||
|
if this.IsActivityStreamsDocument() {
|
||
|
return this.GetActivityStreamsDocument()
|
||
|
}
|
||
|
if this.IsTootEmoji() {
|
||
|
return this.GetTootEmoji()
|
||
|
}
|
||
|
if this.IsActivityStreamsEvent() {
|
||
|
return this.GetActivityStreamsEvent()
|
||
|
}
|
||
|
if this.IsActivityStreamsFlag() {
|
||
|
return this.GetActivityStreamsFlag()
|
||
|
}
|
||
|
if this.IsActivityStreamsFollow() {
|
||
|
return this.GetActivityStreamsFollow()
|
||
|
}
|
||
|
if this.IsActivityStreamsGroup() {
|
||
|
return this.GetActivityStreamsGroup()
|
||
|
}
|
||
|
if this.IsTootIdentityProof() {
|
||
|
return this.GetTootIdentityProof()
|
||
|
}
|
||
|
if this.IsActivityStreamsIgnore() {
|
||
|
return this.GetActivityStreamsIgnore()
|
||
|
}
|
||
|
if this.IsActivityStreamsImage() {
|
||
|
return this.GetActivityStreamsImage()
|
||
|
}
|
||
|
if this.IsActivityStreamsIntransitiveActivity() {
|
||
|
return this.GetActivityStreamsIntransitiveActivity()
|
||
|
}
|
||
|
if this.IsActivityStreamsInvite() {
|
||
|
return this.GetActivityStreamsInvite()
|
||
|
}
|
||
|
if this.IsActivityStreamsJoin() {
|
||
|
return this.GetActivityStreamsJoin()
|
||
|
}
|
||
|
if this.IsActivityStreamsLeave() {
|
||
|
return this.GetActivityStreamsLeave()
|
||
|
}
|
||
|
if this.IsActivityStreamsLike() {
|
||
|
return this.GetActivityStreamsLike()
|
||
|
}
|
||
|
if this.IsActivityStreamsListen() {
|
||
|
return this.GetActivityStreamsListen()
|
||
|
}
|
||
|
if this.IsActivityStreamsMention() {
|
||
|
return this.GetActivityStreamsMention()
|
||
|
}
|
||
|
if this.IsActivityStreamsMove() {
|
||
|
return this.GetActivityStreamsMove()
|
||
|
}
|
||
|
if this.IsActivityStreamsNote() {
|
||
|
return this.GetActivityStreamsNote()
|
||
|
}
|
||
|
if this.IsActivityStreamsOffer() {
|
||
|
return this.GetActivityStreamsOffer()
|
||
|
}
|
||
|
if this.IsActivityStreamsOrderedCollection() {
|
||
|
return this.GetActivityStreamsOrderedCollection()
|
||
|
}
|
||
|
if this.IsActivityStreamsOrderedCollectionPage() {
|
||
|
return this.GetActivityStreamsOrderedCollectionPage()
|
||
|
}
|
||
|
if this.IsActivityStreamsOrganization() {
|
||
|
return this.GetActivityStreamsOrganization()
|
||
|
}
|
||
|
if this.IsActivityStreamsPage() {
|
||
|
return this.GetActivityStreamsPage()
|
||
|
}
|
||
|
if this.IsActivityStreamsPerson() {
|
||
|
return this.GetActivityStreamsPerson()
|
||
|
}
|
||
|
if this.IsActivityStreamsPlace() {
|
||
|
return this.GetActivityStreamsPlace()
|
||
|
}
|
||
|
if this.IsActivityStreamsProfile() {
|
||
|
return this.GetActivityStreamsProfile()
|
||
|
}
|
||
|
if this.IsForgeFedPush() {
|
||
|
return this.GetForgeFedPush()
|
||
|
}
|
||
|
if this.IsActivityStreamsQuestion() {
|
||
|
return this.GetActivityStreamsQuestion()
|
||
|
}
|
||
|
if this.IsActivityStreamsRead() {
|
||
|
return this.GetActivityStreamsRead()
|
||
|
}
|
||
|
if this.IsActivityStreamsReject() {
|
||
|
return this.GetActivityStreamsReject()
|
||
|
}
|
||
|
if this.IsActivityStreamsRelationship() {
|
||
|
return this.GetActivityStreamsRelationship()
|
||
|
}
|
||
|
if this.IsActivityStreamsRemove() {
|
||
|
return this.GetActivityStreamsRemove()
|
||
|
}
|
||
|
if this.IsForgeFedRepository() {
|
||
|
return this.GetForgeFedRepository()
|
||
|
}
|
||
|
if this.IsActivityStreamsService() {
|
||
|
return this.GetActivityStreamsService()
|
||
|
}
|
||
|
if this.IsActivityStreamsTentativeAccept() {
|
||
|
return this.GetActivityStreamsTentativeAccept()
|
||
|
}
|
||
|
if this.IsActivityStreamsTentativeReject() {
|
||
|
return this.GetActivityStreamsTentativeReject()
|
||
|
}
|
||
|
if this.IsForgeFedTicket() {
|
||
|
return this.GetForgeFedTicket()
|
||
|
}
|
||
|
if this.IsForgeFedTicketDependency() {
|
||
|
return this.GetForgeFedTicketDependency()
|
||
|
}
|
||
|
if this.IsActivityStreamsTombstone() {
|
||
|
return this.GetActivityStreamsTombstone()
|
||
|
}
|
||
|
if this.IsActivityStreamsTravel() {
|
||
|
return this.GetActivityStreamsTravel()
|
||
|
}
|
||
|
if this.IsActivityStreamsUndo() {
|
||
|
return this.GetActivityStreamsUndo()
|
||
|
}
|
||
|
if this.IsActivityStreamsUpdate() {
|
||
|
return this.GetActivityStreamsUpdate()
|
||
|
}
|
||
|
if this.IsActivityStreamsVideo() {
|
||
|
return this.GetActivityStreamsVideo()
|
||
|
}
|
||
|
if this.IsActivityStreamsView() {
|
||
|
return this.GetActivityStreamsView()
|
||
|
}
|
||
|
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// HasAny returns true if any of the different values is set.
|
||
|
func (this ActivityStreamsTagPropertyIterator) HasAny() bool {
|
||
|
return this.IsActivityStreamsObject() ||
|
||
|
this.IsActivityStreamsLink() ||
|
||
|
this.IsActivityStreamsAccept() ||
|
||
|
this.IsActivityStreamsActivity() ||
|
||
|
this.IsActivityStreamsAdd() ||
|
||
|
this.IsActivityStreamsAnnounce() ||
|
||
|
this.IsActivityStreamsApplication() ||
|
||
|
this.IsActivityStreamsArrive() ||
|
||
|
this.IsActivityStreamsArticle() ||
|
||
|
this.IsActivityStreamsAudio() ||
|
||
|
this.IsActivityStreamsBlock() ||
|
||
|
this.IsForgeFedBranch() ||
|
||
|
this.IsActivityStreamsCollection() ||
|
||
|
this.IsActivityStreamsCollectionPage() ||
|
||
|
this.IsForgeFedCommit() ||
|
||
|
this.IsActivityStreamsCreate() ||
|
||
|
this.IsActivityStreamsDelete() ||
|
||
|
this.IsActivityStreamsDislike() ||
|
||
|
this.IsActivityStreamsDocument() ||
|
||
|
this.IsTootEmoji() ||
|
||
|
this.IsActivityStreamsEvent() ||
|
||
|
this.IsActivityStreamsFlag() ||
|
||
|
this.IsActivityStreamsFollow() ||
|
||
|
this.IsActivityStreamsGroup() ||
|
||
|
this.IsTootIdentityProof() ||
|
||
|
this.IsActivityStreamsIgnore() ||
|
||
|
this.IsActivityStreamsImage() ||
|
||
|
this.IsActivityStreamsIntransitiveActivity() ||
|
||
|
this.IsActivityStreamsInvite() ||
|
||
|
this.IsActivityStreamsJoin() ||
|
||
|
this.IsActivityStreamsLeave() ||
|
||
|
this.IsActivityStreamsLike() ||
|
||
|
this.IsActivityStreamsListen() ||
|
||
|
this.IsActivityStreamsMention() ||
|
||
|
this.IsActivityStreamsMove() ||
|
||
|
this.IsActivityStreamsNote() ||
|
||
|
this.IsActivityStreamsOffer() ||
|
||
|
this.IsActivityStreamsOrderedCollection() ||
|
||
|
this.IsActivityStreamsOrderedCollectionPage() ||
|
||
|
this.IsActivityStreamsOrganization() ||
|
||
|
this.IsActivityStreamsPage() ||
|
||
|
this.IsActivityStreamsPerson() ||
|
||
|
this.IsActivityStreamsPlace() ||
|
||
|
this.IsActivityStreamsProfile() ||
|
||
|
this.IsForgeFedPush() ||
|
||
|
this.IsActivityStreamsQuestion() ||
|
||
|
this.IsActivityStreamsRead() ||
|
||
|
this.IsActivityStreamsReject() ||
|
||
|
this.IsActivityStreamsRelationship() ||
|
||
|
this.IsActivityStreamsRemove() ||
|
||
|
this.IsForgeFedRepository() ||
|
||
|
this.IsActivityStreamsService() ||
|
||
|
this.IsActivityStreamsTentativeAccept() ||
|
||
|
this.IsActivityStreamsTentativeReject() ||
|
||
|
this.IsForgeFedTicket() ||
|
||
|
this.IsForgeFedTicketDependency() ||
|
||
|
this.IsActivityStreamsTombstone() ||
|
||
|
this.IsActivityStreamsTravel() ||
|
||
|
this.IsActivityStreamsUndo() ||
|
||
|
this.IsActivityStreamsUpdate() ||
|
||
|
this.IsActivityStreamsVideo() ||
|
||
|
this.IsActivityStreamsView() ||
|
||
|
this.iri != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsAccept returns true if this property has a type of "Accept".
|
||
|
// When true, use the GetActivityStreamsAccept and SetActivityStreamsAccept
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsAccept() bool {
|
||
|
return this.activitystreamsAcceptMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsActivity returns true if this property has a type of
|
||
|
// "Activity". When true, use the GetActivityStreamsActivity and
|
||
|
// SetActivityStreamsActivity methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsActivity() bool {
|
||
|
return this.activitystreamsActivityMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsAdd returns true if this property has a type of "Add". When
|
||
|
// true, use the GetActivityStreamsAdd and SetActivityStreamsAdd methods to
|
||
|
// access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsAdd() bool {
|
||
|
return this.activitystreamsAddMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsAnnounce returns true if this property has a type of
|
||
|
// "Announce". When true, use the GetActivityStreamsAnnounce and
|
||
|
// SetActivityStreamsAnnounce methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsAnnounce() bool {
|
||
|
return this.activitystreamsAnnounceMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsApplication returns true if this property has a type of
|
||
|
// "Application". When true, use the GetActivityStreamsApplication and
|
||
|
// SetActivityStreamsApplication methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsApplication() bool {
|
||
|
return this.activitystreamsApplicationMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsArrive returns true if this property has a type of "Arrive".
|
||
|
// When true, use the GetActivityStreamsArrive and SetActivityStreamsArrive
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsArrive() bool {
|
||
|
return this.activitystreamsArriveMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsArticle returns true if this property has a type of "Article".
|
||
|
// When true, use the GetActivityStreamsArticle and SetActivityStreamsArticle
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsArticle() bool {
|
||
|
return this.activitystreamsArticleMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsAudio returns true if this property has a type of "Audio".
|
||
|
// When true, use the GetActivityStreamsAudio and SetActivityStreamsAudio
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsAudio() bool {
|
||
|
return this.activitystreamsAudioMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsBlock returns true if this property has a type of "Block".
|
||
|
// When true, use the GetActivityStreamsBlock and SetActivityStreamsBlock
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsBlock() bool {
|
||
|
return this.activitystreamsBlockMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsCollection returns true if this property has a type of
|
||
|
// "Collection". When true, use the GetActivityStreamsCollection and
|
||
|
// SetActivityStreamsCollection methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsCollection() bool {
|
||
|
return this.activitystreamsCollectionMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsCollectionPage returns true if this property has a type of
|
||
|
// "CollectionPage". When true, use the GetActivityStreamsCollectionPage and
|
||
|
// SetActivityStreamsCollectionPage methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsCollectionPage() bool {
|
||
|
return this.activitystreamsCollectionPageMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsCreate returns true if this property has a type of "Create".
|
||
|
// When true, use the GetActivityStreamsCreate and SetActivityStreamsCreate
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsCreate() bool {
|
||
|
return this.activitystreamsCreateMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsDelete returns true if this property has a type of "Delete".
|
||
|
// When true, use the GetActivityStreamsDelete and SetActivityStreamsDelete
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsDelete() bool {
|
||
|
return this.activitystreamsDeleteMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsDislike returns true if this property has a type of "Dislike".
|
||
|
// When true, use the GetActivityStreamsDislike and SetActivityStreamsDislike
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsDislike() bool {
|
||
|
return this.activitystreamsDislikeMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsDocument returns true if this property has a type of
|
||
|
// "Document". When true, use the GetActivityStreamsDocument and
|
||
|
// SetActivityStreamsDocument methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsDocument() bool {
|
||
|
return this.activitystreamsDocumentMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsEvent returns true if this property has a type of "Event".
|
||
|
// When true, use the GetActivityStreamsEvent and SetActivityStreamsEvent
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsEvent() bool {
|
||
|
return this.activitystreamsEventMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsFlag returns true if this property has a type of "Flag". When
|
||
|
// true, use the GetActivityStreamsFlag and SetActivityStreamsFlag methods to
|
||
|
// access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsFlag() bool {
|
||
|
return this.activitystreamsFlagMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsFollow returns true if this property has a type of "Follow".
|
||
|
// When true, use the GetActivityStreamsFollow and SetActivityStreamsFollow
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsFollow() bool {
|
||
|
return this.activitystreamsFollowMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsGroup returns true if this property has a type of "Group".
|
||
|
// When true, use the GetActivityStreamsGroup and SetActivityStreamsGroup
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsGroup() bool {
|
||
|
return this.activitystreamsGroupMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsIgnore returns true if this property has a type of "Ignore".
|
||
|
// When true, use the GetActivityStreamsIgnore and SetActivityStreamsIgnore
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsIgnore() bool {
|
||
|
return this.activitystreamsIgnoreMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsImage returns true if this property has a type of "Image".
|
||
|
// When true, use the GetActivityStreamsImage and SetActivityStreamsImage
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsImage() bool {
|
||
|
return this.activitystreamsImageMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsIntransitiveActivity returns true if this property has a type
|
||
|
// of "IntransitiveActivity". When true, use the
|
||
|
// GetActivityStreamsIntransitiveActivity and
|
||
|
// SetActivityStreamsIntransitiveActivity methods to access and set this
|
||
|
// property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsIntransitiveActivity() bool {
|
||
|
return this.activitystreamsIntransitiveActivityMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsInvite returns true if this property has a type of "Invite".
|
||
|
// When true, use the GetActivityStreamsInvite and SetActivityStreamsInvite
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsInvite() bool {
|
||
|
return this.activitystreamsInviteMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsJoin returns true if this property has a type of "Join". When
|
||
|
// true, use the GetActivityStreamsJoin and SetActivityStreamsJoin methods to
|
||
|
// access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsJoin() bool {
|
||
|
return this.activitystreamsJoinMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsLeave returns true if this property has a type of "Leave".
|
||
|
// When true, use the GetActivityStreamsLeave and SetActivityStreamsLeave
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsLeave() bool {
|
||
|
return this.activitystreamsLeaveMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsLike returns true if this property has a type of "Like". When
|
||
|
// true, use the GetActivityStreamsLike and SetActivityStreamsLike methods to
|
||
|
// access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsLike() bool {
|
||
|
return this.activitystreamsLikeMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsLink returns true if this property has a type of "Link". When
|
||
|
// true, use the GetActivityStreamsLink and SetActivityStreamsLink methods to
|
||
|
// access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsLink() bool {
|
||
|
return this.activitystreamsLinkMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsListen returns true if this property has a type of "Listen".
|
||
|
// When true, use the GetActivityStreamsListen and SetActivityStreamsListen
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsListen() bool {
|
||
|
return this.activitystreamsListenMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsMention returns true if this property has a type of "Mention".
|
||
|
// When true, use the GetActivityStreamsMention and SetActivityStreamsMention
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsMention() bool {
|
||
|
return this.activitystreamsMentionMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsMove returns true if this property has a type of "Move". When
|
||
|
// true, use the GetActivityStreamsMove and SetActivityStreamsMove methods to
|
||
|
// access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsMove() bool {
|
||
|
return this.activitystreamsMoveMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsNote returns true if this property has a type of "Note". When
|
||
|
// true, use the GetActivityStreamsNote and SetActivityStreamsNote methods to
|
||
|
// access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsNote() bool {
|
||
|
return this.activitystreamsNoteMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsObject returns true if this property has a type of "Object".
|
||
|
// When true, use the GetActivityStreamsObject and SetActivityStreamsObject
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsObject() bool {
|
||
|
return this.activitystreamsObjectMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsOffer returns true if this property has a type of "Offer".
|
||
|
// When true, use the GetActivityStreamsOffer and SetActivityStreamsOffer
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsOffer() bool {
|
||
|
return this.activitystreamsOfferMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsOrderedCollection returns true if this property has a type of
|
||
|
// "OrderedCollection". When true, use the GetActivityStreamsOrderedCollection
|
||
|
// and SetActivityStreamsOrderedCollection methods to access and set this
|
||
|
// property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsOrderedCollection() bool {
|
||
|
return this.activitystreamsOrderedCollectionMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsOrderedCollectionPage returns true if this property has a type
|
||
|
// of "OrderedCollectionPage". When true, use the
|
||
|
// GetActivityStreamsOrderedCollectionPage and
|
||
|
// SetActivityStreamsOrderedCollectionPage methods to access and set this
|
||
|
// property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsOrderedCollectionPage() bool {
|
||
|
return this.activitystreamsOrderedCollectionPageMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsOrganization returns true if this property has a type of
|
||
|
// "Organization". When true, use the GetActivityStreamsOrganization and
|
||
|
// SetActivityStreamsOrganization methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsOrganization() bool {
|
||
|
return this.activitystreamsOrganizationMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsPage returns true if this property has a type of "Page". When
|
||
|
// true, use the GetActivityStreamsPage and SetActivityStreamsPage methods to
|
||
|
// access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsPage() bool {
|
||
|
return this.activitystreamsPageMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsPerson returns true if this property has a type of "Person".
|
||
|
// When true, use the GetActivityStreamsPerson and SetActivityStreamsPerson
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsPerson() bool {
|
||
|
return this.activitystreamsPersonMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsPlace returns true if this property has a type of "Place".
|
||
|
// When true, use the GetActivityStreamsPlace and SetActivityStreamsPlace
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsPlace() bool {
|
||
|
return this.activitystreamsPlaceMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsProfile returns true if this property has a type of "Profile".
|
||
|
// When true, use the GetActivityStreamsProfile and SetActivityStreamsProfile
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsProfile() bool {
|
||
|
return this.activitystreamsProfileMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsQuestion returns true if this property has a type of
|
||
|
// "Question". When true, use the GetActivityStreamsQuestion and
|
||
|
// SetActivityStreamsQuestion methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsQuestion() bool {
|
||
|
return this.activitystreamsQuestionMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsRead returns true if this property has a type of "Read". When
|
||
|
// true, use the GetActivityStreamsRead and SetActivityStreamsRead methods to
|
||
|
// access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsRead() bool {
|
||
|
return this.activitystreamsReadMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsReject returns true if this property has a type of "Reject".
|
||
|
// When true, use the GetActivityStreamsReject and SetActivityStreamsReject
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsReject() bool {
|
||
|
return this.activitystreamsRejectMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsRelationship returns true if this property has a type of
|
||
|
// "Relationship". When true, use the GetActivityStreamsRelationship and
|
||
|
// SetActivityStreamsRelationship methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsRelationship() bool {
|
||
|
return this.activitystreamsRelationshipMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsRemove returns true if this property has a type of "Remove".
|
||
|
// When true, use the GetActivityStreamsRemove and SetActivityStreamsRemove
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsRemove() bool {
|
||
|
return this.activitystreamsRemoveMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsService returns true if this property has a type of "Service".
|
||
|
// When true, use the GetActivityStreamsService and SetActivityStreamsService
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsService() bool {
|
||
|
return this.activitystreamsServiceMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsTentativeAccept returns true if this property has a type of
|
||
|
// "TentativeAccept". When true, use the GetActivityStreamsTentativeAccept and
|
||
|
// SetActivityStreamsTentativeAccept methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsTentativeAccept() bool {
|
||
|
return this.activitystreamsTentativeAcceptMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsTentativeReject returns true if this property has a type of
|
||
|
// "TentativeReject". When true, use the GetActivityStreamsTentativeReject and
|
||
|
// SetActivityStreamsTentativeReject methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsTentativeReject() bool {
|
||
|
return this.activitystreamsTentativeRejectMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsTombstone returns true if this property has a type of
|
||
|
// "Tombstone". When true, use the GetActivityStreamsTombstone and
|
||
|
// SetActivityStreamsTombstone methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsTombstone() bool {
|
||
|
return this.activitystreamsTombstoneMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsTravel returns true if this property has a type of "Travel".
|
||
|
// When true, use the GetActivityStreamsTravel and SetActivityStreamsTravel
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsTravel() bool {
|
||
|
return this.activitystreamsTravelMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsUndo returns true if this property has a type of "Undo". When
|
||
|
// true, use the GetActivityStreamsUndo and SetActivityStreamsUndo methods to
|
||
|
// access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsUndo() bool {
|
||
|
return this.activitystreamsUndoMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsUpdate returns true if this property has a type of "Update".
|
||
|
// When true, use the GetActivityStreamsUpdate and SetActivityStreamsUpdate
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsUpdate() bool {
|
||
|
return this.activitystreamsUpdateMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsVideo returns true if this property has a type of "Video".
|
||
|
// When true, use the GetActivityStreamsVideo and SetActivityStreamsVideo
|
||
|
// methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsVideo() bool {
|
||
|
return this.activitystreamsVideoMember != nil
|
||
|
}
|
||
|
|
||
|
// IsActivityStreamsView returns true if this property has a type of "View". When
|
||
|
// true, use the GetActivityStreamsView and SetActivityStreamsView methods to
|
||
|
// access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsView() bool {
|
||
|
return this.activitystreamsViewMember != nil
|
||
|
}
|
||
|
|
||
|
// IsForgeFedBranch returns true if this property has a type of "Branch". When
|
||
|
// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and
|
||
|
// set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsForgeFedBranch() bool {
|
||
|
return this.forgefedBranchMember != nil
|
||
|
}
|
||
|
|
||
|
// IsForgeFedCommit returns true if this property has a type of "Commit". When
|
||
|
// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and
|
||
|
// set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsForgeFedCommit() bool {
|
||
|
return this.forgefedCommitMember != nil
|
||
|
}
|
||
|
|
||
|
// IsForgeFedPush returns true if this property has a type of "Push". When true,
|
||
|
// use the GetForgeFedPush and SetForgeFedPush methods to access and set this
|
||
|
// property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsForgeFedPush() bool {
|
||
|
return this.forgefedPushMember != nil
|
||
|
}
|
||
|
|
||
|
// IsForgeFedRepository returns true if this property has a type of "Repository".
|
||
|
// When true, use the GetForgeFedRepository and SetForgeFedRepository methods
|
||
|
// to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsForgeFedRepository() bool {
|
||
|
return this.forgefedRepositoryMember != nil
|
||
|
}
|
||
|
|
||
|
// IsForgeFedTicket returns true if this property has a type of "Ticket". When
|
||
|
// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and
|
||
|
// set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsForgeFedTicket() bool {
|
||
|
return this.forgefedTicketMember != nil
|
||
|
}
|
||
|
|
||
|
// IsForgeFedTicketDependency returns true if this property has a type of
|
||
|
// "TicketDependency". When true, use the GetForgeFedTicketDependency and
|
||
|
// SetForgeFedTicketDependency methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsForgeFedTicketDependency() bool {
|
||
|
return this.forgefedTicketDependencyMember != nil
|
||
|
}
|
||
|
|
||
|
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
|
||
|
// to access and set this property
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsIRI() bool {
|
||
|
return this.iri != nil
|
||
|
}
|
||
|
|
||
|
// IsTootEmoji returns true if this property has a type of "Emoji". When true, use
|
||
|
// the GetTootEmoji and SetTootEmoji methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsTootEmoji() bool {
|
||
|
return this.tootEmojiMember != nil
|
||
|
}
|
||
|
|
||
|
// IsTootIdentityProof returns true if this property has a type of
|
||
|
// "IdentityProof". When true, use the GetTootIdentityProof and
|
||
|
// SetTootIdentityProof methods to access and set this property.
|
||
|
func (this ActivityStreamsTagPropertyIterator) IsTootIdentityProof() bool {
|
||
|
return this.tootIdentityProofMember != nil
|
||
|
}
|
||
|
|
||
|
// JSONLDContext returns the JSONLD URIs required in the context string for this
|
||
|
// property and the specific values that are set. The value in the map is the
|
||
|
// alias used to import the property's value or values.
|
||
|
func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string {
|
||
|
m := map[string]string{"https://www.w3.org/ns/activitystreams": this.alias}
|
||
|
var child map[string]string
|
||
|
if this.IsActivityStreamsObject() {
|
||
|
child = this.GetActivityStreamsObject().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsLink() {
|
||
|
child = this.GetActivityStreamsLink().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsAccept() {
|
||
|
child = this.GetActivityStreamsAccept().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsActivity() {
|
||
|
child = this.GetActivityStreamsActivity().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsAdd() {
|
||
|
child = this.GetActivityStreamsAdd().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsAnnounce() {
|
||
|
child = this.GetActivityStreamsAnnounce().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsApplication() {
|
||
|
child = this.GetActivityStreamsApplication().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsArrive() {
|
||
|
child = this.GetActivityStreamsArrive().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsArticle() {
|
||
|
child = this.GetActivityStreamsArticle().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsAudio() {
|
||
|
child = this.GetActivityStreamsAudio().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsBlock() {
|
||
|
child = this.GetActivityStreamsBlock().JSONLDContext()
|
||
|
} else if this.IsForgeFedBranch() {
|
||
|
child = this.GetForgeFedBranch().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsCollection() {
|
||
|
child = this.GetActivityStreamsCollection().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsCollectionPage() {
|
||
|
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||
|
} else if this.IsForgeFedCommit() {
|
||
|
child = this.GetForgeFedCommit().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsCreate() {
|
||
|
child = this.GetActivityStreamsCreate().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsDelete() {
|
||
|
child = this.GetActivityStreamsDelete().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsDislike() {
|
||
|
child = this.GetActivityStreamsDislike().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsDocument() {
|
||
|
child = this.GetActivityStreamsDocument().JSONLDContext()
|
||
|
} else if this.IsTootEmoji() {
|
||
|
child = this.GetTootEmoji().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsEvent() {
|
||
|
child = this.GetActivityStreamsEvent().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsFlag() {
|
||
|
child = this.GetActivityStreamsFlag().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsFollow() {
|
||
|
child = this.GetActivityStreamsFollow().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsGroup() {
|
||
|
child = this.GetActivityStreamsGroup().JSONLDContext()
|
||
|
} else if this.IsTootIdentityProof() {
|
||
|
child = this.GetTootIdentityProof().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsIgnore() {
|
||
|
child = this.GetActivityStreamsIgnore().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsImage() {
|
||
|
child = this.GetActivityStreamsImage().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsIntransitiveActivity() {
|
||
|
child = this.GetActivityStreamsIntransitiveActivity().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsInvite() {
|
||
|
child = this.GetActivityStreamsInvite().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsJoin() {
|
||
|
child = this.GetActivityStreamsJoin().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsLeave() {
|
||
|
child = this.GetActivityStreamsLeave().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsLike() {
|
||
|
child = this.GetActivityStreamsLike().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsListen() {
|
||
|
child = this.GetActivityStreamsListen().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsMention() {
|
||
|
child = this.GetActivityStreamsMention().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsMove() {
|
||
|
child = this.GetActivityStreamsMove().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsNote() {
|
||
|
child = this.GetActivityStreamsNote().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsOffer() {
|
||
|
child = this.GetActivityStreamsOffer().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsOrderedCollection() {
|
||
|
child = this.GetActivityStreamsOrderedCollection().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||
|
child = this.GetActivityStreamsOrderedCollectionPage().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsOrganization() {
|
||
|
child = this.GetActivityStreamsOrganization().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsPage() {
|
||
|
child = this.GetActivityStreamsPage().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsPerson() {
|
||
|
child = this.GetActivityStreamsPerson().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsPlace() {
|
||
|
child = this.GetActivityStreamsPlace().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsProfile() {
|
||
|
child = this.GetActivityStreamsProfile().JSONLDContext()
|
||
|
} else if this.IsForgeFedPush() {
|
||
|
child = this.GetForgeFedPush().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsQuestion() {
|
||
|
child = this.GetActivityStreamsQuestion().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsRead() {
|
||
|
child = this.GetActivityStreamsRead().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsReject() {
|
||
|
child = this.GetActivityStreamsReject().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsRelationship() {
|
||
|
child = this.GetActivityStreamsRelationship().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsRemove() {
|
||
|
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||
|
} else if this.IsForgeFedRepository() {
|
||
|
child = this.GetForgeFedRepository().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsService() {
|
||
|
child = this.GetActivityStreamsService().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||
|
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsTentativeReject() {
|
||
|
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
||
|
} else if this.IsForgeFedTicket() {
|
||
|
child = this.GetForgeFedTicket().JSONLDContext()
|
||
|
} else if this.IsForgeFedTicketDependency() {
|
||
|
child = this.GetForgeFedTicketDependency().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsTombstone() {
|
||
|
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsTravel() {
|
||
|
child = this.GetActivityStreamsTravel().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsUndo() {
|
||
|
child = this.GetActivityStreamsUndo().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsUpdate() {
|
||
|
child = this.GetActivityStreamsUpdate().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsVideo() {
|
||
|
child = this.GetActivityStreamsVideo().JSONLDContext()
|
||
|
} else if this.IsActivityStreamsView() {
|
||
|
child = this.GetActivityStreamsView().JSONLDContext()
|
||
|
}
|
||
|
/*
|
||
|
Since the literal maps in this function are determined at
|
||
|
code-generation time, this loop should not overwrite an existing key with a
|
||
|
new value.
|
||
|
*/
|
||
|
for k, v := range child {
|
||
|
m[k] = v
|
||
|
}
|
||
|
return m
|
||
|
}
|
||
|
|
||
|
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||
|
// a leaky API detail only for folks looking to replace the go-fed
|
||
|
// implementation. Applications should not use this method.
|
||
|
func (this ActivityStreamsTagPropertyIterator) KindIndex() int {
|
||
|
if this.IsActivityStreamsObject() {
|
||
|
return 0
|
||
|
}
|
||
|
if this.IsActivityStreamsLink() {
|
||
|
return 1
|
||
|
}
|
||
|
if this.IsActivityStreamsAccept() {
|
||
|
return 2
|
||
|
}
|
||
|
if this.IsActivityStreamsActivity() {
|
||
|
return 3
|
||
|
}
|
||
|
if this.IsActivityStreamsAdd() {
|
||
|
return 4
|
||
|
}
|
||
|
if this.IsActivityStreamsAnnounce() {
|
||
|
return 5
|
||
|
}
|
||
|
if this.IsActivityStreamsApplication() {
|
||
|
return 6
|
||
|
}
|
||
|
if this.IsActivityStreamsArrive() {
|
||
|
return 7
|
||
|
}
|
||
|
if this.IsActivityStreamsArticle() {
|
||
|
return 8
|
||
|
}
|
||
|
if this.IsActivityStreamsAudio() {
|
||
|
return 9
|
||
|
}
|
||
|
if this.IsActivityStreamsBlock() {
|
||
|
return 10
|
||
|
}
|
||
|
if this.IsForgeFedBranch() {
|
||
|
return 11
|
||
|
}
|
||
|
if this.IsActivityStreamsCollection() {
|
||
|
return 12
|
||
|
}
|
||
|
if this.IsActivityStreamsCollectionPage() {
|
||
|
return 13
|
||
|
}
|
||
|
if this.IsForgeFedCommit() {
|
||
|
return 14
|
||
|
}
|
||
|
if this.IsActivityStreamsCreate() {
|
||
|
return 15
|
||
|
}
|
||
|
if this.IsActivityStreamsDelete() {
|
||
|
return 16
|
||
|
}
|
||
|
if this.IsActivityStreamsDislike() {
|
||
|
return 17
|
||
|
}
|
||
|
if this.IsActivityStreamsDocument() {
|
||
|
return 18
|
||
|
}
|
||
|
if this.IsTootEmoji() {
|
||
|
return 19
|
||
|
}
|
||
|
if this.IsActivityStreamsEvent() {
|
||
|
return 20
|
||
|
}
|
||
|
if this.IsActivityStreamsFlag() {
|
||
|
return 21
|
||
|
}
|
||
|
if this.IsActivityStreamsFollow() {
|
||
|
return 22
|
||
|
}
|
||
|
if this.IsActivityStreamsGroup() {
|
||
|
return 23
|
||
|
}
|
||
|
if this.IsTootIdentityProof() {
|
||
|
return 24
|
||
|
}
|
||
|
if this.IsActivityStreamsIgnore() {
|
||
|
return 25
|
||
|
}
|
||
|
if this.IsActivityStreamsImage() {
|
||
|
return 26
|
||
|
}
|
||
|
if this.IsActivityStreamsIntransitiveActivity() {
|
||
|
return 27
|
||
|
}
|
||
|
if this.IsActivityStreamsInvite() {
|
||
|
return 28
|
||
|
}
|
||
|
if this.IsActivityStreamsJoin() {
|
||
|
return 29
|
||
|
}
|
||
|
if this.IsActivityStreamsLeave() {
|
||
|
return 30
|
||
|
}
|
||
|
if this.IsActivityStreamsLike() {
|
||
|
return 31
|
||
|
}
|
||
|
if this.IsActivityStreamsListen() {
|
||
|
return 32
|
||
|
}
|
||
|
if this.IsActivityStreamsMention() {
|
||
|
return 33
|
||
|
}
|
||
|
if this.IsActivityStreamsMove() {
|
||
|
return 34
|
||
|
}
|
||
|
if this.IsActivityStreamsNote() {
|
||
|
return 35
|
||
|
}
|
||
|
if this.IsActivityStreamsOffer() {
|
||
|
return 36
|
||
|
}
|
||
|
if this.IsActivityStreamsOrderedCollection() {
|
||
|
return 37
|
||
|
}
|
||
|
if this.IsActivityStreamsOrderedCollectionPage() {
|
||
|
return 38
|
||
|
}
|
||
|
if this.IsActivityStreamsOrganization() {
|
||
|
return 39
|
||
|
}
|
||
|
if this.IsActivityStreamsPage() {
|
||
|
return 40
|
||
|
}
|
||
|
if this.IsActivityStreamsPerson() {
|
||
|
return 41
|
||
|
}
|
||
|
if this.IsActivityStreamsPlace() {
|
||
|
return 42
|
||
|
}
|
||
|
if this.IsActivityStreamsProfile() {
|
||
|
return 43
|
||
|
}
|
||
|
if this.IsForgeFedPush() {
|
||
|
return 44
|
||
|
}
|
||
|
if this.IsActivityStreamsQuestion() {
|
||
|
return 45
|
||
|
}
|
||
|
if this.IsActivityStreamsRead() {
|
||
|
return 46
|
||
|
}
|
||
|
if this.IsActivityStreamsReject() {
|
||
|
return 47
|
||
|
}
|
||
|
if this.IsActivityStreamsRelationship() {
|
||
|
return 48
|
||
|
}
|
||
|
if this.IsActivityStreamsRemove() {
|
||
|
return 49
|
||
|
}
|
||
|
if this.IsForgeFedRepository() {
|
||
|
return 50
|
||
|
}
|
||
|
if this.IsActivityStreamsService() {
|
||
|
return 51
|
||
|
}
|
||
|
if this.IsActivityStreamsTentativeAccept() {
|
||
|
return 52
|
||
|
}
|
||
|
if this.IsActivityStreamsTentativeReject() {
|
||
|
return 53
|
||
|
}
|
||
|
if this.IsForgeFedTicket() {
|
||
|
return 54
|
||
|
}
|
||
|
if this.IsForgeFedTicketDependency() {
|
||
|
return 55
|
||
|
}
|
||
|
if this.IsActivityStreamsTombstone() {
|
||
|
return 56
|
||
|
}
|
||
|
if this.IsActivityStreamsTravel() {
|
||
|
return 57
|
||
|
}
|
||
|
if this.IsActivityStreamsUndo() {
|
||
|
return 58
|
||
|
}
|
||
|
if this.IsActivityStreamsUpdate() {
|
||
|
return 59
|
||
|
}
|
||
|
if this.IsActivityStreamsVideo() {
|
||
|
return 60
|
||
|
}
|
||
|
if this.IsActivityStreamsView() {
|
||
|
return 61
|
||
|
}
|
||
|
if this.IsIRI() {
|
||
|
return -2
|
||
|
}
|
||
|
return -1
|
||
|
}
|
||
|
|
||
|
// LessThan compares two instances of this property with an arbitrary but stable
|
||
|
// comparison. Applications should not use this because it is only meant to
|
||
|
// help alternative implementations to go-fed to be able to normalize
|
||
|
// nonfunctional properties.
|
||
|
func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsTagPropertyIterator) bool {
|
||
|
idx1 := this.KindIndex()
|
||
|
idx2 := o.KindIndex()
|
||
|
if idx1 < idx2 {
|
||
|
return true
|
||
|
} else if idx1 > idx2 {
|
||
|
return false
|
||
|
} else if this.IsActivityStreamsObject() {
|
||
|
return this.GetActivityStreamsObject().LessThan(o.GetActivityStreamsObject())
|
||
|
} else if this.IsActivityStreamsLink() {
|
||
|
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||
|
} else if this.IsActivityStreamsAccept() {
|
||
|
return this.GetActivityStreamsAccept().LessThan(o.GetActivityStreamsAccept())
|
||
|
} else if this.IsActivityStreamsActivity() {
|
||
|
return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity())
|
||
|
} else if this.IsActivityStreamsAdd() {
|
||
|
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
|
||
|
} else if this.IsActivityStreamsAnnounce() {
|
||
|
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
|
||
|
} else if this.IsActivityStreamsApplication() {
|
||
|
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
|
||
|
} else if this.IsActivityStreamsArrive() {
|
||
|
return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive())
|
||
|
} else if this.IsActivityStreamsArticle() {
|
||
|
return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle())
|
||
|
} else if this.IsActivityStreamsAudio() {
|
||
|
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
||
|
} else if this.IsActivityStreamsBlock() {
|
||
|
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
|
||
|
} else if this.IsForgeFedBranch() {
|
||
|
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
|
||
|
} else if this.IsActivityStreamsCollection() {
|
||
|
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
||
|
} else if this.IsActivityStreamsCollectionPage() {
|
||
|
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||
|
} else if this.IsForgeFedCommit() {
|
||
|
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
|
||
|
} else if this.IsActivityStreamsCreate() {
|
||
|
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
|
||
|
} else if this.IsActivityStreamsDelete() {
|
||
|
return this.GetActivityStreamsDelete().LessThan(o.GetActivityStreamsDelete())
|
||
|
} else if this.IsActivityStreamsDislike() {
|
||
|
return this.GetActivityStreamsDislike().LessThan(o.GetActivityStreamsDislike())
|
||
|
} else if this.IsActivityStreamsDocument() {
|
||
|
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
|
||
|
} else if this.IsTootEmoji() {
|
||
|
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
|
||
|
} else if this.IsActivityStreamsEvent() {
|
||
|
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
|
||
|
} else if this.IsActivityStreamsFlag() {
|
||
|
return this.GetActivityStreamsFlag().LessThan(o.GetActivityStreamsFlag())
|
||
|
} else if this.IsActivityStreamsFollow() {
|
||
|
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
|
||
|
} else if this.IsActivityStreamsGroup() {
|
||
|
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
|
||
|
} else if this.IsTootIdentityProof() {
|
||
|
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
|
||
|
} else if this.IsActivityStreamsIgnore() {
|
||
|
return this.GetActivityStreamsIgnore().LessThan(o.GetActivityStreamsIgnore())
|
||
|
} else if this.IsActivityStreamsImage() {
|
||
|
return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage())
|
||
|
} else if this.IsActivityStreamsIntransitiveActivity() {
|
||
|
return this.GetActivityStreamsIntransitiveActivity().LessThan(o.GetActivityStreamsIntransitiveActivity())
|
||
|
} else if this.IsActivityStreamsInvite() {
|
||
|
return this.GetActivityStreamsInvite().LessThan(o.GetActivityStreamsInvite())
|
||
|
} else if this.IsActivityStreamsJoin() {
|
||
|
return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin())
|
||
|
} else if this.IsActivityStreamsLeave() {
|
||
|
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
|
||
|
} else if this.IsActivityStreamsLike() {
|
||
|
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
|
||
|
} else if this.IsActivityStreamsListen() {
|
||
|
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
|
||
|
} else if this.IsActivityStreamsMention() {
|
||
|
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||
|
} else if this.IsActivityStreamsMove() {
|
||
|
return this.GetActivityStreamsMove().LessThan(o.GetActivityStreamsMove())
|
||
|
} else if this.IsActivityStreamsNote() {
|
||
|
return this.GetActivityStreamsNote().LessThan(o.GetActivityStreamsNote())
|
||
|
} else if this.IsActivityStreamsOffer() {
|
||
|
return this.GetActivityStreamsOffer().LessThan(o.GetActivityStreamsOffer())
|
||
|
} else if this.IsActivityStreamsOrderedCollection() {
|
||
|
return this.GetActivityStreamsOrderedCollection().LessThan(o.GetActivityStreamsOrderedCollection())
|
||
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||
|
return this.GetActivityStreamsOrderedCollectionPage().LessThan(o.GetActivityStreamsOrderedCollectionPage())
|
||
|
} else if this.IsActivityStreamsOrganization() {
|
||
|
return this.GetActivityStreamsOrganization().LessThan(o.GetActivityStreamsOrganization())
|
||
|
} else if this.IsActivityStreamsPage() {
|
||
|
return this.GetActivityStreamsPage().LessThan(o.GetActivityStreamsPage())
|
||
|
} else if this.IsActivityStreamsPerson() {
|
||
|
return this.GetActivityStreamsPerson().LessThan(o.GetActivityStreamsPerson())
|
||
|
} else if this.IsActivityStreamsPlace() {
|
||
|
return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace())
|
||
|
} else if this.IsActivityStreamsProfile() {
|
||
|
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
|
||
|
} else if this.IsForgeFedPush() {
|
||
|
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
|
||
|
} else if this.IsActivityStreamsQuestion() {
|
||
|
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
|
||
|
} else if this.IsActivityStreamsRead() {
|
||
|
return this.GetActivityStreamsRead().LessThan(o.GetActivityStreamsRead())
|
||
|
} else if this.IsActivityStreamsReject() {
|
||
|
return this.GetActivityStreamsReject().LessThan(o.GetActivityStreamsReject())
|
||
|
} else if this.IsActivityStreamsRelationship() {
|
||
|
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
|
||
|
} else if this.IsActivityStreamsRemove() {
|
||
|
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||
|
} else if this.IsForgeFedRepository() {
|
||
|
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
|
||
|
} else if this.IsActivityStreamsService() {
|
||
|
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||
|
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
|
||
|
} else if this.IsActivityStreamsTentativeReject() {
|
||
|
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
|
||
|
} else if this.IsForgeFedTicket() {
|
||
|
return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket())
|
||
|
} else if this.IsForgeFedTicketDependency() {
|
||
|
return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency())
|
||
|
} else if this.IsActivityStreamsTombstone() {
|
||
|
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
||
|
} else if this.IsActivityStreamsTravel() {
|
||
|
return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel())
|
||
|
} else if this.IsActivityStreamsUndo() {
|
||
|
return this.GetActivityStreamsUndo().LessThan(o.GetActivityStreamsUndo())
|
||
|
} else if this.IsActivityStreamsUpdate() {
|
||
|
return this.GetActivityStreamsUpdate().LessThan(o.GetActivityStreamsUpdate())
|
||
|
} else if this.IsActivityStreamsVideo() {
|
||
|
return this.GetActivityStreamsVideo().LessThan(o.GetActivityStreamsVideo())
|
||
|
} else if this.IsActivityStreamsView() {
|
||
|
return this.GetActivityStreamsView().LessThan(o.GetActivityStreamsView())
|
||
|
} else if this.IsIRI() {
|
||
|
return this.iri.String() < o.GetIRI().String()
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
// Name returns the name of this property: "ActivityStreamsTag".
|
||
|
func (this ActivityStreamsTagPropertyIterator) Name() string {
|
||
|
if len(this.alias) > 0 {
|
||
|
return this.alias + ":" + "ActivityStreamsTag"
|
||
|
} else {
|
||
|
return "ActivityStreamsTag"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Next returns the next iterator, or nil if there is no next iterator.
|
||
|
func (this ActivityStreamsTagPropertyIterator) Next() vocab.ActivityStreamsTagPropertyIterator {
|
||
|
if this.myIdx+1 >= this.parent.Len() {
|
||
|
return nil
|
||
|
} else {
|
||
|
return this.parent.At(this.myIdx + 1)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Prev returns the previous iterator, or nil if there is no previous iterator.
|
||
|
func (this ActivityStreamsTagPropertyIterator) Prev() vocab.ActivityStreamsTagPropertyIterator {
|
||
|
if this.myIdx-1 < 0 {
|
||
|
return nil
|
||
|
} else {
|
||
|
return this.parent.At(this.myIdx - 1)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsAccept sets the value of this property. Calling
|
||
|
// IsActivityStreamsAccept afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsAccept(v vocab.ActivityStreamsAccept) {
|
||
|
this.clear()
|
||
|
this.activitystreamsAcceptMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsActivity sets the value of this property. Calling
|
||
|
// IsActivityStreamsActivity afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsActivity(v vocab.ActivityStreamsActivity) {
|
||
|
this.clear()
|
||
|
this.activitystreamsActivityMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsAdd sets the value of this property. Calling
|
||
|
// IsActivityStreamsAdd afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsAdd(v vocab.ActivityStreamsAdd) {
|
||
|
this.clear()
|
||
|
this.activitystreamsAddMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsAnnounce sets the value of this property. Calling
|
||
|
// IsActivityStreamsAnnounce afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) {
|
||
|
this.clear()
|
||
|
this.activitystreamsAnnounceMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsApplication sets the value of this property. Calling
|
||
|
// IsActivityStreamsApplication afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsApplication(v vocab.ActivityStreamsApplication) {
|
||
|
this.clear()
|
||
|
this.activitystreamsApplicationMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsArrive sets the value of this property. Calling
|
||
|
// IsActivityStreamsArrive afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsArrive(v vocab.ActivityStreamsArrive) {
|
||
|
this.clear()
|
||
|
this.activitystreamsArriveMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsArticle sets the value of this property. Calling
|
||
|
// IsActivityStreamsArticle afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsArticle(v vocab.ActivityStreamsArticle) {
|
||
|
this.clear()
|
||
|
this.activitystreamsArticleMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsAudio sets the value of this property. Calling
|
||
|
// IsActivityStreamsAudio afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsAudio(v vocab.ActivityStreamsAudio) {
|
||
|
this.clear()
|
||
|
this.activitystreamsAudioMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsBlock sets the value of this property. Calling
|
||
|
// IsActivityStreamsBlock afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsBlock(v vocab.ActivityStreamsBlock) {
|
||
|
this.clear()
|
||
|
this.activitystreamsBlockMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsCollection sets the value of this property. Calling
|
||
|
// IsActivityStreamsCollection afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsCollection(v vocab.ActivityStreamsCollection) {
|
||
|
this.clear()
|
||
|
this.activitystreamsCollectionMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsCollectionPage sets the value of this property. Calling
|
||
|
// IsActivityStreamsCollectionPage afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) {
|
||
|
this.clear()
|
||
|
this.activitystreamsCollectionPageMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsCreate sets the value of this property. Calling
|
||
|
// IsActivityStreamsCreate afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsCreate(v vocab.ActivityStreamsCreate) {
|
||
|
this.clear()
|
||
|
this.activitystreamsCreateMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsDelete sets the value of this property. Calling
|
||
|
// IsActivityStreamsDelete afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsDelete(v vocab.ActivityStreamsDelete) {
|
||
|
this.clear()
|
||
|
this.activitystreamsDeleteMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsDislike sets the value of this property. Calling
|
||
|
// IsActivityStreamsDislike afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsDislike(v vocab.ActivityStreamsDislike) {
|
||
|
this.clear()
|
||
|
this.activitystreamsDislikeMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsDocument sets the value of this property. Calling
|
||
|
// IsActivityStreamsDocument afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsDocument(v vocab.ActivityStreamsDocument) {
|
||
|
this.clear()
|
||
|
this.activitystreamsDocumentMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsEvent sets the value of this property. Calling
|
||
|
// IsActivityStreamsEvent afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsEvent(v vocab.ActivityStreamsEvent) {
|
||
|
this.clear()
|
||
|
this.activitystreamsEventMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsFlag sets the value of this property. Calling
|
||
|
// IsActivityStreamsFlag afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsFlag(v vocab.ActivityStreamsFlag) {
|
||
|
this.clear()
|
||
|
this.activitystreamsFlagMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsFollow sets the value of this property. Calling
|
||
|
// IsActivityStreamsFollow afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsFollow(v vocab.ActivityStreamsFollow) {
|
||
|
this.clear()
|
||
|
this.activitystreamsFollowMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsGroup sets the value of this property. Calling
|
||
|
// IsActivityStreamsGroup afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsGroup(v vocab.ActivityStreamsGroup) {
|
||
|
this.clear()
|
||
|
this.activitystreamsGroupMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsIgnore sets the value of this property. Calling
|
||
|
// IsActivityStreamsIgnore afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) {
|
||
|
this.clear()
|
||
|
this.activitystreamsIgnoreMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsImage sets the value of this property. Calling
|
||
|
// IsActivityStreamsImage afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsImage(v vocab.ActivityStreamsImage) {
|
||
|
this.clear()
|
||
|
this.activitystreamsImageMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsIntransitiveActivity sets the value of this property. Calling
|
||
|
// IsActivityStreamsIntransitiveActivity afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) {
|
||
|
this.clear()
|
||
|
this.activitystreamsIntransitiveActivityMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsInvite sets the value of this property. Calling
|
||
|
// IsActivityStreamsInvite afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsInvite(v vocab.ActivityStreamsInvite) {
|
||
|
this.clear()
|
||
|
this.activitystreamsInviteMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsJoin sets the value of this property. Calling
|
||
|
// IsActivityStreamsJoin afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsJoin(v vocab.ActivityStreamsJoin) {
|
||
|
this.clear()
|
||
|
this.activitystreamsJoinMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsLeave sets the value of this property. Calling
|
||
|
// IsActivityStreamsLeave afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsLeave(v vocab.ActivityStreamsLeave) {
|
||
|
this.clear()
|
||
|
this.activitystreamsLeaveMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsLike sets the value of this property. Calling
|
||
|
// IsActivityStreamsLike afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsLike(v vocab.ActivityStreamsLike) {
|
||
|
this.clear()
|
||
|
this.activitystreamsLikeMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsLink sets the value of this property. Calling
|
||
|
// IsActivityStreamsLink afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsLink(v vocab.ActivityStreamsLink) {
|
||
|
this.clear()
|
||
|
this.activitystreamsLinkMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsListen sets the value of this property. Calling
|
||
|
// IsActivityStreamsListen afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsListen(v vocab.ActivityStreamsListen) {
|
||
|
this.clear()
|
||
|
this.activitystreamsListenMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsMention sets the value of this property. Calling
|
||
|
// IsActivityStreamsMention afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsMention(v vocab.ActivityStreamsMention) {
|
||
|
this.clear()
|
||
|
this.activitystreamsMentionMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsMove sets the value of this property. Calling
|
||
|
// IsActivityStreamsMove afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsMove(v vocab.ActivityStreamsMove) {
|
||
|
this.clear()
|
||
|
this.activitystreamsMoveMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsNote sets the value of this property. Calling
|
||
|
// IsActivityStreamsNote afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsNote(v vocab.ActivityStreamsNote) {
|
||
|
this.clear()
|
||
|
this.activitystreamsNoteMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsObject sets the value of this property. Calling
|
||
|
// IsActivityStreamsObject afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsObject(v vocab.ActivityStreamsObject) {
|
||
|
this.clear()
|
||
|
this.activitystreamsObjectMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsOffer sets the value of this property. Calling
|
||
|
// IsActivityStreamsOffer afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsOffer(v vocab.ActivityStreamsOffer) {
|
||
|
this.clear()
|
||
|
this.activitystreamsOfferMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsOrderedCollection sets the value of this property. Calling
|
||
|
// IsActivityStreamsOrderedCollection afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) {
|
||
|
this.clear()
|
||
|
this.activitystreamsOrderedCollectionMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsOrderedCollectionPage sets the value of this property.
|
||
|
// Calling IsActivityStreamsOrderedCollectionPage afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) {
|
||
|
this.clear()
|
||
|
this.activitystreamsOrderedCollectionPageMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsOrganization sets the value of this property. Calling
|
||
|
// IsActivityStreamsOrganization afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) {
|
||
|
this.clear()
|
||
|
this.activitystreamsOrganizationMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsPage sets the value of this property. Calling
|
||
|
// IsActivityStreamsPage afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsPage(v vocab.ActivityStreamsPage) {
|
||
|
this.clear()
|
||
|
this.activitystreamsPageMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsPerson sets the value of this property. Calling
|
||
|
// IsActivityStreamsPerson afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsPerson(v vocab.ActivityStreamsPerson) {
|
||
|
this.clear()
|
||
|
this.activitystreamsPersonMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsPlace sets the value of this property. Calling
|
||
|
// IsActivityStreamsPlace afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsPlace(v vocab.ActivityStreamsPlace) {
|
||
|
this.clear()
|
||
|
this.activitystreamsPlaceMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsProfile sets the value of this property. Calling
|
||
|
// IsActivityStreamsProfile afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsProfile(v vocab.ActivityStreamsProfile) {
|
||
|
this.clear()
|
||
|
this.activitystreamsProfileMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsQuestion sets the value of this property. Calling
|
||
|
// IsActivityStreamsQuestion afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) {
|
||
|
this.clear()
|
||
|
this.activitystreamsQuestionMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsRead sets the value of this property. Calling
|
||
|
// IsActivityStreamsRead afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsRead(v vocab.ActivityStreamsRead) {
|
||
|
this.clear()
|
||
|
this.activitystreamsReadMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsReject sets the value of this property. Calling
|
||
|
// IsActivityStreamsReject afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsReject(v vocab.ActivityStreamsReject) {
|
||
|
this.clear()
|
||
|
this.activitystreamsRejectMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsRelationship sets the value of this property. Calling
|
||
|
// IsActivityStreamsRelationship afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) {
|
||
|
this.clear()
|
||
|
this.activitystreamsRelationshipMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsRemove sets the value of this property. Calling
|
||
|
// IsActivityStreamsRemove afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsRemove(v vocab.ActivityStreamsRemove) {
|
||
|
this.clear()
|
||
|
this.activitystreamsRemoveMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsService sets the value of this property. Calling
|
||
|
// IsActivityStreamsService afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsService(v vocab.ActivityStreamsService) {
|
||
|
this.clear()
|
||
|
this.activitystreamsServiceMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsTentativeAccept sets the value of this property. Calling
|
||
|
// IsActivityStreamsTentativeAccept afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) {
|
||
|
this.clear()
|
||
|
this.activitystreamsTentativeAcceptMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsTentativeReject sets the value of this property. Calling
|
||
|
// IsActivityStreamsTentativeReject afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) {
|
||
|
this.clear()
|
||
|
this.activitystreamsTentativeRejectMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsTombstone sets the value of this property. Calling
|
||
|
// IsActivityStreamsTombstone afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) {
|
||
|
this.clear()
|
||
|
this.activitystreamsTombstoneMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsTravel sets the value of this property. Calling
|
||
|
// IsActivityStreamsTravel afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsTravel(v vocab.ActivityStreamsTravel) {
|
||
|
this.clear()
|
||
|
this.activitystreamsTravelMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsUndo sets the value of this property. Calling
|
||
|
// IsActivityStreamsUndo afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsUndo(v vocab.ActivityStreamsUndo) {
|
||
|
this.clear()
|
||
|
this.activitystreamsUndoMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsUpdate sets the value of this property. Calling
|
||
|
// IsActivityStreamsUpdate afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) {
|
||
|
this.clear()
|
||
|
this.activitystreamsUpdateMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsVideo sets the value of this property. Calling
|
||
|
// IsActivityStreamsVideo afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsVideo(v vocab.ActivityStreamsVideo) {
|
||
|
this.clear()
|
||
|
this.activitystreamsVideoMember = v
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsView sets the value of this property. Calling
|
||
|
// IsActivityStreamsView afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsView(v vocab.ActivityStreamsView) {
|
||
|
this.clear()
|
||
|
this.activitystreamsViewMember = v
|
||
|
}
|
||
|
|
||
|
// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch
|
||
|
// afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) {
|
||
|
this.clear()
|
||
|
this.forgefedBranchMember = v
|
||
|
}
|
||
|
|
||
|
// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit
|
||
|
// afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) {
|
||
|
this.clear()
|
||
|
this.forgefedCommitMember = v
|
||
|
}
|
||
|
|
||
|
// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush
|
||
|
// afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) {
|
||
|
this.clear()
|
||
|
this.forgefedPushMember = v
|
||
|
}
|
||
|
|
||
|
// SetForgeFedRepository sets the value of this property. Calling
|
||
|
// IsForgeFedRepository afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) {
|
||
|
this.clear()
|
||
|
this.forgefedRepositoryMember = v
|
||
|
}
|
||
|
|
||
|
// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket
|
||
|
// afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) {
|
||
|
this.clear()
|
||
|
this.forgefedTicketMember = v
|
||
|
}
|
||
|
|
||
|
// SetForgeFedTicketDependency sets the value of this property. Calling
|
||
|
// IsForgeFedTicketDependency afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
|
||
|
this.clear()
|
||
|
this.forgefedTicketDependencyMember = v
|
||
|
}
|
||
|
|
||
|
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetIRI(v *url.URL) {
|
||
|
this.clear()
|
||
|
this.iri = v
|
||
|
}
|
||
|
|
||
|
// SetTootEmoji sets the value of this property. Calling IsTootEmoji afterwards
|
||
|
// returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetTootEmoji(v vocab.TootEmoji) {
|
||
|
this.clear()
|
||
|
this.tootEmojiMember = v
|
||
|
}
|
||
|
|
||
|
// SetTootIdentityProof sets the value of this property. Calling
|
||
|
// IsTootIdentityProof afterwards returns true.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) {
|
||
|
this.clear()
|
||
|
this.tootIdentityProofMember = v
|
||
|
}
|
||
|
|
||
|
// SetType attempts to set the property for the arbitrary type. Returns an error
|
||
|
// if it is not a valid type to set on this property.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error {
|
||
|
if v, ok := t.(vocab.ActivityStreamsObject); ok {
|
||
|
this.SetActivityStreamsObject(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsLink); ok {
|
||
|
this.SetActivityStreamsLink(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsAccept); ok {
|
||
|
this.SetActivityStreamsAccept(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsActivity); ok {
|
||
|
this.SetActivityStreamsActivity(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsAdd); ok {
|
||
|
this.SetActivityStreamsAdd(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsAnnounce); ok {
|
||
|
this.SetActivityStreamsAnnounce(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
|
||
|
this.SetActivityStreamsApplication(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsArrive); ok {
|
||
|
this.SetActivityStreamsArrive(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsArticle); ok {
|
||
|
this.SetActivityStreamsArticle(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsAudio); ok {
|
||
|
this.SetActivityStreamsAudio(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsBlock); ok {
|
||
|
this.SetActivityStreamsBlock(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ForgeFedBranch); ok {
|
||
|
this.SetForgeFedBranch(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
|
||
|
this.SetActivityStreamsCollection(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsCollectionPage); ok {
|
||
|
this.SetActivityStreamsCollectionPage(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ForgeFedCommit); ok {
|
||
|
this.SetForgeFedCommit(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
|
||
|
this.SetActivityStreamsCreate(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsDelete); ok {
|
||
|
this.SetActivityStreamsDelete(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsDislike); ok {
|
||
|
this.SetActivityStreamsDislike(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsDocument); ok {
|
||
|
this.SetActivityStreamsDocument(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.TootEmoji); ok {
|
||
|
this.SetTootEmoji(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
|
||
|
this.SetActivityStreamsEvent(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsFlag); ok {
|
||
|
this.SetActivityStreamsFlag(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsFollow); ok {
|
||
|
this.SetActivityStreamsFollow(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsGroup); ok {
|
||
|
this.SetActivityStreamsGroup(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.TootIdentityProof); ok {
|
||
|
this.SetTootIdentityProof(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsIgnore); ok {
|
||
|
this.SetActivityStreamsIgnore(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsImage); ok {
|
||
|
this.SetActivityStreamsImage(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsIntransitiveActivity); ok {
|
||
|
this.SetActivityStreamsIntransitiveActivity(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsInvite); ok {
|
||
|
this.SetActivityStreamsInvite(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsJoin); ok {
|
||
|
this.SetActivityStreamsJoin(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsLeave); ok {
|
||
|
this.SetActivityStreamsLeave(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsLike); ok {
|
||
|
this.SetActivityStreamsLike(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsListen); ok {
|
||
|
this.SetActivityStreamsListen(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||
|
this.SetActivityStreamsMention(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsMove); ok {
|
||
|
this.SetActivityStreamsMove(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsNote); ok {
|
||
|
this.SetActivityStreamsNote(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsOffer); ok {
|
||
|
this.SetActivityStreamsOffer(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsOrderedCollection); ok {
|
||
|
this.SetActivityStreamsOrderedCollection(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsOrderedCollectionPage); ok {
|
||
|
this.SetActivityStreamsOrderedCollectionPage(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsOrganization); ok {
|
||
|
this.SetActivityStreamsOrganization(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsPage); ok {
|
||
|
this.SetActivityStreamsPage(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsPerson); ok {
|
||
|
this.SetActivityStreamsPerson(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsPlace); ok {
|
||
|
this.SetActivityStreamsPlace(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsProfile); ok {
|
||
|
this.SetActivityStreamsProfile(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ForgeFedPush); ok {
|
||
|
this.SetForgeFedPush(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
|
||
|
this.SetActivityStreamsQuestion(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsRead); ok {
|
||
|
this.SetActivityStreamsRead(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsReject); ok {
|
||
|
this.SetActivityStreamsReject(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsRelationship); ok {
|
||
|
this.SetActivityStreamsRelationship(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsRemove); ok {
|
||
|
this.SetActivityStreamsRemove(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ForgeFedRepository); ok {
|
||
|
this.SetForgeFedRepository(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||
|
this.SetActivityStreamsService(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsTentativeAccept); ok {
|
||
|
this.SetActivityStreamsTentativeAccept(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsTentativeReject); ok {
|
||
|
this.SetActivityStreamsTentativeReject(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ForgeFedTicket); ok {
|
||
|
this.SetForgeFedTicket(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ForgeFedTicketDependency); ok {
|
||
|
this.SetForgeFedTicketDependency(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
|
||
|
this.SetActivityStreamsTombstone(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsTravel); ok {
|
||
|
this.SetActivityStreamsTravel(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsUndo); ok {
|
||
|
this.SetActivityStreamsUndo(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsUpdate); ok {
|
||
|
this.SetActivityStreamsUpdate(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsVideo); ok {
|
||
|
this.SetActivityStreamsVideo(v)
|
||
|
return nil
|
||
|
}
|
||
|
if v, ok := t.(vocab.ActivityStreamsView); ok {
|
||
|
this.SetActivityStreamsView(v)
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
return fmt.Errorf("illegal type to set on ActivityStreamsTag property: %T", t)
|
||
|
}
|
||
|
|
||
|
// clear ensures no value of this property is set. Calling HasAny or any of the
|
||
|
// 'Is' methods afterwards will return false.
|
||
|
func (this *ActivityStreamsTagPropertyIterator) clear() {
|
||
|
this.activitystreamsObjectMember = nil
|
||
|
this.activitystreamsLinkMember = nil
|
||
|
this.activitystreamsAcceptMember = nil
|
||
|
this.activitystreamsActivityMember = nil
|
||
|
this.activitystreamsAddMember = nil
|
||
|
this.activitystreamsAnnounceMember = nil
|
||
|
this.activitystreamsApplicationMember = nil
|
||
|
this.activitystreamsArriveMember = nil
|
||
|
this.activitystreamsArticleMember = nil
|
||
|
this.activitystreamsAudioMember = nil
|
||
|
this.activitystreamsBlockMember = nil
|
||
|
this.forgefedBranchMember = nil
|
||
|
this.activitystreamsCollectionMember = nil
|
||
|
this.activitystreamsCollectionPageMember = nil
|
||
|
this.forgefedCommitMember = nil
|
||
|
this.activitystreamsCreateMember = nil
|
||
|
this.activitystreamsDeleteMember = nil
|
||
|
this.activitystreamsDislikeMember = nil
|
||
|
this.activitystreamsDocumentMember = nil
|
||
|
this.tootEmojiMember = nil
|
||
|
this.activitystreamsEventMember = nil
|
||
|
this.activitystreamsFlagMember = nil
|
||
|
this.activitystreamsFollowMember = nil
|
||
|
this.activitystreamsGroupMember = nil
|
||
|
this.tootIdentityProofMember = nil
|
||
|
this.activitystreamsIgnoreMember = nil
|
||
|
this.activitystreamsImageMember = nil
|
||
|
this.activitystreamsIntransitiveActivityMember = nil
|
||
|
this.activitystreamsInviteMember = nil
|
||
|
this.activitystreamsJoinMember = nil
|
||
|
this.activitystreamsLeaveMember = nil
|
||
|
this.activitystreamsLikeMember = nil
|
||
|
this.activitystreamsListenMember = nil
|
||
|
this.activitystreamsMentionMember = nil
|
||
|
this.activitystreamsMoveMember = nil
|
||
|
this.activitystreamsNoteMember = nil
|
||
|
this.activitystreamsOfferMember = nil
|
||
|
this.activitystreamsOrderedCollectionMember = nil
|
||
|
this.activitystreamsOrderedCollectionPageMember = nil
|
||
|
this.activitystreamsOrganizationMember = nil
|
||
|
this.activitystreamsPageMember = nil
|
||
|
this.activitystreamsPersonMember = nil
|
||
|
this.activitystreamsPlaceMember = nil
|
||
|
this.activitystreamsProfileMember = nil
|
||
|
this.forgefedPushMember = nil
|
||
|
this.activitystreamsQuestionMember = nil
|
||
|
this.activitystreamsReadMember = nil
|
||
|
this.activitystreamsRejectMember = nil
|
||
|
this.activitystreamsRelationshipMember = nil
|
||
|
this.activitystreamsRemoveMember = nil
|
||
|
this.forgefedRepositoryMember = nil
|
||
|
this.activitystreamsServiceMember = nil
|
||
|
this.activitystreamsTentativeAcceptMember = nil
|
||
|
this.activitystreamsTentativeRejectMember = nil
|
||
|
this.forgefedTicketMember = nil
|
||
|
this.forgefedTicketDependencyMember = nil
|
||
|
this.activitystreamsTombstoneMember = nil
|
||
|
this.activitystreamsTravelMember = nil
|
||
|
this.activitystreamsUndoMember = nil
|
||
|
this.activitystreamsUpdateMember = nil
|
||
|
this.activitystreamsVideoMember = nil
|
||
|
this.activitystreamsViewMember = nil
|
||
|
this.unknown = nil
|
||
|
this.iri = nil
|
||
|
}
|
||
|
|
||
|
// serialize converts this into an interface representation suitable for
|
||
|
// marshalling into a text or binary format. Applications should not need this
|
||
|
// function as most typical use cases serialize types instead of individual
|
||
|
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||
|
func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) {
|
||
|
if this.IsActivityStreamsObject() {
|
||
|
return this.GetActivityStreamsObject().Serialize()
|
||
|
} else if this.IsActivityStreamsLink() {
|
||
|
return this.GetActivityStreamsLink().Serialize()
|
||
|
} else if this.IsActivityStreamsAccept() {
|
||
|
return this.GetActivityStreamsAccept().Serialize()
|
||
|
} else if this.IsActivityStreamsActivity() {
|
||
|
return this.GetActivityStreamsActivity().Serialize()
|
||
|
} else if this.IsActivityStreamsAdd() {
|
||
|
return this.GetActivityStreamsAdd().Serialize()
|
||
|
} else if this.IsActivityStreamsAnnounce() {
|
||
|
return this.GetActivityStreamsAnnounce().Serialize()
|
||
|
} else if this.IsActivityStreamsApplication() {
|
||
|
return this.GetActivityStreamsApplication().Serialize()
|
||
|
} else if this.IsActivityStreamsArrive() {
|
||
|
return this.GetActivityStreamsArrive().Serialize()
|
||
|
} else if this.IsActivityStreamsArticle() {
|
||
|
return this.GetActivityStreamsArticle().Serialize()
|
||
|
} else if this.IsActivityStreamsAudio() {
|
||
|
return this.GetActivityStreamsAudio().Serialize()
|
||
|
} else if this.IsActivityStreamsBlock() {
|
||
|
return this.GetActivityStreamsBlock().Serialize()
|
||
|
} else if this.IsForgeFedBranch() {
|
||
|
return this.GetForgeFedBranch().Serialize()
|
||
|
} else if this.IsActivityStreamsCollection() {
|
||
|
return this.GetActivityStreamsCollection().Serialize()
|
||
|
} else if this.IsActivityStreamsCollectionPage() {
|
||
|
return this.GetActivityStreamsCollectionPage().Serialize()
|
||
|
} else if this.IsForgeFedCommit() {
|
||
|
return this.GetForgeFedCommit().Serialize()
|
||
|
} else if this.IsActivityStreamsCreate() {
|
||
|
return this.GetActivityStreamsCreate().Serialize()
|
||
|
} else if this.IsActivityStreamsDelete() {
|
||
|
return this.GetActivityStreamsDelete().Serialize()
|
||
|
} else if this.IsActivityStreamsDislike() {
|
||
|
return this.GetActivityStreamsDislike().Serialize()
|
||
|
} else if this.IsActivityStreamsDocument() {
|
||
|
return this.GetActivityStreamsDocument().Serialize()
|
||
|
} else if this.IsTootEmoji() {
|
||
|
return this.GetTootEmoji().Serialize()
|
||
|
} else if this.IsActivityStreamsEvent() {
|
||
|
return this.GetActivityStreamsEvent().Serialize()
|
||
|
} else if this.IsActivityStreamsFlag() {
|
||
|
return this.GetActivityStreamsFlag().Serialize()
|
||
|
} else if this.IsActivityStreamsFollow() {
|
||
|
return this.GetActivityStreamsFollow().Serialize()
|
||
|
} else if this.IsActivityStreamsGroup() {
|
||
|
return this.GetActivityStreamsGroup().Serialize()
|
||
|
} else if this.IsTootIdentityProof() {
|
||
|
return this.GetTootIdentityProof().Serialize()
|
||
|
} else if this.IsActivityStreamsIgnore() {
|
||
|
return this.GetActivityStreamsIgnore().Serialize()
|
||
|
} else if this.IsActivityStreamsImage() {
|
||
|
return this.GetActivityStreamsImage().Serialize()
|
||
|
} else if this.IsActivityStreamsIntransitiveActivity() {
|
||
|
return this.GetActivityStreamsIntransitiveActivity().Serialize()
|
||
|
} else if this.IsActivityStreamsInvite() {
|
||
|
return this.GetActivityStreamsInvite().Serialize()
|
||
|
} else if this.IsActivityStreamsJoin() {
|
||
|
return this.GetActivityStreamsJoin().Serialize()
|
||
|
} else if this.IsActivityStreamsLeave() {
|
||
|
return this.GetActivityStreamsLeave().Serialize()
|
||
|
} else if this.IsActivityStreamsLike() {
|
||
|
return this.GetActivityStreamsLike().Serialize()
|
||
|
} else if this.IsActivityStreamsListen() {
|
||
|
return this.GetActivityStreamsListen().Serialize()
|
||
|
} else if this.IsActivityStreamsMention() {
|
||
|
return this.GetActivityStreamsMention().Serialize()
|
||
|
} else if this.IsActivityStreamsMove() {
|
||
|
return this.GetActivityStreamsMove().Serialize()
|
||
|
} else if this.IsActivityStreamsNote() {
|
||
|
return this.GetActivityStreamsNote().Serialize()
|
||
|
} else if this.IsActivityStreamsOffer() {
|
||
|
return this.GetActivityStreamsOffer().Serialize()
|
||
|
} else if this.IsActivityStreamsOrderedCollection() {
|
||
|
return this.GetActivityStreamsOrderedCollection().Serialize()
|
||
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||
|
return this.GetActivityStreamsOrderedCollectionPage().Serialize()
|
||
|
} else if this.IsActivityStreamsOrganization() {
|
||
|
return this.GetActivityStreamsOrganization().Serialize()
|
||
|
} else if this.IsActivityStreamsPage() {
|
||
|
return this.GetActivityStreamsPage().Serialize()
|
||
|
} else if this.IsActivityStreamsPerson() {
|
||
|
return this.GetActivityStreamsPerson().Serialize()
|
||
|
} else if this.IsActivityStreamsPlace() {
|
||
|
return this.GetActivityStreamsPlace().Serialize()
|
||
|
} else if this.IsActivityStreamsProfile() {
|
||
|
return this.GetActivityStreamsProfile().Serialize()
|
||
|
} else if this.IsForgeFedPush() {
|
||
|
return this.GetForgeFedPush().Serialize()
|
||
|
} else if this.IsActivityStreamsQuestion() {
|
||
|
return this.GetActivityStreamsQuestion().Serialize()
|
||
|
} else if this.IsActivityStreamsRead() {
|
||
|
return this.GetActivityStreamsRead().Serialize()
|
||
|
} else if this.IsActivityStreamsReject() {
|
||
|
return this.GetActivityStreamsReject().Serialize()
|
||
|
} else if this.IsActivityStreamsRelationship() {
|
||
|
return this.GetActivityStreamsRelationship().Serialize()
|
||
|
} else if this.IsActivityStreamsRemove() {
|
||
|
return this.GetActivityStreamsRemove().Serialize()
|
||
|
} else if this.IsForgeFedRepository() {
|
||
|
return this.GetForgeFedRepository().Serialize()
|
||
|
} else if this.IsActivityStreamsService() {
|
||
|
return this.GetActivityStreamsService().Serialize()
|
||
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||
|
return this.GetActivityStreamsTentativeAccept().Serialize()
|
||
|
} else if this.IsActivityStreamsTentativeReject() {
|
||
|
return this.GetActivityStreamsTentativeReject().Serialize()
|
||
|
} else if this.IsForgeFedTicket() {
|
||
|
return this.GetForgeFedTicket().Serialize()
|
||
|
} else if this.IsForgeFedTicketDependency() {
|
||
|
return this.GetForgeFedTicketDependency().Serialize()
|
||
|
} else if this.IsActivityStreamsTombstone() {
|
||
|
return this.GetActivityStreamsTombstone().Serialize()
|
||
|
} else if this.IsActivityStreamsTravel() {
|
||
|
return this.GetActivityStreamsTravel().Serialize()
|
||
|
} else if this.IsActivityStreamsUndo() {
|
||
|
return this.GetActivityStreamsUndo().Serialize()
|
||
|
} else if this.IsActivityStreamsUpdate() {
|
||
|
return this.GetActivityStreamsUpdate().Serialize()
|
||
|
} else if this.IsActivityStreamsVideo() {
|
||
|
return this.GetActivityStreamsVideo().Serialize()
|
||
|
} else if this.IsActivityStreamsView() {
|
||
|
return this.GetActivityStreamsView().Serialize()
|
||
|
} else if this.IsIRI() {
|
||
|
return this.iri.String(), nil
|
||
|
}
|
||
|
return this.unknown, nil
|
||
|
}
|
||
|
|
||
|
// ActivityStreamsTagProperty is the non-functional property "tag". It is
|
||
|
// permitted to have one or more values, and of different value types.
|
||
|
type ActivityStreamsTagProperty struct {
|
||
|
properties []*ActivityStreamsTagPropertyIterator
|
||
|
alias string
|
||
|
}
|
||
|
|
||
|
// DeserializeTagProperty creates a "tag" property from an interface
|
||
|
// representation that has been unmarshalled from a text or binary format.
|
||
|
func DeserializeTagProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.ActivityStreamsTagProperty, error) {
|
||
|
alias := ""
|
||
|
if a, ok := aliasMap["https://www.w3.org/ns/activitystreams"]; ok {
|
||
|
alias = a
|
||
|
}
|
||
|
propName := "tag"
|
||
|
if len(alias) > 0 {
|
||
|
propName = fmt.Sprintf("%s:%s", alias, "tag")
|
||
|
}
|
||
|
i, ok := m[propName]
|
||
|
|
||
|
if ok {
|
||
|
this := &ActivityStreamsTagProperty{
|
||
|
alias: alias,
|
||
|
properties: []*ActivityStreamsTagPropertyIterator{},
|
||
|
}
|
||
|
if list, ok := i.([]interface{}); ok {
|
||
|
for _, iterator := range list {
|
||
|
if p, err := deserializeActivityStreamsTagPropertyIterator(iterator, aliasMap); err != nil {
|
||
|
return this, err
|
||
|
} else if p != nil {
|
||
|
this.properties = append(this.properties, p)
|
||
|
}
|
||
|
}
|
||
|
} else {
|
||
|
if p, err := deserializeActivityStreamsTagPropertyIterator(i, aliasMap); err != nil {
|
||
|
return this, err
|
||
|
} else if p != nil {
|
||
|
this.properties = append(this.properties, p)
|
||
|
}
|
||
|
}
|
||
|
// Set up the properties for iteration.
|
||
|
for idx, ele := range this.properties {
|
||
|
ele.parent = this
|
||
|
ele.myIdx = idx
|
||
|
}
|
||
|
return this, nil
|
||
|
}
|
||
|
return nil, nil
|
||
|
}
|
||
|
|
||
|
// NewActivityStreamsTagProperty creates a new tag property.
|
||
|
func NewActivityStreamsTagProperty() *ActivityStreamsTagProperty {
|
||
|
return &ActivityStreamsTagProperty{alias: ""}
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsAccept appends a Accept value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsAccept(v vocab.ActivityStreamsAccept) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAcceptMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsActivity appends a Activity value to the back of a list of
|
||
|
// the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsActivity(v vocab.ActivityStreamsActivity) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsActivityMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsAdd appends a Add value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsAdd(v vocab.ActivityStreamsAdd) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAddMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsAnnounce appends a Announce value to the back of a list of
|
||
|
// the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAnnounceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsApplication appends a Application value to the back of a
|
||
|
// list of the property "tag". Invalidates iterators that are traversing using
|
||
|
// Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsApplication(v vocab.ActivityStreamsApplication) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsApplicationMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsArrive appends a Arrive value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsArrive(v vocab.ActivityStreamsArrive) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsArriveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsArticle appends a Article value to the back of a list of
|
||
|
// the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsArticle(v vocab.ActivityStreamsArticle) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsArticleMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsAudio appends a Audio value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsAudio(v vocab.ActivityStreamsAudio) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAudioMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsBlock appends a Block value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsBlock(v vocab.ActivityStreamsBlock) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsBlockMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsCollection appends a Collection value to the back of a
|
||
|
// list of the property "tag". Invalidates iterators that are traversing using
|
||
|
// Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsCollection(v vocab.ActivityStreamsCollection) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCollectionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsCollectionPage appends a CollectionPage value to the back
|
||
|
// of a list of the property "tag". Invalidates iterators that are traversing
|
||
|
// using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCollectionPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsCreate appends a Create value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsCreate(v vocab.ActivityStreamsCreate) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCreateMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsDelete appends a Delete value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsDelete(v vocab.ActivityStreamsDelete) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDeleteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsDislike appends a Dislike value to the back of a list of
|
||
|
// the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsDislike(v vocab.ActivityStreamsDislike) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDislikeMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsDocument appends a Document value to the back of a list of
|
||
|
// the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsDocument(v vocab.ActivityStreamsDocument) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDocumentMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsEvent appends a Event value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsEvent(v vocab.ActivityStreamsEvent) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsEventMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsFlag appends a Flag value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsFlag(v vocab.ActivityStreamsFlag) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsFlagMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsFollow appends a Follow value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsFollow(v vocab.ActivityStreamsFollow) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsFollowMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsGroup appends a Group value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsGroup(v vocab.ActivityStreamsGroup) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsGroupMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsIgnore appends a Ignore value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsIgnoreMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsImage appends a Image value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsImage(v vocab.ActivityStreamsImage) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsImageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsIntransitiveActivity appends a IntransitiveActivity value
|
||
|
// to the back of a list of the property "tag". Invalidates iterators that are
|
||
|
// traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsIntransitiveActivityMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsInvite appends a Invite value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsInvite(v vocab.ActivityStreamsInvite) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsInviteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsJoin appends a Join value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsJoin(v vocab.ActivityStreamsJoin) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsJoinMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsLeave appends a Leave value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsLeave(v vocab.ActivityStreamsLeave) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLeaveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsLike appends a Like value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsLike(v vocab.ActivityStreamsLike) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLikeMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsLink appends a Link value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsLink(v vocab.ActivityStreamsLink) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLinkMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsListen appends a Listen value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsListen(v vocab.ActivityStreamsListen) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsListenMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsMention appends a Mention value to the back of a list of
|
||
|
// the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsMention(v vocab.ActivityStreamsMention) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsMentionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsMove appends a Move value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsMove(v vocab.ActivityStreamsMove) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsMoveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsNote appends a Note value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsNote(v vocab.ActivityStreamsNote) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsNoteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsObject appends a Object value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsObject(v vocab.ActivityStreamsObject) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsObjectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsOffer appends a Offer value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsOffer(v vocab.ActivityStreamsOffer) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOfferMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsOrderedCollection appends a OrderedCollection value to the
|
||
|
// back of a list of the property "tag". Invalidates iterators that are
|
||
|
// traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrderedCollectionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsOrderedCollectionPage appends a OrderedCollectionPage
|
||
|
// value to the back of a list of the property "tag". Invalidates iterators
|
||
|
// that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrderedCollectionPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsOrganization appends a Organization value to the back of a
|
||
|
// list of the property "tag". Invalidates iterators that are traversing using
|
||
|
// Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrganizationMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsPage appends a Page value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsPage(v vocab.ActivityStreamsPage) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsPerson appends a Person value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsPerson(v vocab.ActivityStreamsPerson) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPersonMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsPlace appends a Place value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsPlace(v vocab.ActivityStreamsPlace) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPlaceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsProfile appends a Profile value to the back of a list of
|
||
|
// the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsProfile(v vocab.ActivityStreamsProfile) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsProfileMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsQuestion appends a Question value to the back of a list of
|
||
|
// the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsQuestionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsRead appends a Read value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsRead(v vocab.ActivityStreamsRead) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsReadMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsReject appends a Reject value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsReject(v vocab.ActivityStreamsReject) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRejectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsRelationship appends a Relationship value to the back of a
|
||
|
// list of the property "tag". Invalidates iterators that are traversing using
|
||
|
// Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRelationshipMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsRemove appends a Remove value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsRemove(v vocab.ActivityStreamsRemove) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRemoveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsService appends a Service value to the back of a list of
|
||
|
// the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsService(v vocab.ActivityStreamsService) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsServiceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsTentativeAccept appends a TentativeAccept value to the
|
||
|
// back of a list of the property "tag". Invalidates iterators that are
|
||
|
// traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTentativeAcceptMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsTentativeReject appends a TentativeReject value to the
|
||
|
// back of a list of the property "tag". Invalidates iterators that are
|
||
|
// traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTentativeRejectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsTombstone appends a Tombstone value to the back of a list
|
||
|
// of the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTombstoneMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsTravel appends a Travel value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsTravel(v vocab.ActivityStreamsTravel) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTravelMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsUndo appends a Undo value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsUndo(v vocab.ActivityStreamsUndo) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsUndoMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsUpdate appends a Update value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsUpdateMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsVideo appends a Video value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsVideo(v vocab.ActivityStreamsVideo) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsVideoMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendActivityStreamsView appends a View value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendActivityStreamsView(v vocab.ActivityStreamsView) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsViewMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendForgeFedBranch appends a Branch value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedBranchMember: v,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendForgeFedCommit appends a Commit value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedCommitMember: v,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendForgeFedPush appends a Push value to the back of a list of the property
|
||
|
// "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendForgeFedPush(v vocab.ForgeFedPush) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedPushMember: v,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendForgeFedRepository appends a Repository value to the back of a list of
|
||
|
// the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedRepositoryMember: v,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendForgeFedTicket appends a Ticket value to the back of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedTicketMember: v,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendForgeFedTicketDependency appends a TicketDependency value to the back of
|
||
|
// a list of the property "tag". Invalidates iterators that are traversing
|
||
|
// using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedTicketDependencyMember: v,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendIRI appends an IRI value to the back of a list of the property "tag"
|
||
|
func (this *ActivityStreamsTagProperty) AppendIRI(v *url.URL) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
iri: v,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendTootEmoji appends a Emoji value to the back of a list of the property
|
||
|
// "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendTootEmoji(v vocab.TootEmoji) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
tootEmojiMember: v,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// AppendTootIdentityProof appends a IdentityProof value to the back of a list of
|
||
|
// the property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
func (this *ActivityStreamsTagProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) {
|
||
|
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
tootIdentityProofMember: v,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// PrependType prepends an arbitrary type value to the front of a list of the
|
||
|
// property "tag". Invalidates iterators that are traversing using Prev.
|
||
|
// Returns an error if the type is not a valid one to set for this property.
|
||
|
func (this *ActivityStreamsTagProperty) AppendType(t vocab.Type) error {
|
||
|
n := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
myIdx: this.Len(),
|
||
|
parent: this,
|
||
|
}
|
||
|
if err := n.SetType(t); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
this.properties = append(this.properties, n)
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// At returns the property value for the specified index. Panics if the index is
|
||
|
// out of bounds.
|
||
|
func (this ActivityStreamsTagProperty) At(index int) vocab.ActivityStreamsTagPropertyIterator {
|
||
|
return this.properties[index]
|
||
|
}
|
||
|
|
||
|
// Begin returns the first iterator, or nil if empty. Can be used with the
|
||
|
// iterator's Next method and this property's End method to iterate from front
|
||
|
// to back through all values.
|
||
|
func (this ActivityStreamsTagProperty) Begin() vocab.ActivityStreamsTagPropertyIterator {
|
||
|
if this.Empty() {
|
||
|
return nil
|
||
|
} else {
|
||
|
return this.properties[0]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Empty returns returns true if there are no elements.
|
||
|
func (this ActivityStreamsTagProperty) Empty() bool {
|
||
|
return this.Len() == 0
|
||
|
}
|
||
|
|
||
|
// End returns beyond-the-last iterator, which is nil. Can be used with the
|
||
|
// iterator's Next method and this property's Begin method to iterate from
|
||
|
// front to back through all values.
|
||
|
func (this ActivityStreamsTagProperty) End() vocab.ActivityStreamsTagPropertyIterator {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsAccept inserts a Accept value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsAccept(idx int, v vocab.ActivityStreamsAccept) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAcceptMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsActivity inserts a Activity value at the specified index
|
||
|
// for a property "tag". Existing elements at that index and higher are
|
||
|
// shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsActivity(idx int, v vocab.ActivityStreamsActivity) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsActivityMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsAdd inserts a Add value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsAdd(idx int, v vocab.ActivityStreamsAdd) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAddMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsAnnounce inserts a Announce value at the specified index
|
||
|
// for a property "tag". Existing elements at that index and higher are
|
||
|
// shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsAnnounce(idx int, v vocab.ActivityStreamsAnnounce) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAnnounceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsApplication inserts a Application value at the specified
|
||
|
// index for a property "tag". Existing elements at that index and higher are
|
||
|
// shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsApplication(idx int, v vocab.ActivityStreamsApplication) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsApplicationMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsArrive inserts a Arrive value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsArrive(idx int, v vocab.ActivityStreamsArrive) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsArriveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsArticle inserts a Article value at the specified index for
|
||
|
// a property "tag". Existing elements at that index and higher are shifted
|
||
|
// back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsArticle(idx int, v vocab.ActivityStreamsArticle) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsArticleMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsAudio inserts a Audio value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsAudio(idx int, v vocab.ActivityStreamsAudio) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAudioMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsBlock inserts a Block value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsBlock(idx int, v vocab.ActivityStreamsBlock) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsBlockMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsCollection inserts a Collection value at the specified
|
||
|
// index for a property "tag". Existing elements at that index and higher are
|
||
|
// shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsCollection(idx int, v vocab.ActivityStreamsCollection) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCollectionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsCollectionPage inserts a CollectionPage value at the
|
||
|
// specified index for a property "tag". Existing elements at that index and
|
||
|
// higher are shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsCollectionPage(idx int, v vocab.ActivityStreamsCollectionPage) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCollectionPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsCreate inserts a Create value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsCreate(idx int, v vocab.ActivityStreamsCreate) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCreateMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsDelete inserts a Delete value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsDelete(idx int, v vocab.ActivityStreamsDelete) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDeleteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsDislike inserts a Dislike value at the specified index for
|
||
|
// a property "tag". Existing elements at that index and higher are shifted
|
||
|
// back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsDislike(idx int, v vocab.ActivityStreamsDislike) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDislikeMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsDocument inserts a Document value at the specified index
|
||
|
// for a property "tag". Existing elements at that index and higher are
|
||
|
// shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsDocument(idx int, v vocab.ActivityStreamsDocument) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDocumentMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsEvent inserts a Event value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsEvent(idx int, v vocab.ActivityStreamsEvent) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsEventMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsFlag inserts a Flag value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsFlag(idx int, v vocab.ActivityStreamsFlag) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsFlagMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsFollow inserts a Follow value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsFollow(idx int, v vocab.ActivityStreamsFollow) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsFollowMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsGroup inserts a Group value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsGroup(idx int, v vocab.ActivityStreamsGroup) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsGroupMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsIgnore inserts a Ignore value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsIgnore(idx int, v vocab.ActivityStreamsIgnore) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsIgnoreMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsImage inserts a Image value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsImage(idx int, v vocab.ActivityStreamsImage) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsImageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsIntransitiveActivity inserts a IntransitiveActivity value
|
||
|
// at the specified index for a property "tag". Existing elements at that
|
||
|
// index and higher are shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsIntransitiveActivity(idx int, v vocab.ActivityStreamsIntransitiveActivity) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsIntransitiveActivityMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsInvite inserts a Invite value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsInvite(idx int, v vocab.ActivityStreamsInvite) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsInviteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsJoin inserts a Join value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsJoin(idx int, v vocab.ActivityStreamsJoin) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsJoinMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsLeave inserts a Leave value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsLeave(idx int, v vocab.ActivityStreamsLeave) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLeaveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsLike inserts a Like value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsLike(idx int, v vocab.ActivityStreamsLike) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLikeMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsLink inserts a Link value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsLink(idx int, v vocab.ActivityStreamsLink) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLinkMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsListen inserts a Listen value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsListen(idx int, v vocab.ActivityStreamsListen) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsListenMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsMention inserts a Mention value at the specified index for
|
||
|
// a property "tag". Existing elements at that index and higher are shifted
|
||
|
// back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsMention(idx int, v vocab.ActivityStreamsMention) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsMentionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsMove inserts a Move value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsMove(idx int, v vocab.ActivityStreamsMove) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsMoveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsNote inserts a Note value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsNote(idx int, v vocab.ActivityStreamsNote) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsNoteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsObject inserts a Object value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsObject(idx int, v vocab.ActivityStreamsObject) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsObjectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsOffer inserts a Offer value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsOffer(idx int, v vocab.ActivityStreamsOffer) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOfferMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsOrderedCollection inserts a OrderedCollection value at the
|
||
|
// specified index for a property "tag". Existing elements at that index and
|
||
|
// higher are shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsOrderedCollection(idx int, v vocab.ActivityStreamsOrderedCollection) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrderedCollectionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsOrderedCollectionPage inserts a OrderedCollectionPage
|
||
|
// value at the specified index for a property "tag". Existing elements at
|
||
|
// that index and higher are shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsOrderedCollectionPage(idx int, v vocab.ActivityStreamsOrderedCollectionPage) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrderedCollectionPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsOrganization inserts a Organization value at the specified
|
||
|
// index for a property "tag". Existing elements at that index and higher are
|
||
|
// shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsOrganization(idx int, v vocab.ActivityStreamsOrganization) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrganizationMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsPage inserts a Page value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsPage(idx int, v vocab.ActivityStreamsPage) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsPerson inserts a Person value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsPerson(idx int, v vocab.ActivityStreamsPerson) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPersonMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsPlace inserts a Place value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsPlace(idx int, v vocab.ActivityStreamsPlace) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPlaceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsProfile inserts a Profile value at the specified index for
|
||
|
// a property "tag". Existing elements at that index and higher are shifted
|
||
|
// back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsProfile(idx int, v vocab.ActivityStreamsProfile) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsProfileMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsQuestion inserts a Question value at the specified index
|
||
|
// for a property "tag". Existing elements at that index and higher are
|
||
|
// shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsQuestion(idx int, v vocab.ActivityStreamsQuestion) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsQuestionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsRead inserts a Read value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsRead(idx int, v vocab.ActivityStreamsRead) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsReadMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsReject inserts a Reject value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsReject(idx int, v vocab.ActivityStreamsReject) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRejectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsRelationship inserts a Relationship value at the specified
|
||
|
// index for a property "tag". Existing elements at that index and higher are
|
||
|
// shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsRelationship(idx int, v vocab.ActivityStreamsRelationship) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRelationshipMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsRemove inserts a Remove value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsRemove(idx int, v vocab.ActivityStreamsRemove) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRemoveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsService inserts a Service value at the specified index for
|
||
|
// a property "tag". Existing elements at that index and higher are shifted
|
||
|
// back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsService(idx int, v vocab.ActivityStreamsService) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsServiceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsTentativeAccept inserts a TentativeAccept value at the
|
||
|
// specified index for a property "tag". Existing elements at that index and
|
||
|
// higher are shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsTentativeAccept(idx int, v vocab.ActivityStreamsTentativeAccept) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTentativeAcceptMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsTentativeReject inserts a TentativeReject value at the
|
||
|
// specified index for a property "tag". Existing elements at that index and
|
||
|
// higher are shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsTentativeReject(idx int, v vocab.ActivityStreamsTentativeReject) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTentativeRejectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsTombstone inserts a Tombstone value at the specified index
|
||
|
// for a property "tag". Existing elements at that index and higher are
|
||
|
// shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsTombstone(idx int, v vocab.ActivityStreamsTombstone) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTombstoneMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsTravel inserts a Travel value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsTravel(idx int, v vocab.ActivityStreamsTravel) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTravelMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsUndo inserts a Undo value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsUndo(idx int, v vocab.ActivityStreamsUndo) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsUndoMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsUpdate inserts a Update value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsUpdate(idx int, v vocab.ActivityStreamsUpdate) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsUpdateMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsVideo inserts a Video value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsVideo(idx int, v vocab.ActivityStreamsVideo) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsVideoMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertActivityStreamsView inserts a View value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertActivityStreamsView(idx int, v vocab.ActivityStreamsView) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsViewMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertForgeFedBranch inserts a Branch value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedBranchMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertForgeFedCommit inserts a Commit value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedCommitMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertForgeFedPush inserts a Push value at the specified index for a property
|
||
|
// "tag". Existing elements at that index and higher are shifted back once.
|
||
|
// Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedPushMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertForgeFedRepository inserts a Repository value at the specified index for
|
||
|
// a property "tag". Existing elements at that index and higher are shifted
|
||
|
// back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedRepositoryMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertForgeFedTicket inserts a Ticket value at the specified index for a
|
||
|
// property "tag". Existing elements at that index and higher are shifted back
|
||
|
// once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedTicketMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertForgeFedTicketDependency inserts a TicketDependency value at the
|
||
|
// specified index for a property "tag". Existing elements at that index and
|
||
|
// higher are shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedTicketDependencyMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Insert inserts an IRI value at the specified index for a property "tag".
|
||
|
// Existing elements at that index and higher are shifted back once.
|
||
|
// Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertIRI(idx int, v *url.URL) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
iri: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertTootEmoji inserts a Emoji value at the specified index for a property
|
||
|
// "tag". Existing elements at that index and higher are shifted back once.
|
||
|
// Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertTootEmoji(idx int, v vocab.TootEmoji) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
tootEmojiMember: v,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// InsertTootIdentityProof inserts a IdentityProof value at the specified index
|
||
|
// for a property "tag". Existing elements at that index and higher are
|
||
|
// shifted back once. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) InsertTootIdentityProof(idx int, v vocab.TootIdentityProof) {
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
tootIdentityProofMember: v,
|
||
|
}
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependType prepends an arbitrary type value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators. Returns an error if the type is
|
||
|
// not a valid one to set for this property.
|
||
|
func (this *ActivityStreamsTagProperty) InsertType(idx int, t vocab.Type) error {
|
||
|
n := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
if err := n.SetType(t); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
this.properties = append(this.properties, nil)
|
||
|
copy(this.properties[idx+1:], this.properties[idx:])
|
||
|
this.properties[idx] = n
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// JSONLDContext returns the JSONLD URIs required in the context string for this
|
||
|
// property and the specific values that are set. The value in the map is the
|
||
|
// alias used to import the property's value or values.
|
||
|
func (this ActivityStreamsTagProperty) JSONLDContext() map[string]string {
|
||
|
m := map[string]string{"https://www.w3.org/ns/activitystreams": this.alias}
|
||
|
for _, elem := range this.properties {
|
||
|
child := elem.JSONLDContext()
|
||
|
/*
|
||
|
Since the literal maps in this function are determined at
|
||
|
code-generation time, this loop should not overwrite an existing key with a
|
||
|
new value.
|
||
|
*/
|
||
|
for k, v := range child {
|
||
|
m[k] = v
|
||
|
}
|
||
|
}
|
||
|
return m
|
||
|
}
|
||
|
|
||
|
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||
|
// a leaky API method specifically needed only for alternate implementations
|
||
|
// for go-fed. Applications should not use this method. Panics if the index is
|
||
|
// out of bounds.
|
||
|
func (this ActivityStreamsTagProperty) KindIndex(idx int) int {
|
||
|
return this.properties[idx].KindIndex()
|
||
|
}
|
||
|
|
||
|
// Len returns the number of values that exist for the "tag" property.
|
||
|
func (this ActivityStreamsTagProperty) Len() (length int) {
|
||
|
return len(this.properties)
|
||
|
}
|
||
|
|
||
|
// Less computes whether another property is less than this one. Mixing types
|
||
|
// results in a consistent but arbitrary ordering
|
||
|
func (this ActivityStreamsTagProperty) Less(i, j int) bool {
|
||
|
idx1 := this.KindIndex(i)
|
||
|
idx2 := this.KindIndex(j)
|
||
|
if idx1 < idx2 {
|
||
|
return true
|
||
|
} else if idx1 == idx2 {
|
||
|
if idx1 == 0 {
|
||
|
lhs := this.properties[i].GetActivityStreamsObject()
|
||
|
rhs := this.properties[j].GetActivityStreamsObject()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 1 {
|
||
|
lhs := this.properties[i].GetActivityStreamsLink()
|
||
|
rhs := this.properties[j].GetActivityStreamsLink()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 2 {
|
||
|
lhs := this.properties[i].GetActivityStreamsAccept()
|
||
|
rhs := this.properties[j].GetActivityStreamsAccept()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 3 {
|
||
|
lhs := this.properties[i].GetActivityStreamsActivity()
|
||
|
rhs := this.properties[j].GetActivityStreamsActivity()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 4 {
|
||
|
lhs := this.properties[i].GetActivityStreamsAdd()
|
||
|
rhs := this.properties[j].GetActivityStreamsAdd()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 5 {
|
||
|
lhs := this.properties[i].GetActivityStreamsAnnounce()
|
||
|
rhs := this.properties[j].GetActivityStreamsAnnounce()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 6 {
|
||
|
lhs := this.properties[i].GetActivityStreamsApplication()
|
||
|
rhs := this.properties[j].GetActivityStreamsApplication()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 7 {
|
||
|
lhs := this.properties[i].GetActivityStreamsArrive()
|
||
|
rhs := this.properties[j].GetActivityStreamsArrive()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 8 {
|
||
|
lhs := this.properties[i].GetActivityStreamsArticle()
|
||
|
rhs := this.properties[j].GetActivityStreamsArticle()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 9 {
|
||
|
lhs := this.properties[i].GetActivityStreamsAudio()
|
||
|
rhs := this.properties[j].GetActivityStreamsAudio()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 10 {
|
||
|
lhs := this.properties[i].GetActivityStreamsBlock()
|
||
|
rhs := this.properties[j].GetActivityStreamsBlock()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 11 {
|
||
|
lhs := this.properties[i].GetForgeFedBranch()
|
||
|
rhs := this.properties[j].GetForgeFedBranch()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 12 {
|
||
|
lhs := this.properties[i].GetActivityStreamsCollection()
|
||
|
rhs := this.properties[j].GetActivityStreamsCollection()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 13 {
|
||
|
lhs := this.properties[i].GetActivityStreamsCollectionPage()
|
||
|
rhs := this.properties[j].GetActivityStreamsCollectionPage()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 14 {
|
||
|
lhs := this.properties[i].GetForgeFedCommit()
|
||
|
rhs := this.properties[j].GetForgeFedCommit()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 15 {
|
||
|
lhs := this.properties[i].GetActivityStreamsCreate()
|
||
|
rhs := this.properties[j].GetActivityStreamsCreate()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 16 {
|
||
|
lhs := this.properties[i].GetActivityStreamsDelete()
|
||
|
rhs := this.properties[j].GetActivityStreamsDelete()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 17 {
|
||
|
lhs := this.properties[i].GetActivityStreamsDislike()
|
||
|
rhs := this.properties[j].GetActivityStreamsDislike()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 18 {
|
||
|
lhs := this.properties[i].GetActivityStreamsDocument()
|
||
|
rhs := this.properties[j].GetActivityStreamsDocument()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 19 {
|
||
|
lhs := this.properties[i].GetTootEmoji()
|
||
|
rhs := this.properties[j].GetTootEmoji()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 20 {
|
||
|
lhs := this.properties[i].GetActivityStreamsEvent()
|
||
|
rhs := this.properties[j].GetActivityStreamsEvent()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 21 {
|
||
|
lhs := this.properties[i].GetActivityStreamsFlag()
|
||
|
rhs := this.properties[j].GetActivityStreamsFlag()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 22 {
|
||
|
lhs := this.properties[i].GetActivityStreamsFollow()
|
||
|
rhs := this.properties[j].GetActivityStreamsFollow()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 23 {
|
||
|
lhs := this.properties[i].GetActivityStreamsGroup()
|
||
|
rhs := this.properties[j].GetActivityStreamsGroup()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 24 {
|
||
|
lhs := this.properties[i].GetTootIdentityProof()
|
||
|
rhs := this.properties[j].GetTootIdentityProof()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 25 {
|
||
|
lhs := this.properties[i].GetActivityStreamsIgnore()
|
||
|
rhs := this.properties[j].GetActivityStreamsIgnore()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 26 {
|
||
|
lhs := this.properties[i].GetActivityStreamsImage()
|
||
|
rhs := this.properties[j].GetActivityStreamsImage()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 27 {
|
||
|
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
|
||
|
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 28 {
|
||
|
lhs := this.properties[i].GetActivityStreamsInvite()
|
||
|
rhs := this.properties[j].GetActivityStreamsInvite()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 29 {
|
||
|
lhs := this.properties[i].GetActivityStreamsJoin()
|
||
|
rhs := this.properties[j].GetActivityStreamsJoin()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 30 {
|
||
|
lhs := this.properties[i].GetActivityStreamsLeave()
|
||
|
rhs := this.properties[j].GetActivityStreamsLeave()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 31 {
|
||
|
lhs := this.properties[i].GetActivityStreamsLike()
|
||
|
rhs := this.properties[j].GetActivityStreamsLike()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 32 {
|
||
|
lhs := this.properties[i].GetActivityStreamsListen()
|
||
|
rhs := this.properties[j].GetActivityStreamsListen()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 33 {
|
||
|
lhs := this.properties[i].GetActivityStreamsMention()
|
||
|
rhs := this.properties[j].GetActivityStreamsMention()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 34 {
|
||
|
lhs := this.properties[i].GetActivityStreamsMove()
|
||
|
rhs := this.properties[j].GetActivityStreamsMove()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 35 {
|
||
|
lhs := this.properties[i].GetActivityStreamsNote()
|
||
|
rhs := this.properties[j].GetActivityStreamsNote()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 36 {
|
||
|
lhs := this.properties[i].GetActivityStreamsOffer()
|
||
|
rhs := this.properties[j].GetActivityStreamsOffer()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 37 {
|
||
|
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
|
||
|
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 38 {
|
||
|
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
|
||
|
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 39 {
|
||
|
lhs := this.properties[i].GetActivityStreamsOrganization()
|
||
|
rhs := this.properties[j].GetActivityStreamsOrganization()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 40 {
|
||
|
lhs := this.properties[i].GetActivityStreamsPage()
|
||
|
rhs := this.properties[j].GetActivityStreamsPage()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 41 {
|
||
|
lhs := this.properties[i].GetActivityStreamsPerson()
|
||
|
rhs := this.properties[j].GetActivityStreamsPerson()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 42 {
|
||
|
lhs := this.properties[i].GetActivityStreamsPlace()
|
||
|
rhs := this.properties[j].GetActivityStreamsPlace()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 43 {
|
||
|
lhs := this.properties[i].GetActivityStreamsProfile()
|
||
|
rhs := this.properties[j].GetActivityStreamsProfile()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 44 {
|
||
|
lhs := this.properties[i].GetForgeFedPush()
|
||
|
rhs := this.properties[j].GetForgeFedPush()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 45 {
|
||
|
lhs := this.properties[i].GetActivityStreamsQuestion()
|
||
|
rhs := this.properties[j].GetActivityStreamsQuestion()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 46 {
|
||
|
lhs := this.properties[i].GetActivityStreamsRead()
|
||
|
rhs := this.properties[j].GetActivityStreamsRead()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 47 {
|
||
|
lhs := this.properties[i].GetActivityStreamsReject()
|
||
|
rhs := this.properties[j].GetActivityStreamsReject()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 48 {
|
||
|
lhs := this.properties[i].GetActivityStreamsRelationship()
|
||
|
rhs := this.properties[j].GetActivityStreamsRelationship()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 49 {
|
||
|
lhs := this.properties[i].GetActivityStreamsRemove()
|
||
|
rhs := this.properties[j].GetActivityStreamsRemove()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 50 {
|
||
|
lhs := this.properties[i].GetForgeFedRepository()
|
||
|
rhs := this.properties[j].GetForgeFedRepository()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 51 {
|
||
|
lhs := this.properties[i].GetActivityStreamsService()
|
||
|
rhs := this.properties[j].GetActivityStreamsService()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 52 {
|
||
|
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
|
||
|
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 53 {
|
||
|
lhs := this.properties[i].GetActivityStreamsTentativeReject()
|
||
|
rhs := this.properties[j].GetActivityStreamsTentativeReject()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 54 {
|
||
|
lhs := this.properties[i].GetForgeFedTicket()
|
||
|
rhs := this.properties[j].GetForgeFedTicket()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 55 {
|
||
|
lhs := this.properties[i].GetForgeFedTicketDependency()
|
||
|
rhs := this.properties[j].GetForgeFedTicketDependency()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 56 {
|
||
|
lhs := this.properties[i].GetActivityStreamsTombstone()
|
||
|
rhs := this.properties[j].GetActivityStreamsTombstone()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 57 {
|
||
|
lhs := this.properties[i].GetActivityStreamsTravel()
|
||
|
rhs := this.properties[j].GetActivityStreamsTravel()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 58 {
|
||
|
lhs := this.properties[i].GetActivityStreamsUndo()
|
||
|
rhs := this.properties[j].GetActivityStreamsUndo()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 59 {
|
||
|
lhs := this.properties[i].GetActivityStreamsUpdate()
|
||
|
rhs := this.properties[j].GetActivityStreamsUpdate()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 60 {
|
||
|
lhs := this.properties[i].GetActivityStreamsVideo()
|
||
|
rhs := this.properties[j].GetActivityStreamsVideo()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == 61 {
|
||
|
lhs := this.properties[i].GetActivityStreamsView()
|
||
|
rhs := this.properties[j].GetActivityStreamsView()
|
||
|
return lhs.LessThan(rhs)
|
||
|
} else if idx1 == -2 {
|
||
|
lhs := this.properties[i].GetIRI()
|
||
|
rhs := this.properties[j].GetIRI()
|
||
|
return lhs.String() < rhs.String()
|
||
|
}
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
// LessThan compares two instances of this property with an arbitrary but stable
|
||
|
// comparison. Applications should not use this because it is only meant to
|
||
|
// help alternative implementations to go-fed to be able to normalize
|
||
|
// nonfunctional properties.
|
||
|
func (this ActivityStreamsTagProperty) LessThan(o vocab.ActivityStreamsTagProperty) bool {
|
||
|
l1 := this.Len()
|
||
|
l2 := o.Len()
|
||
|
l := l1
|
||
|
if l2 < l1 {
|
||
|
l = l2
|
||
|
}
|
||
|
for i := 0; i < l; i++ {
|
||
|
if this.properties[i].LessThan(o.At(i)) {
|
||
|
return true
|
||
|
} else if o.At(i).LessThan(this.properties[i]) {
|
||
|
return false
|
||
|
}
|
||
|
}
|
||
|
return l1 < l2
|
||
|
}
|
||
|
|
||
|
// Name returns the name of this property ("tag") with any alias.
|
||
|
func (this ActivityStreamsTagProperty) Name() string {
|
||
|
if len(this.alias) > 0 {
|
||
|
return this.alias + ":" + "tag"
|
||
|
} else {
|
||
|
return "tag"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsAccept prepends a Accept value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsAccept(v vocab.ActivityStreamsAccept) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsAcceptMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsActivity prepends a Activity value to the front of a list
|
||
|
// of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsActivity(v vocab.ActivityStreamsActivity) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsActivityMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsAdd prepends a Add value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsAdd(v vocab.ActivityStreamsAdd) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsAddMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsAnnounce prepends a Announce value to the front of a list
|
||
|
// of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsAnnounceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsApplication prepends a Application value to the front of
|
||
|
// a list of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsApplication(v vocab.ActivityStreamsApplication) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsApplicationMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsArrive prepends a Arrive value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsArrive(v vocab.ActivityStreamsArrive) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsArriveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsArticle prepends a Article value to the front of a list
|
||
|
// of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsArticle(v vocab.ActivityStreamsArticle) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsArticleMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsAudio prepends a Audio value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsAudio(v vocab.ActivityStreamsAudio) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsAudioMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsBlock prepends a Block value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsBlock(v vocab.ActivityStreamsBlock) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsBlockMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsCollection prepends a Collection value to the front of a
|
||
|
// list of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsCollection(v vocab.ActivityStreamsCollection) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsCollectionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsCollectionPage prepends a CollectionPage value to the
|
||
|
// front of a list of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsCollectionPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsCreate prepends a Create value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsCreate(v vocab.ActivityStreamsCreate) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsCreateMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsDelete prepends a Delete value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsDelete(v vocab.ActivityStreamsDelete) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsDeleteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsDislike prepends a Dislike value to the front of a list
|
||
|
// of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsDislike(v vocab.ActivityStreamsDislike) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsDislikeMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsDocument prepends a Document value to the front of a list
|
||
|
// of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsDocument(v vocab.ActivityStreamsDocument) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsDocumentMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsEvent prepends a Event value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsEvent(v vocab.ActivityStreamsEvent) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsEventMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsFlag prepends a Flag value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsFlag(v vocab.ActivityStreamsFlag) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsFlagMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsFollow prepends a Follow value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsFollow(v vocab.ActivityStreamsFollow) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsFollowMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsGroup prepends a Group value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsGroup(v vocab.ActivityStreamsGroup) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsGroupMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsIgnore prepends a Ignore value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsIgnoreMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsImage prepends a Image value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsImage(v vocab.ActivityStreamsImage) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsImageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsIntransitiveActivity prepends a IntransitiveActivity
|
||
|
// value to the front of a list of the property "tag". Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsIntransitiveActivityMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsInvite prepends a Invite value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsInvite(v vocab.ActivityStreamsInvite) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsInviteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsJoin prepends a Join value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsJoin(v vocab.ActivityStreamsJoin) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsJoinMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsLeave prepends a Leave value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsLeave(v vocab.ActivityStreamsLeave) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsLeaveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsLike prepends a Like value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsLike(v vocab.ActivityStreamsLike) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsLikeMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsLink prepends a Link value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsLink(v vocab.ActivityStreamsLink) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsLinkMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsListen prepends a Listen value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsListen(v vocab.ActivityStreamsListen) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsListenMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsMention prepends a Mention value to the front of a list
|
||
|
// of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsMention(v vocab.ActivityStreamsMention) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsMentionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsMove prepends a Move value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsMove(v vocab.ActivityStreamsMove) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsMoveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsNote prepends a Note value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsNote(v vocab.ActivityStreamsNote) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsNoteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsObject prepends a Object value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsObject(v vocab.ActivityStreamsObject) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsObjectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsOffer prepends a Offer value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsOffer(v vocab.ActivityStreamsOffer) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsOfferMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsOrderedCollection prepends a OrderedCollection value to
|
||
|
// the front of a list of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsOrderedCollectionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsOrderedCollectionPage prepends a OrderedCollectionPage
|
||
|
// value to the front of a list of the property "tag". Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsOrderedCollectionPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsOrganization prepends a Organization value to the front
|
||
|
// of a list of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsOrganizationMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsPage prepends a Page value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsPage(v vocab.ActivityStreamsPage) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsPerson prepends a Person value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsPerson(v vocab.ActivityStreamsPerson) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsPersonMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsPlace prepends a Place value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsPlace(v vocab.ActivityStreamsPlace) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsPlaceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsProfile prepends a Profile value to the front of a list
|
||
|
// of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsProfile(v vocab.ActivityStreamsProfile) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsProfileMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsQuestion prepends a Question value to the front of a list
|
||
|
// of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsQuestionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsRead prepends a Read value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsRead(v vocab.ActivityStreamsRead) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsReadMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsReject prepends a Reject value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsReject(v vocab.ActivityStreamsReject) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsRejectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsRelationship prepends a Relationship value to the front
|
||
|
// of a list of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsRelationshipMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsRemove prepends a Remove value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsRemove(v vocab.ActivityStreamsRemove) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsRemoveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsService prepends a Service value to the front of a list
|
||
|
// of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsService(v vocab.ActivityStreamsService) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsServiceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsTentativeAccept prepends a TentativeAccept value to the
|
||
|
// front of a list of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsTentativeAcceptMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsTentativeReject prepends a TentativeReject value to the
|
||
|
// front of a list of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsTentativeRejectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsTombstone prepends a Tombstone value to the front of a
|
||
|
// list of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsTombstoneMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsTravel prepends a Travel value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsTravel(v vocab.ActivityStreamsTravel) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsTravelMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsUndo prepends a Undo value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsUndo(v vocab.ActivityStreamsUndo) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsUndoMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsUpdate prepends a Update value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsUpdateMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsVideo prepends a Video value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsVideo(v vocab.ActivityStreamsVideo) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsVideoMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependActivityStreamsView prepends a View value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependActivityStreamsView(v vocab.ActivityStreamsView) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
activitystreamsViewMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependForgeFedBranch prepends a Branch value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
alias: this.alias,
|
||
|
forgefedBranchMember: v,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependForgeFedCommit prepends a Commit value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
alias: this.alias,
|
||
|
forgefedCommitMember: v,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependForgeFedPush prepends a Push value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependForgeFedPush(v vocab.ForgeFedPush) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
alias: this.alias,
|
||
|
forgefedPushMember: v,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependForgeFedRepository prepends a Repository value to the front of a list of
|
||
|
// the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
alias: this.alias,
|
||
|
forgefedRepositoryMember: v,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependForgeFedTicket prepends a Ticket value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
alias: this.alias,
|
||
|
forgefedTicketMember: v,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependForgeFedTicketDependency prepends a TicketDependency value to the front
|
||
|
// of a list of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
alias: this.alias,
|
||
|
forgefedTicketDependencyMember: v,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependIRI prepends an IRI value to the front of a list of the property "tag".
|
||
|
func (this *ActivityStreamsTagProperty) PrependIRI(v *url.URL) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
alias: this.alias,
|
||
|
iri: v,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependTootEmoji prepends a Emoji value to the front of a list of the property
|
||
|
// "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependTootEmoji(v vocab.TootEmoji) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
tootEmojiMember: v,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependTootIdentityProof prepends a IdentityProof value to the front of a list
|
||
|
// of the property "tag". Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) {
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
tootIdentityProofMember: v,
|
||
|
}}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// PrependType prepends an arbitrary type value to the front of a list of the
|
||
|
// property "tag". Invalidates all iterators. Returns an error if the type is
|
||
|
// not a valid one to set for this property.
|
||
|
func (this *ActivityStreamsTagProperty) PrependType(t vocab.Type) error {
|
||
|
n := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
myIdx: 0,
|
||
|
parent: this,
|
||
|
}
|
||
|
if err := n.SetType(t); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
this.properties = append([]*ActivityStreamsTagPropertyIterator{n}, this.properties...)
|
||
|
for i := 1; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// Remove deletes an element at the specified index from a list of the property
|
||
|
// "tag", regardless of its type. Panics if the index is out of bounds.
|
||
|
// Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) Remove(idx int) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
copy((this.properties)[idx:], (this.properties)[idx+1:])
|
||
|
(this.properties)[len(this.properties)-1] = &ActivityStreamsTagPropertyIterator{}
|
||
|
this.properties = (this.properties)[:len(this.properties)-1]
|
||
|
for i := idx; i < this.Len(); i++ {
|
||
|
(this.properties)[i].myIdx = i
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Serialize converts this into an interface representation suitable for
|
||
|
// marshalling into a text or binary format. Applications should not need this
|
||
|
// function as most typical use cases serialize types instead of individual
|
||
|
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||
|
func (this ActivityStreamsTagProperty) Serialize() (interface{}, error) {
|
||
|
s := make([]interface{}, 0, len(this.properties))
|
||
|
for _, iterator := range this.properties {
|
||
|
if b, err := iterator.serialize(); err != nil {
|
||
|
return s, err
|
||
|
} else {
|
||
|
s = append(s, b)
|
||
|
}
|
||
|
}
|
||
|
// Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
|
||
|
if len(s) == 1 {
|
||
|
return s[0], nil
|
||
|
}
|
||
|
return s, nil
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsAccept sets a Accept value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsAccept(idx int, v vocab.ActivityStreamsAccept) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAcceptMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsActivity sets a Activity value to be at the specified index
|
||
|
// for the property "tag". Panics if the index is out of bounds. Invalidates
|
||
|
// all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsActivity(idx int, v vocab.ActivityStreamsActivity) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsActivityMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsAdd sets a Add value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsAdd(idx int, v vocab.ActivityStreamsAdd) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAddMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsAnnounce sets a Announce value to be at the specified index
|
||
|
// for the property "tag". Panics if the index is out of bounds. Invalidates
|
||
|
// all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsAnnounce(idx int, v vocab.ActivityStreamsAnnounce) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAnnounceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsApplication sets a Application value to be at the specified
|
||
|
// index for the property "tag". Panics if the index is out of bounds.
|
||
|
// Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsApplication(idx int, v vocab.ActivityStreamsApplication) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsApplicationMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsArrive sets a Arrive value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsArrive(idx int, v vocab.ActivityStreamsArrive) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsArriveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsArticle sets a Article value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsArticle(idx int, v vocab.ActivityStreamsArticle) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsArticleMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsAudio sets a Audio value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsAudio(idx int, v vocab.ActivityStreamsAudio) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsAudioMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsBlock sets a Block value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsBlock(idx int, v vocab.ActivityStreamsBlock) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsBlockMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsCollection sets a Collection value to be at the specified
|
||
|
// index for the property "tag". Panics if the index is out of bounds.
|
||
|
// Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsCollection(idx int, v vocab.ActivityStreamsCollection) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCollectionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsCollectionPage sets a CollectionPage value to be at the
|
||
|
// specified index for the property "tag". Panics if the index is out of
|
||
|
// bounds. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsCollectionPage(idx int, v vocab.ActivityStreamsCollectionPage) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCollectionPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsCreate sets a Create value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsCreate(idx int, v vocab.ActivityStreamsCreate) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsCreateMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsDelete sets a Delete value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsDelete(idx int, v vocab.ActivityStreamsDelete) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDeleteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsDislike sets a Dislike value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsDislike(idx int, v vocab.ActivityStreamsDislike) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDislikeMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsDocument sets a Document value to be at the specified index
|
||
|
// for the property "tag". Panics if the index is out of bounds. Invalidates
|
||
|
// all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsDocument(idx int, v vocab.ActivityStreamsDocument) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsDocumentMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsEvent sets a Event value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsEvent(idx int, v vocab.ActivityStreamsEvent) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsEventMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsFlag sets a Flag value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsFlag(idx int, v vocab.ActivityStreamsFlag) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsFlagMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsFollow sets a Follow value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsFollow(idx int, v vocab.ActivityStreamsFollow) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsFollowMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsGroup sets a Group value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsGroup(idx int, v vocab.ActivityStreamsGroup) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsGroupMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsIgnore sets a Ignore value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsIgnore(idx int, v vocab.ActivityStreamsIgnore) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsIgnoreMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsImage sets a Image value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsImage(idx int, v vocab.ActivityStreamsImage) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsImageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsIntransitiveActivity sets a IntransitiveActivity value to be
|
||
|
// at the specified index for the property "tag". Panics if the index is out
|
||
|
// of bounds. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsIntransitiveActivity(idx int, v vocab.ActivityStreamsIntransitiveActivity) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsIntransitiveActivityMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsInvite sets a Invite value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsInvite(idx int, v vocab.ActivityStreamsInvite) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsInviteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsJoin sets a Join value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsJoin(idx int, v vocab.ActivityStreamsJoin) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsJoinMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsLeave sets a Leave value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsLeave(idx int, v vocab.ActivityStreamsLeave) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLeaveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsLike sets a Like value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsLike(idx int, v vocab.ActivityStreamsLike) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLikeMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsLink sets a Link value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsLink(idx int, v vocab.ActivityStreamsLink) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsLinkMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsListen sets a Listen value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsListen(idx int, v vocab.ActivityStreamsListen) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsListenMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsMention sets a Mention value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsMention(idx int, v vocab.ActivityStreamsMention) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsMentionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsMove sets a Move value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsMove(idx int, v vocab.ActivityStreamsMove) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsMoveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsNote sets a Note value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsNote(idx int, v vocab.ActivityStreamsNote) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsNoteMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsObject sets a Object value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsObject(idx int, v vocab.ActivityStreamsObject) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsObjectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsOffer sets a Offer value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsOffer(idx int, v vocab.ActivityStreamsOffer) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOfferMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsOrderedCollection sets a OrderedCollection value to be at the
|
||
|
// specified index for the property "tag". Panics if the index is out of
|
||
|
// bounds. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsOrderedCollection(idx int, v vocab.ActivityStreamsOrderedCollection) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrderedCollectionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsOrderedCollectionPage sets a OrderedCollectionPage value to
|
||
|
// be at the specified index for the property "tag". Panics if the index is
|
||
|
// out of bounds. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsOrderedCollectionPage(idx int, v vocab.ActivityStreamsOrderedCollectionPage) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrderedCollectionPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsOrganization sets a Organization value to be at the specified
|
||
|
// index for the property "tag". Panics if the index is out of bounds.
|
||
|
// Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsOrganization(idx int, v vocab.ActivityStreamsOrganization) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsOrganizationMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsPage sets a Page value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsPage(idx int, v vocab.ActivityStreamsPage) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPageMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsPerson sets a Person value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsPerson(idx int, v vocab.ActivityStreamsPerson) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPersonMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsPlace sets a Place value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsPlace(idx int, v vocab.ActivityStreamsPlace) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsPlaceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsProfile sets a Profile value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsProfile(idx int, v vocab.ActivityStreamsProfile) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsProfileMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsQuestion sets a Question value to be at the specified index
|
||
|
// for the property "tag". Panics if the index is out of bounds. Invalidates
|
||
|
// all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsQuestion(idx int, v vocab.ActivityStreamsQuestion) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsQuestionMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsRead sets a Read value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsRead(idx int, v vocab.ActivityStreamsRead) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsReadMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsReject sets a Reject value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsReject(idx int, v vocab.ActivityStreamsReject) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRejectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsRelationship sets a Relationship value to be at the specified
|
||
|
// index for the property "tag". Panics if the index is out of bounds.
|
||
|
// Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsRelationship(idx int, v vocab.ActivityStreamsRelationship) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRelationshipMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsRemove sets a Remove value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsRemove(idx int, v vocab.ActivityStreamsRemove) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsRemoveMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsService sets a Service value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsService(idx int, v vocab.ActivityStreamsService) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsServiceMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsTentativeAccept sets a TentativeAccept value to be at the
|
||
|
// specified index for the property "tag". Panics if the index is out of
|
||
|
// bounds. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsTentativeAccept(idx int, v vocab.ActivityStreamsTentativeAccept) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTentativeAcceptMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsTentativeReject sets a TentativeReject value to be at the
|
||
|
// specified index for the property "tag". Panics if the index is out of
|
||
|
// bounds. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsTentativeReject(idx int, v vocab.ActivityStreamsTentativeReject) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTentativeRejectMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsTombstone sets a Tombstone value to be at the specified index
|
||
|
// for the property "tag". Panics if the index is out of bounds. Invalidates
|
||
|
// all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsTombstone(idx int, v vocab.ActivityStreamsTombstone) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTombstoneMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsTravel sets a Travel value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsTravel(idx int, v vocab.ActivityStreamsTravel) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsTravelMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsUndo sets a Undo value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsUndo(idx int, v vocab.ActivityStreamsUndo) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsUndoMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsUpdate sets a Update value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsUpdate(idx int, v vocab.ActivityStreamsUpdate) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsUpdateMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsVideo sets a Video value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsVideo(idx int, v vocab.ActivityStreamsVideo) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsVideoMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetActivityStreamsView sets a View value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetActivityStreamsView(idx int, v vocab.ActivityStreamsView) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
activitystreamsViewMember: v,
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetForgeFedBranch sets a Branch value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedBranchMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetForgeFedCommit sets a Commit value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedCommitMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetForgeFedPush sets a Push value to be at the specified index for the property
|
||
|
// "tag". Panics if the index is out of bounds. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetForgeFedPush(idx int, v vocab.ForgeFedPush) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedPushMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetForgeFedRepository sets a Repository value to be at the specified index for
|
||
|
// the property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedRepositoryMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetForgeFedTicket sets a Ticket value to be at the specified index for the
|
||
|
// property "tag". Panics if the index is out of bounds. Invalidates all
|
||
|
// iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedTicketMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetForgeFedTicketDependency sets a TicketDependency value to be at the
|
||
|
// specified index for the property "tag". Panics if the index is out of
|
||
|
// bounds. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
forgefedTicketDependencyMember: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetIRI sets an IRI value to be at the specified index for the property "tag".
|
||
|
// Panics if the index is out of bounds.
|
||
|
func (this *ActivityStreamsTagProperty) SetIRI(idx int, v *url.URL) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
iri: v,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetTootEmoji sets a Emoji value to be at the specified index for the property
|
||
|
// "tag". Panics if the index is out of bounds. Invalidates all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetTootEmoji(idx int, v vocab.TootEmoji) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
tootEmojiMember: v,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetTootIdentityProof sets a IdentityProof value to be at the specified index
|
||
|
// for the property "tag". Panics if the index is out of bounds. Invalidates
|
||
|
// all iterators.
|
||
|
func (this *ActivityStreamsTagProperty) SetTootIdentityProof(idx int, v vocab.TootIdentityProof) {
|
||
|
(this.properties)[idx].parent = nil
|
||
|
(this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
tootIdentityProofMember: v,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetType sets an arbitrary type value to the specified index of the property
|
||
|
// "tag". Invalidates all iterators. Returns an error if the type is not a
|
||
|
// valid one to set for this property. Panics if the index is out of bounds.
|
||
|
func (this *ActivityStreamsTagProperty) SetType(idx int, t vocab.Type) error {
|
||
|
n := &ActivityStreamsTagPropertyIterator{
|
||
|
alias: this.alias,
|
||
|
myIdx: idx,
|
||
|
parent: this,
|
||
|
}
|
||
|
if err := n.SetType(t); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
(this.properties)[idx] = n
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// Swap swaps the location of values at two indices for the "tag" property.
|
||
|
func (this ActivityStreamsTagProperty) Swap(i, j int) {
|
||
|
this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
|
||
|
}
|