diff options
author | 2021-08-12 21:03:24 +0200 | |
---|---|---|
committer | 2021-08-12 21:03:24 +0200 | |
commit | 98263a7de64269898a2f81207e38943b5c8e8653 (patch) | |
tree | 743c90f109a6c5d27832d1dcef2388d939f0f77a /vendor/github.com/go-fed/activity/streams/impl/activitystreams/property_cc | |
parent | Text duplication fix (#137) (diff) | |
download | gotosocial-98263a7de64269898a2f81207e38943b5c8e8653.tar.xz |
Grand test fixup (#138)
* start fixing up tests
* fix up tests + automate with drone
* fiddle with linting
* messing about with drone.yml
* some more fiddling
* hmmm
* add cache
* add vendor directory
* verbose
* ci updates
* update some little things
* update sig
Diffstat (limited to 'vendor/github.com/go-fed/activity/streams/impl/activitystreams/property_cc')
3 files changed, 7310 insertions, 0 deletions
diff --git a/vendor/github.com/go-fed/activity/streams/impl/activitystreams/property_cc/gen_doc.go b/vendor/github.com/go-fed/activity/streams/impl/activitystreams/property_cc/gen_doc.go new file mode 100644 index 000000000..59f1c6ce9 --- /dev/null +++ b/vendor/github.com/go-fed/activity/streams/impl/activitystreams/property_cc/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package propertycc contains the implementation for the cc property. All +// applications are strongly encouraged to use the interface instead of this +// concrete definition. The interfaces allow applications to consume only the +// types and properties needed and be independent of the go-fed implementation +// if another alternative implementation is created. This package is +// code-generated and subject to the same license as the go-fed tool used to +// generate it. +// +// This package is independent of other types' and properties' implementations +// by having a Manager injected into it to act as a factory for the concrete +// implementations. The implementations have been generated into their own +// separate subpackages for each vocabulary. +// +// Strongly consider using the interfaces instead of this package. +package propertycc diff --git a/vendor/github.com/go-fed/activity/streams/impl/activitystreams/property_cc/gen_pkg.go b/vendor/github.com/go-fed/activity/streams/impl/activitystreams/property_cc/gen_pkg.go new file mode 100644 index 000000000..5671fdfc2 --- /dev/null +++ b/vendor/github.com/go-fed/activity/streams/impl/activitystreams/property_cc/gen_pkg.go @@ -0,0 +1,265 @@ +// Code generated by astool. DO NOT EDIT. + +package propertycc + +import vocab "github.com/go-fed/activity/streams/vocab" + +var mgr privateManager + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface { + // DeserializeAcceptActivityStreams returns the deserialization method for + // the "ActivityStreamsAccept" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAccept, error) + // DeserializeActivityActivityStreams returns the deserialization method + // for the "ActivityStreamsActivity" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActivity, error) + // DeserializeAddActivityStreams returns the deserialization method for + // the "ActivityStreamsAdd" non-functional property in the vocabulary + // "ActivityStreams" + DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error) + // DeserializeAnnounceActivityStreams returns the deserialization method + // for the "ActivityStreamsAnnounce" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error) + // DeserializeApplicationActivityStreams returns the deserialization + // method for the "ActivityStreamsApplication" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeApplicationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsApplication, error) + // DeserializeArriveActivityStreams returns the deserialization method for + // the "ActivityStreamsArrive" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeArriveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArrive, error) + // DeserializeArticleActivityStreams returns the deserialization method + // for the "ActivityStreamsArticle" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error) + // DeserializeAudioActivityStreams returns the deserialization method for + // the "ActivityStreamsAudio" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeAudioActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudio, error) + // DeserializeBlockActivityStreams returns the deserialization method for + // the "ActivityStreamsBlock" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) + // DeserializeBranchForgeFed returns the deserialization method for the + // "ForgeFedBranch" non-functional property in the vocabulary + // "ForgeFed" + DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) + // DeserializeCollectionActivityStreams returns the deserialization method + // for the "ActivityStreamsCollection" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollection, error) + // DeserializeCollectionPageActivityStreams returns the deserialization + // method for the "ActivityStreamsCollectionPage" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) + // DeserializeCommitForgeFed returns the deserialization method for the + // "ForgeFedCommit" non-functional property in the vocabulary + // "ForgeFed" + DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) + // DeserializeCreateActivityStreams returns the deserialization method for + // the "ActivityStreamsCreate" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeCreateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCreate, error) + // DeserializeDeleteActivityStreams returns the deserialization method for + // the "ActivityStreamsDelete" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeDeleteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDelete, error) + // DeserializeDislikeActivityStreams returns the deserialization method + // for the "ActivityStreamsDislike" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeDislikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDislike, error) + // DeserializeDocumentActivityStreams returns the deserialization method + // for the "ActivityStreamsDocument" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error) + // DeserializeEmojiToot returns the deserialization method for the + // "TootEmoji" non-functional property in the vocabulary "Toot" + DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error) + // DeserializeEventActivityStreams returns the deserialization method for + // the "ActivityStreamsEvent" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeEventActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEvent, error) + // DeserializeFlagActivityStreams returns the deserialization method for + // the "ActivityStreamsFlag" non-functional property in the vocabulary + // "ActivityStreams" + DeserializeFlagActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFlag, error) + // DeserializeFollowActivityStreams returns the deserialization method for + // the "ActivityStreamsFollow" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeFollowActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFollow, error) + // DeserializeGroupActivityStreams returns the deserialization method for + // the "ActivityStreamsGroup" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeIdentityProofToot returns the deserialization method for the + // "TootIdentityProof" non-functional property in the vocabulary "Toot" + DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) + // DeserializeIgnoreActivityStreams returns the deserialization method for + // the "ActivityStreamsIgnore" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeIgnoreActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIgnore, error) + // DeserializeImageActivityStreams returns the deserialization method for + // the "ActivityStreamsImage" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeImageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImage, error) + // DeserializeIntransitiveActivityActivityStreams returns the + // deserialization method for the + // "ActivityStreamsIntransitiveActivity" non-functional property in + // the vocabulary "ActivityStreams" + DeserializeIntransitiveActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIntransitiveActivity, error) + // DeserializeInviteActivityStreams returns the deserialization method for + // the "ActivityStreamsInvite" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeInviteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInvite, error) + // DeserializeJoinActivityStreams returns the deserialization method for + // the "ActivityStreamsJoin" non-functional property in the vocabulary + // "ActivityStreams" + DeserializeJoinActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsJoin, error) + // DeserializeLeaveActivityStreams returns the deserialization method for + // the "ActivityStreamsLeave" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error) + // DeserializeLikeActivityStreams returns the deserialization method for + // the "ActivityStreamsLike" non-functional property in the vocabulary + // "ActivityStreams" + DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error) + // DeserializeLinkActivityStreams returns the deserialization method for + // the "ActivityStreamsLink" non-functional property in the vocabulary + // "ActivityStreams" + DeserializeLinkActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLink, error) + // DeserializeListenActivityStreams returns the deserialization method for + // the "ActivityStreamsListen" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeListenActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsListen, error) + // DeserializeMentionActivityStreams returns the deserialization method + // for the "ActivityStreamsMention" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeMentionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMention, error) + // DeserializeMoveActivityStreams returns the deserialization method for + // the "ActivityStreamsMove" non-functional property in the vocabulary + // "ActivityStreams" + DeserializeMoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMove, error) + // DeserializeNoteActivityStreams returns the deserialization method for + // the "ActivityStreamsNote" non-functional property in the vocabulary + // "ActivityStreams" + DeserializeNoteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNote, error) + // DeserializeObjectActivityStreams returns the deserialization method for + // the "ActivityStreamsObject" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeObjectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObject, error) + // DeserializeOfferActivityStreams returns the deserialization method for + // the "ActivityStreamsOffer" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeOfferActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOffer, error) + // DeserializeOrderedCollectionActivityStreams returns the deserialization + // method for the "ActivityStreamsOrderedCollection" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeOrderedCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollection, error) + // DeserializeOrderedCollectionPageActivityStreams returns the + // deserialization method for the + // "ActivityStreamsOrderedCollectionPage" non-functional property in + // the vocabulary "ActivityStreams" + DeserializeOrderedCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollectionPage, error) + // DeserializeOrganizationActivityStreams returns the deserialization + // method for the "ActivityStreamsOrganization" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeOrganizationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrganization, error) + // DeserializePageActivityStreams returns the deserialization method for + // the "ActivityStreamsPage" non-functional property in the vocabulary + // "ActivityStreams" + DeserializePageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPage, error) + // DeserializePersonActivityStreams returns the deserialization method for + // the "ActivityStreamsPerson" non-functional property in the + // vocabulary "ActivityStreams" + DeserializePersonActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPerson, error) + // DeserializePlaceActivityStreams returns the deserialization method for + // the "ActivityStreamsPlace" non-functional property in the + // vocabulary "ActivityStreams" + DeserializePlaceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPlace, error) + // DeserializeProfileActivityStreams returns the deserialization method + // for the "ActivityStreamsProfile" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) + // DeserializePushForgeFed returns the deserialization method for the + // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" + DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) + // DeserializeQuestionActivityStreams returns the deserialization method + // for the "ActivityStreamsQuestion" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeQuestionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsQuestion, error) + // DeserializeReadActivityStreams returns the deserialization method for + // the "ActivityStreamsRead" non-functional property in the vocabulary + // "ActivityStreams" + DeserializeReadActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRead, error) + // DeserializeRejectActivityStreams returns the deserialization method for + // the "ActivityStreamsReject" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsReject, error) + // DeserializeRelationshipActivityStreams returns the deserialization + // method for the "ActivityStreamsRelationship" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeRelationshipActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRelationship, error) + // DeserializeRemoveActivityStreams returns the deserialization method for + // the "ActivityStreamsRemove" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) + // DeserializeRepositoryForgeFed returns the deserialization method for + // the "ForgeFedRepository" non-functional property in the vocabulary + // "ForgeFed" + DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) + // DeserializeServiceActivityStreams returns the deserialization method + // for the "ActivityStreamsService" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeServiceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsService, error) + // DeserializeTentativeAcceptActivityStreams returns the deserialization + // method for the "ActivityStreamsTentativeAccept" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeTentativeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeAccept, error) + // DeserializeTentativeRejectActivityStreams returns the deserialization + // method for the "ActivityStreamsTentativeReject" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) + // DeserializeTicketDependencyForgeFed returns the deserialization method + // for the "ForgeFedTicketDependency" non-functional property in the + // vocabulary "ForgeFed" + DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) + // DeserializeTicketForgeFed returns the deserialization method for the + // "ForgeFedTicket" non-functional property in the vocabulary + // "ForgeFed" + DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) + // DeserializeTombstoneActivityStreams returns the deserialization method + // for the "ActivityStreamsTombstone" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error) + // DeserializeTravelActivityStreams returns the deserialization method for + // the "ActivityStreamsTravel" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeTravelActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTravel, error) + // DeserializeUndoActivityStreams returns the deserialization method for + // the "ActivityStreamsUndo" non-functional property in the vocabulary + // "ActivityStreams" + DeserializeUndoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUndo, error) + // DeserializeUpdateActivityStreams returns the deserialization method for + // the "ActivityStreamsUpdate" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeUpdateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdate, error) + // DeserializeVideoActivityStreams returns the deserialization method for + // the "ActivityStreamsVideo" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeVideoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsVideo, error) + // DeserializeViewActivityStreams returns the deserialization method for + // the "ActivityStreamsView" non-functional property in the vocabulary + // "ActivityStreams" + DeserializeViewActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsView, error) +} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} diff --git a/vendor/github.com/go-fed/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go b/vendor/github.com/go-fed/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go new file mode 100644 index 000000000..e4df02fa3 --- /dev/null +++ b/vendor/github.com/go-fed/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go @@ -0,0 +1,7028 @@ +// Code generated by astool. DO NOT EDIT. + +package propertycc + +import ( + "fmt" + vocab "github.com/go-fed/activity/streams/vocab" + "net/url" +) + +// ActivityStreamsCcPropertyIterator 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 ActivityStreamsCcPropertyIterator 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.ActivityStreamsCcProperty +} + +// NewActivityStreamsCcPropertyIterator creates a new ActivityStreamsCc property. +func NewActivityStreamsCcPropertyIterator() *ActivityStreamsCcPropertyIterator { + return &ActivityStreamsCcPropertyIterator{alias: ""} +} + +// deserializeActivityStreamsCcPropertyIterator creates an iterator from an +// element that has been unmarshalled from a text or binary format. +func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[string]string) (*ActivityStreamsCcPropertyIterator, 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 := &ActivityStreamsCcPropertyIterator{ + 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 := &ActivityStreamsCcPropertyIterator{ + activitystreamsObjectMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeLinkActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsLinkMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeAcceptActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsAcceptMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeActivityActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsActivityMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeAddActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsAddMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsAnnounceMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsApplicationMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeArriveActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsArriveMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeArticleActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsArticleMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsAudioMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeBlockActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsBlockMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + forgefedBranchMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsCollectionMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeCollectionPageActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsCollectionPageMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + forgefedCommitMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsCreateMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeDeleteActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsDeleteMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeDislikeActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsDislikeMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeDocumentActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsDocumentMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeEmojiToot()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + tootEmojiMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsEventMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeFlagActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsFlagMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeFollowActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsFollowMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeGroupActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsGroupMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + tootIdentityProofMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeIgnoreActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsIgnoreMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeImageActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsImageMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeIntransitiveActivityActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsIntransitiveActivityMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeInviteActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsInviteMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeJoinActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsJoinMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeLeaveActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsLeaveMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsLikeMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsListenMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsMentionMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeMoveActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsMoveMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeNoteActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsNoteMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeOfferActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsOfferMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeOrderedCollectionActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsOrderedCollectionMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeOrderedCollectionPageActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsOrderedCollectionPageMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeOrganizationActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsOrganizationMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializePageActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsPageMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializePersonActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsPersonMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializePlaceActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsPlaceMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeProfileActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsProfileMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + forgefedPushMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsQuestionMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeReadActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsReadMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeRejectActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsRejectMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeRelationshipActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsRelationshipMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeRemoveActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsRemoveMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + forgefedRepositoryMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsServiceMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeTentativeAcceptActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsTentativeAcceptMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeTentativeRejectActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsTentativeRejectMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + forgefedTicketMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + forgefedTicketDependencyMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsTombstoneMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsTravelMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeUndoActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsUndoMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeUpdateActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsUpdateMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeVideoActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsVideoMember: v, + alias: alias, + } + return this, nil + } else if v, err := mgr.DeserializeViewActivityStreams()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + activitystreamsViewMember: v, + alias: alias, + } + return this, nil + } + } + this := &ActivityStreamsCcPropertyIterator{ + 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCcPropertyIterator) 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: "ActivityStreamsCc". +func (this ActivityStreamsCcPropertyIterator) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "ActivityStreamsCc" + } else { + return "ActivityStreamsCc" + } +} + +// Next returns the next iterator, or nil if there is no next iterator. +func (this ActivityStreamsCcPropertyIterator) Next() vocab.ActivityStreamsCcPropertyIterator { + 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 ActivityStreamsCcPropertyIterator) Prev() vocab.ActivityStreamsCcPropertyIterator { + 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 *ActivityStreamsCcPropertyIterator) SetActivityStreamsAccept(v vocab.ActivityStreamsAccept) { + this.clear() + this.activitystreamsAcceptMember = v +} + +// SetActivityStreamsActivity sets the value of this property. Calling +// IsActivityStreamsActivity afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsActivity(v vocab.ActivityStreamsActivity) { + this.clear() + this.activitystreamsActivityMember = v +} + +// SetActivityStreamsAdd sets the value of this property. Calling +// IsActivityStreamsAdd afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsAdd(v vocab.ActivityStreamsAdd) { + this.clear() + this.activitystreamsAddMember = v +} + +// SetActivityStreamsAnnounce sets the value of this property. Calling +// IsActivityStreamsAnnounce afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { + this.clear() + this.activitystreamsAnnounceMember = v +} + +// SetActivityStreamsApplication sets the value of this property. Calling +// IsActivityStreamsApplication afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsApplication(v vocab.ActivityStreamsApplication) { + this.clear() + this.activitystreamsApplicationMember = v +} + +// SetActivityStreamsArrive sets the value of this property. Calling +// IsActivityStreamsArrive afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsArrive(v vocab.ActivityStreamsArrive) { + this.clear() + this.activitystreamsArriveMember = v +} + +// SetActivityStreamsArticle sets the value of this property. Calling +// IsActivityStreamsArticle afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsArticle(v vocab.ActivityStreamsArticle) { + this.clear() + this.activitystreamsArticleMember = v +} + +// SetActivityStreamsAudio sets the value of this property. Calling +// IsActivityStreamsAudio afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsAudio(v vocab.ActivityStreamsAudio) { + this.clear() + this.activitystreamsAudioMember = v +} + +// SetActivityStreamsBlock sets the value of this property. Calling +// IsActivityStreamsBlock afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsBlock(v vocab.ActivityStreamsBlock) { + this.clear() + this.activitystreamsBlockMember = v +} + +// SetActivityStreamsCollection sets the value of this property. Calling +// IsActivityStreamsCollection afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsCollection(v vocab.ActivityStreamsCollection) { + this.clear() + this.activitystreamsCollectionMember = v +} + +// SetActivityStreamsCollectionPage sets the value of this property. Calling +// IsActivityStreamsCollectionPage afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { + this.clear() + this.activitystreamsCollectionPageMember = v +} + +// SetActivityStreamsCreate sets the value of this property. Calling +// IsActivityStreamsCreate afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsCreate(v vocab.ActivityStreamsCreate) { + this.clear() + this.activitystreamsCreateMember = v +} + +// SetActivityStreamsDelete sets the value of this property. Calling +// IsActivityStreamsDelete afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsDelete(v vocab.ActivityStreamsDelete) { + this.clear() + this.activitystreamsDeleteMember = v +} + +// SetActivityStreamsDislike sets the value of this property. Calling +// IsActivityStreamsDislike afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsDislike(v vocab.ActivityStreamsDislike) { + this.clear() + this.activitystreamsDislikeMember = v +} + +// SetActivityStreamsDocument sets the value of this property. Calling +// IsActivityStreamsDocument afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsDocument(v vocab.ActivityStreamsDocument) { + this.clear() + this.activitystreamsDocumentMember = v +} + +// SetActivityStreamsEvent sets the value of this property. Calling +// IsActivityStreamsEvent afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsEvent(v vocab.ActivityStreamsEvent) { + this.clear() + this.activitystreamsEventMember = v +} + +// SetActivityStreamsFlag sets the value of this property. Calling +// IsActivityStreamsFlag afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsFlag(v vocab.ActivityStreamsFlag) { + this.clear() + this.activitystreamsFlagMember = v +} + +// SetActivityStreamsFollow sets the value of this property. Calling +// IsActivityStreamsFollow afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsFollow(v vocab.ActivityStreamsFollow) { + this.clear() + this.activitystreamsFollowMember = v +} + +// SetActivityStreamsGroup sets the value of this property. Calling +// IsActivityStreamsGroup afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsGroup(v vocab.ActivityStreamsGroup) { + this.clear() + this.activitystreamsGroupMember = v +} + +// SetActivityStreamsIgnore sets the value of this property. Calling +// IsActivityStreamsIgnore afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { + this.clear() + this.activitystreamsIgnoreMember = v +} + +// SetActivityStreamsImage sets the value of this property. Calling +// IsActivityStreamsImage afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsImage(v vocab.ActivityStreamsImage) { + this.clear() + this.activitystreamsImageMember = v +} + +// SetActivityStreamsIntransitiveActivity sets the value of this property. Calling +// IsActivityStreamsIntransitiveActivity afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { + this.clear() + this.activitystreamsIntransitiveActivityMember = v +} + +// SetActivityStreamsInvite sets the value of this property. Calling +// IsActivityStreamsInvite afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsInvite(v vocab.ActivityStreamsInvite) { + this.clear() + this.activitystreamsInviteMember = v +} + +// SetActivityStreamsJoin sets the value of this property. Calling +// IsActivityStreamsJoin afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsJoin(v vocab.ActivityStreamsJoin) { + this.clear() + this.activitystreamsJoinMember = v +} + +// SetActivityStreamsLeave sets the value of this property. Calling +// IsActivityStreamsLeave afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsLeave(v vocab.ActivityStreamsLeave) { + this.clear() + this.activitystreamsLeaveMember = v +} + +// SetActivityStreamsLike sets the value of this property. Calling +// IsActivityStreamsLike afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsLike(v vocab.ActivityStreamsLike) { + this.clear() + this.activitystreamsLikeMember = v +} + +// SetActivityStreamsLink sets the value of this property. Calling +// IsActivityStreamsLink afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsLink(v vocab.ActivityStreamsLink) { + this.clear() + this.activitystreamsLinkMember = v +} + +// SetActivityStreamsListen sets the value of this property. Calling +// IsActivityStreamsListen afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsListen(v vocab.ActivityStreamsListen) { + this.clear() + this.activitystreamsListenMember = v +} + +// SetActivityStreamsMention sets the value of this property. Calling +// IsActivityStreamsMention afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsMention(v vocab.ActivityStreamsMention) { + this.clear() + this.activitystreamsMentionMember = v +} + +// SetActivityStreamsMove sets the value of this property. Calling +// IsActivityStreamsMove afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsMove(v vocab.ActivityStreamsMove) { + this.clear() + this.activitystreamsMoveMember = v +} + +// SetActivityStreamsNote sets the value of this property. Calling +// IsActivityStreamsNote afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsNote(v vocab.ActivityStreamsNote) { + this.clear() + this.activitystreamsNoteMember = v +} + +// SetActivityStreamsObject sets the value of this property. Calling +// IsActivityStreamsObject afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsObject(v vocab.ActivityStreamsObject) { + this.clear() + this.activitystreamsObjectMember = v +} + +// SetActivityStreamsOffer sets the value of this property. Calling +// IsActivityStreamsOffer afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsOffer(v vocab.ActivityStreamsOffer) { + this.clear() + this.activitystreamsOfferMember = v +} + +// SetActivityStreamsOrderedCollection sets the value of this property. Calling +// IsActivityStreamsOrderedCollection afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { + this.clear() + this.activitystreamsOrderedCollectionMember = v +} + +// SetActivityStreamsOrderedCollectionPage sets the value of this property. +// Calling IsActivityStreamsOrderedCollectionPage afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { + this.clear() + this.activitystreamsOrderedCollectionPageMember = v +} + +// SetActivityStreamsOrganization sets the value of this property. Calling +// IsActivityStreamsOrganization afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { + this.clear() + this.activitystreamsOrganizationMember = v +} + +// SetActivityStreamsPage sets the value of this property. Calling +// IsActivityStreamsPage afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsPage(v vocab.ActivityStreamsPage) { + this.clear() + this.activitystreamsPageMember = v +} + +// SetActivityStreamsPerson sets the value of this property. Calling +// IsActivityStreamsPerson afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsPerson(v vocab.ActivityStreamsPerson) { + this.clear() + this.activitystreamsPersonMember = v +} + +// SetActivityStreamsPlace sets the value of this property. Calling +// IsActivityStreamsPlace afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsPlace(v vocab.ActivityStreamsPlace) { + this.clear() + this.activitystreamsPlaceMember = v +} + +// SetActivityStreamsProfile sets the value of this property. Calling +// IsActivityStreamsProfile afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsProfile(v vocab.ActivityStreamsProfile) { + this.clear() + this.activitystreamsProfileMember = v +} + +// SetActivityStreamsQuestion sets the value of this property. Calling +// IsActivityStreamsQuestion afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { + this.clear() + this.activitystreamsQuestionMember = v +} + +// SetActivityStreamsRead sets the value of this property. Calling +// IsActivityStreamsRead afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsRead(v vocab.ActivityStreamsRead) { + this.clear() + this.activitystreamsReadMember = v +} + +// SetActivityStreamsReject sets the value of this property. Calling +// IsActivityStreamsReject afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsReject(v vocab.ActivityStreamsReject) { + this.clear() + this.activitystreamsRejectMember = v +} + +// SetActivityStreamsRelationship sets the value of this property. Calling +// IsActivityStreamsRelationship afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { + this.clear() + this.activitystreamsRelationshipMember = v +} + +// SetActivityStreamsRemove sets the value of this property. Calling +// IsActivityStreamsRemove afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsRemove(v vocab.ActivityStreamsRemove) { + this.clear() + this.activitystreamsRemoveMember = v +} + +// SetActivityStreamsService sets the value of this property. Calling +// IsActivityStreamsService afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsService(v vocab.ActivityStreamsService) { + this.clear() + this.activitystreamsServiceMember = v +} + +// SetActivityStreamsTentativeAccept sets the value of this property. Calling +// IsActivityStreamsTentativeAccept afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { + this.clear() + this.activitystreamsTentativeAcceptMember = v +} + +// SetActivityStreamsTentativeReject sets the value of this property. Calling +// IsActivityStreamsTentativeReject afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { + this.clear() + this.activitystreamsTentativeRejectMember = v +} + +// SetActivityStreamsTombstone sets the value of this property. Calling +// IsActivityStreamsTombstone afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { + this.clear() + this.activitystreamsTombstoneMember = v +} + +// SetActivityStreamsTravel sets the value of this property. Calling +// IsActivityStreamsTravel afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsTravel(v vocab.ActivityStreamsTravel) { + this.clear() + this.activitystreamsTravelMember = v +} + +// SetActivityStreamsUndo sets the value of this property. Calling +// IsActivityStreamsUndo afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsUndo(v vocab.ActivityStreamsUndo) { + this.clear() + this.activitystreamsUndoMember = v +} + +// SetActivityStreamsUpdate sets the value of this property. Calling +// IsActivityStreamsUpdate afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { + this.clear() + this.activitystreamsUpdateMember = v +} + +// SetActivityStreamsVideo sets the value of this property. Calling +// IsActivityStreamsVideo afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsVideo(v vocab.ActivityStreamsVideo) { + this.clear() + this.activitystreamsVideoMember = v +} + +// SetActivityStreamsView sets the value of this property. Calling +// IsActivityStreamsView afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsView(v vocab.ActivityStreamsView) { + this.clear() + this.activitystreamsViewMember = v +} + +// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch +// afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { + this.clear() + this.forgefedBranchMember = v +} + +// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit +// afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { + this.clear() + this.forgefedCommitMember = v +} + +// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush +// afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { + this.clear() + this.forgefedPushMember = v +} + +// SetForgeFedRepository sets the value of this property. Calling +// IsForgeFedRepository afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { + this.clear() + this.forgefedRepositoryMember = v +} + +// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket +// afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { + this.clear() + this.forgefedTicketMember = v +} + +// SetForgeFedTicketDependency sets the value of this property. Calling +// IsForgeFedTicketDependency afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { + this.clear() + this.forgefedTicketDependencyMember = v +} + +// SetIRI sets the value of this property. Calling IsIRI afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetIRI(v *url.URL) { + this.clear() + this.iri = v +} + +// SetTootEmoji sets the value of this property. Calling IsTootEmoji afterwards +// returns true. +func (this *ActivityStreamsCcPropertyIterator) SetTootEmoji(v vocab.TootEmoji) { + this.clear() + this.tootEmojiMember = v +} + +// SetTootIdentityProof sets the value of this property. Calling +// IsTootIdentityProof afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) 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 *ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCc 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 *ActivityStreamsCcPropertyIterator) 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 ActivityStreamsCcPropertyIterator) 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 +} + +// ActivityStreamsCcProperty is the non-functional property "cc". It is permitted +// to have one or more values, and of different value types. +type ActivityStreamsCcProperty struct { + properties []*ActivityStreamsCcPropertyIterator + alias string +} + +// DeserializeCcProperty creates a "cc" property from an interface representation +// that has been unmarshalled from a text or binary format. +func DeserializeCcProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.ActivityStreamsCcProperty, error) { + alias := "" + if a, ok := aliasMap["https://www.w3.org/ns/activitystreams"]; ok { + alias = a + } + propName := "cc" + if len(alias) > 0 { + propName = fmt.Sprintf("%s:%s", alias, "cc") + } + i, ok := m[propName] + + if ok { + this := &ActivityStreamsCcProperty{ + alias: alias, + properties: []*ActivityStreamsCcPropertyIterator{}, + } + if list, ok := i.([]interface{}); ok { + for _, iterator := range list { + if p, err := deserializeActivityStreamsCcPropertyIterator(iterator, aliasMap); err != nil { + return this, err + } else if p != nil { + this.properties = append(this.properties, p) + } + } + } else { + if p, err := deserializeActivityStreamsCcPropertyIterator(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 +} + +// NewActivityStreamsCcProperty creates a new cc property. +func NewActivityStreamsCcProperty() *ActivityStreamsCcProperty { + return &ActivityStreamsCcProperty{alias: ""} +} + +// AppendActivityStreamsAccept appends a Accept value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsAccept(v vocab.ActivityStreamsAccept) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsAcceptMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsActivity appends a Activity value to the back of a list of +// the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsActivity(v vocab.ActivityStreamsActivity) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsActivityMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsAdd appends a Add value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsAdd(v vocab.ActivityStreamsAdd) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsAddMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsAnnounce appends a Announce value to the back of a list of +// the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsAnnounceMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsApplication appends a Application value to the back of a +// list of the property "cc". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsApplication(v vocab.ActivityStreamsApplication) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsApplicationMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsArrive appends a Arrive value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsArrive(v vocab.ActivityStreamsArrive) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsArriveMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsArticle appends a Article value to the back of a list of +// the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsArticle(v vocab.ActivityStreamsArticle) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsArticleMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsAudio appends a Audio value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsAudio(v vocab.ActivityStreamsAudio) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsAudioMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsBlock appends a Block value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsBlock(v vocab.ActivityStreamsBlock) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsBlockMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsCollection appends a Collection value to the back of a +// list of the property "cc". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsCollection(v vocab.ActivityStreamsCollection) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsCollectionMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsCollectionPage appends a CollectionPage value to the back +// of a list of the property "cc". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsCollectionPageMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsCreate appends a Create value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsCreate(v vocab.ActivityStreamsCreate) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsCreateMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsDelete appends a Delete value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsDelete(v vocab.ActivityStreamsDelete) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsDeleteMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsDislike appends a Dislike value to the back of a list of +// the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsDislike(v vocab.ActivityStreamsDislike) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsDislikeMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsDocument appends a Document value to the back of a list of +// the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsDocument(v vocab.ActivityStreamsDocument) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsDocumentMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsEvent appends a Event value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsEvent(v vocab.ActivityStreamsEvent) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsEventMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsFlag appends a Flag value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsFlag(v vocab.ActivityStreamsFlag) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsFlagMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsFollow appends a Follow value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsFollow(v vocab.ActivityStreamsFollow) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsFollowMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsGroup appends a Group value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsGroup(v vocab.ActivityStreamsGroup) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsGroupMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsIgnore appends a Ignore value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsIgnoreMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsImage appends a Image value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsImage(v vocab.ActivityStreamsImage) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsImageMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsIntransitiveActivity appends a IntransitiveActivity value +// to the back of a list of the property "cc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsIntransitiveActivityMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsInvite appends a Invite value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsInvite(v vocab.ActivityStreamsInvite) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsInviteMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsJoin appends a Join value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsJoin(v vocab.ActivityStreamsJoin) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsJoinMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsLeave appends a Leave value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsLeave(v vocab.ActivityStreamsLeave) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsLeaveMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsLike appends a Like value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsLike(v vocab.ActivityStreamsLike) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsLikeMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsLink appends a Link value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsLink(v vocab.ActivityStreamsLink) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsLinkMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsListen appends a Listen value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsListen(v vocab.ActivityStreamsListen) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsListenMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsMention appends a Mention value to the back of a list of +// the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsMention(v vocab.ActivityStreamsMention) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsMentionMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsMove appends a Move value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsMove(v vocab.ActivityStreamsMove) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsMoveMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsNote appends a Note value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsNote(v vocab.ActivityStreamsNote) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsNoteMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsObject appends a Object value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsObject(v vocab.ActivityStreamsObject) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsObjectMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsOffer appends a Offer value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsOffer(v vocab.ActivityStreamsOffer) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsOfferMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsOrderedCollection appends a OrderedCollection value to the +// back of a list of the property "cc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsOrderedCollectionMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsOrderedCollectionPage appends a OrderedCollectionPage +// value to the back of a list of the property "cc". Invalidates iterators +// that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsOrderedCollectionPageMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsOrganization appends a Organization value to the back of a +// list of the property "cc". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsOrganizationMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsPage appends a Page value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsPage(v vocab.ActivityStreamsPage) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsPageMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsPerson appends a Person value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsPerson(v vocab.ActivityStreamsPerson) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsPersonMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsPlace appends a Place value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsPlace(v vocab.ActivityStreamsPlace) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsPlaceMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsProfile appends a Profile value to the back of a list of +// the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsProfile(v vocab.ActivityStreamsProfile) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsProfileMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsQuestion appends a Question value to the back of a list of +// the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsQuestionMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsRead appends a Read value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsRead(v vocab.ActivityStreamsRead) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsReadMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsReject appends a Reject value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsReject(v vocab.ActivityStreamsReject) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsRejectMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsRelationship appends a Relationship value to the back of a +// list of the property "cc". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsRelationshipMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsRemove appends a Remove value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsRemove(v vocab.ActivityStreamsRemove) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsRemoveMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsService appends a Service value to the back of a list of +// the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsService(v vocab.ActivityStreamsService) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsServiceMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsTentativeAccept appends a TentativeAccept value to the +// back of a list of the property "cc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsTentativeAcceptMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsTentativeReject appends a TentativeReject value to the +// back of a list of the property "cc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsTentativeRejectMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsTombstone appends a Tombstone value to the back of a list +// of the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsTombstoneMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsTravel appends a Travel value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsTravel(v vocab.ActivityStreamsTravel) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsTravelMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsUndo appends a Undo value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsUndo(v vocab.ActivityStreamsUndo) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsUndoMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsUpdate appends a Update value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsUpdateMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsVideo appends a Video value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsVideo(v vocab.ActivityStreamsVideo) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsVideoMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendActivityStreamsView appends a View value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendActivityStreamsView(v vocab.ActivityStreamsView) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + activitystreamsViewMember: v, + alias: this.alias, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendForgeFedBranch appends a Branch value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedBranchMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendForgeFedCommit appends a Commit value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedCommitMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendForgeFedPush appends a Push value to the back of a list of the property +// "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedPushMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendForgeFedRepository appends a Repository value to the back of a list of +// the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedRepositoryMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendForgeFedTicket appends a Ticket value to the back of a list of the +// property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedTicketMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendForgeFedTicketDependency appends a TicketDependency value to the back of +// a list of the property "cc". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsCcProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedTicketDependencyMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendIRI appends an IRI value to the back of a list of the property "cc" +func (this *ActivityStreamsCcProperty) AppendIRI(v *url.URL) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + iri: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendTootEmoji appends a Emoji value to the back of a list of the property +// "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendTootEmoji(v vocab.TootEmoji) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootEmojiMember: v, + }) +} + +// AppendTootIdentityProof appends a IdentityProof value to the back of a list of +// the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + 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 "cc". 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 *ActivityStreamsCcProperty) AppendType(t vocab.Type) error { + n := &ActivityStreamsCcPropertyIterator{ + 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 ActivityStreamsCcProperty) At(index int) vocab.ActivityStreamsCcPropertyIterator { + 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 ActivityStreamsCcProperty) Begin() vocab.ActivityStreamsCcPropertyIterator { + if this.Empty() { + return nil + } else { + return this.properties[0] + } +} + +// Empty returns returns true if there are no elements. +func (this ActivityStreamsCcProperty) 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 ActivityStreamsCcProperty) End() vocab.ActivityStreamsCcPropertyIterator { + return nil +} + +// InsertActivityStreamsAccept inserts a Accept value at the specified index for a +// property "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsAccept(idx int, v vocab.ActivityStreamsAccept) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsActivity(idx int, v vocab.ActivityStreamsActivity) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsAdd(idx int, v vocab.ActivityStreamsAdd) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsAnnounce(idx int, v vocab.ActivityStreamsAnnounce) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsApplication(idx int, v vocab.ActivityStreamsApplication) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsArrive(idx int, v vocab.ActivityStreamsArrive) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsArticle(idx int, v vocab.ActivityStreamsArticle) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsAudio(idx int, v vocab.ActivityStreamsAudio) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsBlock(idx int, v vocab.ActivityStreamsBlock) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsCollection(idx int, v vocab.ActivityStreamsCollection) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsCollectionPage(idx int, v vocab.ActivityStreamsCollectionPage) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsCreate(idx int, v vocab.ActivityStreamsCreate) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsDelete(idx int, v vocab.ActivityStreamsDelete) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsDislike(idx int, v vocab.ActivityStreamsDislike) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsDocument(idx int, v vocab.ActivityStreamsDocument) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsEvent(idx int, v vocab.ActivityStreamsEvent) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsFlag(idx int, v vocab.ActivityStreamsFlag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsFollow(idx int, v vocab.ActivityStreamsFollow) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsGroup(idx int, v vocab.ActivityStreamsGroup) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsIgnore(idx int, v vocab.ActivityStreamsIgnore) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsImage(idx int, v vocab.ActivityStreamsImage) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsIntransitiveActivity(idx int, v vocab.ActivityStreamsIntransitiveActivity) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsInvite(idx int, v vocab.ActivityStreamsInvite) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsJoin(idx int, v vocab.ActivityStreamsJoin) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsLeave(idx int, v vocab.ActivityStreamsLeave) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsLike(idx int, v vocab.ActivityStreamsLike) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsLink(idx int, v vocab.ActivityStreamsLink) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsListen(idx int, v vocab.ActivityStreamsListen) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsMention(idx int, v vocab.ActivityStreamsMention) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsMove(idx int, v vocab.ActivityStreamsMove) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsNote(idx int, v vocab.ActivityStreamsNote) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsObject(idx int, v vocab.ActivityStreamsObject) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsOffer(idx int, v vocab.ActivityStreamsOffer) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsOrderedCollection(idx int, v vocab.ActivityStreamsOrderedCollection) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsOrderedCollectionPage(idx int, v vocab.ActivityStreamsOrderedCollectionPage) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsOrganization(idx int, v vocab.ActivityStreamsOrganization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsPage(idx int, v vocab.ActivityStreamsPage) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsPerson(idx int, v vocab.ActivityStreamsPerson) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsPlace(idx int, v vocab.ActivityStreamsPlace) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsProfile(idx int, v vocab.ActivityStreamsProfile) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsQuestion(idx int, v vocab.ActivityStreamsQuestion) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsRead(idx int, v vocab.ActivityStreamsRead) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsReject(idx int, v vocab.ActivityStreamsReject) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsRelationship(idx int, v vocab.ActivityStreamsRelationship) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsRemove(idx int, v vocab.ActivityStreamsRemove) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsService(idx int, v vocab.ActivityStreamsService) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsTentativeAccept(idx int, v vocab.ActivityStreamsTentativeAccept) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsTentativeReject(idx int, v vocab.ActivityStreamsTentativeReject) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsTombstone(idx int, v vocab.ActivityStreamsTombstone) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsTravel(idx int, v vocab.ActivityStreamsTravel) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsUndo(idx int, v vocab.ActivityStreamsUndo) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsUpdate(idx int, v vocab.ActivityStreamsUpdate) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsVideo(idx int, v vocab.ActivityStreamsVideo) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertActivityStreamsView(idx int, v vocab.ActivityStreamsView) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 +// "cc". Existing elements at that index and higher are shifted back once. +// Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". +// Existing elements at that index and higher are shifted back once. +// Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertIRI(idx int, v *url.URL) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 +// "cc". Existing elements at that index and higher are shifted back once. +// Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertTootEmoji(idx int, v vocab.TootEmoji) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) InsertTootIdentityProof(idx int, v vocab.TootIdentityProof) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + 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 "cc". Invalidates all iterators. Returns an error if the type is +// not a valid one to set for this property. +func (this *ActivityStreamsCcProperty) InsertType(idx int, t vocab.Type) error { + n := &ActivityStreamsCcPropertyIterator{ + 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 ActivityStreamsCcProperty) 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 ActivityStreamsCcProperty) KindIndex(idx int) int { + return this.properties[idx].KindIndex() +} + +// Len returns the number of values that exist for the "cc" property. +func (this ActivityStreamsCcProperty) 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 ActivityStreamsCcProperty) 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 ActivityStreamsCcProperty) LessThan(o vocab.ActivityStreamsCcProperty) 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 ("cc") with any alias. +func (this ActivityStreamsCcProperty) Name() string { + if len(this.alias) > 0 { + return this.alias + ":" + "cc" + } else { + return "cc" + } +} + +// PrependActivityStreamsAccept prepends a Accept value to the front of a list of +// the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsAccept(v vocab.ActivityStreamsAccept) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsActivity(v vocab.ActivityStreamsActivity) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsAdd(v vocab.ActivityStreamsAdd) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsApplication(v vocab.ActivityStreamsApplication) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsArrive(v vocab.ActivityStreamsArrive) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsArticle(v vocab.ActivityStreamsArticle) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsAudio(v vocab.ActivityStreamsAudio) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsBlock(v vocab.ActivityStreamsBlock) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsCollection(v vocab.ActivityStreamsCollection) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsCreate(v vocab.ActivityStreamsCreate) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsDelete(v vocab.ActivityStreamsDelete) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsDislike(v vocab.ActivityStreamsDislike) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsDocument(v vocab.ActivityStreamsDocument) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsEvent(v vocab.ActivityStreamsEvent) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsFlag(v vocab.ActivityStreamsFlag) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsFollow(v vocab.ActivityStreamsFollow) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsGroup(v vocab.ActivityStreamsGroup) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsImage(v vocab.ActivityStreamsImage) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsInvite(v vocab.ActivityStreamsInvite) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsJoin(v vocab.ActivityStreamsJoin) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsLeave(v vocab.ActivityStreamsLeave) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsLike(v vocab.ActivityStreamsLike) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsLink(v vocab.ActivityStreamsLink) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsListen(v vocab.ActivityStreamsListen) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsMention(v vocab.ActivityStreamsMention) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsMove(v vocab.ActivityStreamsMove) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsNote(v vocab.ActivityStreamsNote) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsObject(v vocab.ActivityStreamsObject) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsOffer(v vocab.ActivityStreamsOffer) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsPage(v vocab.ActivityStreamsPage) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsPerson(v vocab.ActivityStreamsPerson) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsPlace(v vocab.ActivityStreamsPlace) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsProfile(v vocab.ActivityStreamsProfile) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsRead(v vocab.ActivityStreamsRead) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsReject(v vocab.ActivityStreamsReject) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsRemove(v vocab.ActivityStreamsRemove) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsService(v vocab.ActivityStreamsService) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsTravel(v vocab.ActivityStreamsTravel) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsUndo(v vocab.ActivityStreamsUndo) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsVideo(v vocab.ActivityStreamsVideo) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependActivityStreamsView(v vocab.ActivityStreamsView) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". +func (this *ActivityStreamsCcProperty) PrependIRI(v *url.URL) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 +// "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependTootEmoji(v vocab.TootEmoji) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + 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 "cc". Invalidates all iterators. Returns an error if the type is +// not a valid one to set for this property. +func (this *ActivityStreamsCcProperty) PrependType(t vocab.Type) error { + n := &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + myIdx: 0, + parent: this, + } + if err := n.SetType(t); err != nil { + return err + } + this.properties = append([]*ActivityStreamsCcPropertyIterator{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 +// "cc", regardless of its type. Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsCcProperty) Remove(idx int) { + (this.properties)[idx].parent = nil + copy((this.properties)[idx:], (this.properties)[idx+1:]) + (this.properties)[len(this.properties)-1] = &ActivityStreamsCcPropertyIterator{} + 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 ActivityStreamsCcProperty) 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 "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsAccept(idx int, v vocab.ActivityStreamsAccept) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsAcceptMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsActivity sets a Activity value to be at the specified index +// for the property "cc". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsActivity(idx int, v vocab.ActivityStreamsActivity) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsActivityMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsAdd sets a Add value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsAdd(idx int, v vocab.ActivityStreamsAdd) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsAddMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsAnnounce sets a Announce value to be at the specified index +// for the property "cc". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsAnnounce(idx int, v vocab.ActivityStreamsAnnounce) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsAnnounceMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsApplication sets a Application value to be at the specified +// index for the property "cc". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsApplication(idx int, v vocab.ActivityStreamsApplication) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsApplicationMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsArrive sets a Arrive value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsArrive(idx int, v vocab.ActivityStreamsArrive) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsArriveMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsArticle sets a Article value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsArticle(idx int, v vocab.ActivityStreamsArticle) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsArticleMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsAudio sets a Audio value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsAudio(idx int, v vocab.ActivityStreamsAudio) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsAudioMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsBlock sets a Block value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsBlock(idx int, v vocab.ActivityStreamsBlock) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsBlockMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsCollection sets a Collection value to be at the specified +// index for the property "cc". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsCollection(idx int, v vocab.ActivityStreamsCollection) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsCollectionMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsCollectionPage sets a CollectionPage value to be at the +// specified index for the property "cc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsCollectionPage(idx int, v vocab.ActivityStreamsCollectionPage) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsCollectionPageMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsCreate sets a Create value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsCreate(idx int, v vocab.ActivityStreamsCreate) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsCreateMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsDelete sets a Delete value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsDelete(idx int, v vocab.ActivityStreamsDelete) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsDeleteMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsDislike sets a Dislike value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsDislike(idx int, v vocab.ActivityStreamsDislike) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsDislikeMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsDocument sets a Document value to be at the specified index +// for the property "cc". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsDocument(idx int, v vocab.ActivityStreamsDocument) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsDocumentMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsEvent sets a Event value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsEvent(idx int, v vocab.ActivityStreamsEvent) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsEventMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsFlag sets a Flag value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsFlag(idx int, v vocab.ActivityStreamsFlag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsFlagMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsFollow sets a Follow value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsFollow(idx int, v vocab.ActivityStreamsFollow) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsFollowMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsGroup sets a Group value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsGroup(idx int, v vocab.ActivityStreamsGroup) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsGroupMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsIgnore sets a Ignore value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsIgnore(idx int, v vocab.ActivityStreamsIgnore) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsIgnoreMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsImage sets a Image value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsImage(idx int, v vocab.ActivityStreamsImage) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsImageMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsIntransitiveActivity sets a IntransitiveActivity value to be +// at the specified index for the property "cc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsIntransitiveActivity(idx int, v vocab.ActivityStreamsIntransitiveActivity) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsIntransitiveActivityMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsInvite sets a Invite value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsInvite(idx int, v vocab.ActivityStreamsInvite) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsInviteMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsJoin sets a Join value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsJoin(idx int, v vocab.ActivityStreamsJoin) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsJoinMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsLeave sets a Leave value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsLeave(idx int, v vocab.ActivityStreamsLeave) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsLeaveMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsLike sets a Like value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsLike(idx int, v vocab.ActivityStreamsLike) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsLikeMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsLink sets a Link value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsLink(idx int, v vocab.ActivityStreamsLink) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsLinkMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsListen sets a Listen value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsListen(idx int, v vocab.ActivityStreamsListen) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsListenMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsMention sets a Mention value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsMention(idx int, v vocab.ActivityStreamsMention) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsMentionMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsMove sets a Move value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsMove(idx int, v vocab.ActivityStreamsMove) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsMoveMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsNote sets a Note value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsNote(idx int, v vocab.ActivityStreamsNote) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsNoteMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsObject sets a Object value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsObject(idx int, v vocab.ActivityStreamsObject) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsObjectMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsOffer sets a Offer value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsOffer(idx int, v vocab.ActivityStreamsOffer) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsOfferMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsOrderedCollection sets a OrderedCollection value to be at the +// specified index for the property "cc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsOrderedCollection(idx int, v vocab.ActivityStreamsOrderedCollection) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsOrderedCollectionMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsOrderedCollectionPage sets a OrderedCollectionPage value to +// be at the specified index for the property "cc". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsOrderedCollectionPage(idx int, v vocab.ActivityStreamsOrderedCollectionPage) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsOrderedCollectionPageMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsOrganization sets a Organization value to be at the specified +// index for the property "cc". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsOrganization(idx int, v vocab.ActivityStreamsOrganization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsOrganizationMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsPage sets a Page value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsPage(idx int, v vocab.ActivityStreamsPage) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsPageMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsPerson sets a Person value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsPerson(idx int, v vocab.ActivityStreamsPerson) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsPersonMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsPlace sets a Place value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsPlace(idx int, v vocab.ActivityStreamsPlace) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsPlaceMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsProfile sets a Profile value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsProfile(idx int, v vocab.ActivityStreamsProfile) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsProfileMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsQuestion sets a Question value to be at the specified index +// for the property "cc". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsQuestion(idx int, v vocab.ActivityStreamsQuestion) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsQuestionMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsRead sets a Read value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsRead(idx int, v vocab.ActivityStreamsRead) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsReadMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsReject sets a Reject value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsReject(idx int, v vocab.ActivityStreamsReject) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsRejectMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsRelationship sets a Relationship value to be at the specified +// index for the property "cc". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsRelationship(idx int, v vocab.ActivityStreamsRelationship) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsRelationshipMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsRemove sets a Remove value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsRemove(idx int, v vocab.ActivityStreamsRemove) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsRemoveMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsService sets a Service value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsService(idx int, v vocab.ActivityStreamsService) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsServiceMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsTentativeAccept sets a TentativeAccept value to be at the +// specified index for the property "cc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsTentativeAccept(idx int, v vocab.ActivityStreamsTentativeAccept) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsTentativeAcceptMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsTentativeReject sets a TentativeReject value to be at the +// specified index for the property "cc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsTentativeReject(idx int, v vocab.ActivityStreamsTentativeReject) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsTentativeRejectMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsTombstone sets a Tombstone value to be at the specified index +// for the property "cc". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsTombstone(idx int, v vocab.ActivityStreamsTombstone) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsTombstoneMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsTravel sets a Travel value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsTravel(idx int, v vocab.ActivityStreamsTravel) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsTravelMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsUndo sets a Undo value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsUndo(idx int, v vocab.ActivityStreamsUndo) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsUndoMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsUpdate sets a Update value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsUpdate(idx int, v vocab.ActivityStreamsUpdate) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsUpdateMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsVideo sets a Video value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsVideo(idx int, v vocab.ActivityStreamsVideo) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsVideoMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetActivityStreamsView sets a View value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetActivityStreamsView(idx int, v vocab.ActivityStreamsView) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + activitystreamsViewMember: v, + alias: this.alias, + myIdx: idx, + parent: this, + } +} + +// SetForgeFedBranch sets a Branch value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedBranchMember: v, + myIdx: idx, + parent: this, + } +} + +// SetForgeFedCommit sets a Commit value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedCommitMember: v, + myIdx: idx, + parent: this, + } +} + +// SetForgeFedPush sets a Push value to be at the specified index for the property +// "cc". Panics if the index is out of bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedPushMember: v, + myIdx: idx, + parent: this, + } +} + +// SetForgeFedRepository sets a Repository value to be at the specified index for +// the property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedRepositoryMember: v, + myIdx: idx, + parent: this, + } +} + +// SetForgeFedTicket sets a Ticket value to be at the specified index for the +// property "cc". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsCcProperty) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedTicketMember: v, + myIdx: idx, + parent: this, + } +} + +// SetForgeFedTicketDependency sets a TicketDependency value to be at the +// specified index for the property "cc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + forgefedTicketDependencyMember: v, + myIdx: idx, + parent: this, + } +} + +// SetIRI sets an IRI value to be at the specified index for the property "cc". +// Panics if the index is out of bounds. +func (this *ActivityStreamsCcProperty) SetIRI(idx int, v *url.URL) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + iri: v, + myIdx: idx, + parent: this, + } +} + +// SetTootEmoji sets a Emoji value to be at the specified index for the property +// "cc". Panics if the index is out of bounds. Invalidates all iterators. +func (this *ActivityStreamsCcProperty) SetTootEmoji(idx int, v vocab.TootEmoji) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootEmojiMember: v, + } +} + +// SetTootIdentityProof sets a IdentityProof value to be at the specified index +// for the property "cc". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsCcProperty) SetTootIdentityProof(idx int, v vocab.TootIdentityProof) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootIdentityProofMember: v, + } +} + +// SetType sets an arbitrary type value to the specified index of the property +// "cc". 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 *ActivityStreamsCcProperty) SetType(idx int, t vocab.Type) error { + n := &ActivityStreamsCcPropertyIterator{ + 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 "cc" property. +func (this ActivityStreamsCcProperty) Swap(i, j int) { + this.properties[i], this.properties[j] = this.properties[j], this.properties[i] +} |