diff options
| author | 2023-07-27 20:54:30 +0200 | |
|---|---|---|
| committer | 2023-07-27 20:54:30 +0200 | |
| commit | cf4bd700fb9fd1c6915eefe12437a9e074d84c9b (patch) | |
| tree | f755a27a405a9e000daa6bd6eac9f153518c02e0 /vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview | |
| parent | [chore] fix merge issue (#2029) (diff) | |
| download | gotosocial-cf4bd700fb9fd1c6915eefe12437a9e074d84c9b.tar.xz | |
[chore] Update activity dependency (#2031)
Diffstat (limited to 'vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview')
2 files changed, 196 insertions, 739 deletions
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go index 1805ec7e1..2cb23bc64 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // 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" @@ -57,10 +53,6 @@ type privateManager interface { // 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" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, 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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,6 @@ type privateManager interface { // 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" @@ -228,14 +216,6 @@ type privateManager interface { // 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" diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go index 9782ef25c..7093fa009 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go @@ -25,10 +25,8 @@ type ActivityStreamsPreviewPropertyIterator struct { 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 @@ -38,6 +36,7 @@ type ActivityStreamsPreviewPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -59,18 +58,14 @@ type ActivityStreamsPreviewPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,6 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsCollectionMember: v, @@ -194,12 +183,6 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsCreateMember: v, @@ -254,6 +237,12 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ alias: alias, @@ -380,12 +369,6 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m schemaPropertyValueMember: v, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsQuestionMember: v, @@ -416,12 +399,6 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsServiceMember: v, @@ -440,18 +417,6 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsTombstoneMember: v, @@ -875,44 +840,6 @@ func (this ActivityStreamsPreviewPropertyIterator) GetActivityStreamsView() voca return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) GetIRI() *url.URL { @@ -932,6 +859,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetTootEmoji() vocab.TootEmoj return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -975,18 +908,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { 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() } @@ -1014,6 +941,9 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,6 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1107,12 +1031,6 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1148,10 +1066,8 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,6 @@ func (this ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) 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 ActivityStreamsPreviewPropertyIterator) IsIRI() bool { @@ -1647,6 +1518,13 @@ func (this ActivityStreamsPreviewPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsPreviewPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != 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. @@ -1682,14 +1560,10 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st 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() { @@ -1708,6 +1582,8 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,12 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st 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() { @@ -1835,161 +1703,146 @@ func (this ActivityStreamsPreviewPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { - return 23 - } if this.IsTootIdentityProof() { - return 24 + return 23 } if this.IsActivityStreamsIgnore() { - return 25 + return 24 } if this.IsActivityStreamsImage() { - return 26 + return 25 } if this.IsActivityStreamsIntransitiveActivity() { - return 27 + return 26 } if this.IsActivityStreamsInvite() { - return 28 + return 27 } if this.IsActivityStreamsJoin() { - return 29 + return 28 } if this.IsActivityStreamsLeave() { - return 30 + return 29 } if this.IsActivityStreamsLike() { - return 31 + return 30 } if this.IsActivityStreamsListen() { - return 32 + return 31 } if this.IsActivityStreamsMention() { - return 33 + return 32 } if this.IsActivityStreamsMove() { - return 34 + return 33 } if this.IsActivityStreamsNote() { - return 35 + return 34 } if this.IsActivityStreamsOffer() { - return 36 + return 35 } if this.IsActivityStreamsOrderedCollection() { - return 37 + return 36 } if this.IsActivityStreamsOrderedCollectionPage() { - return 38 + return 37 } if this.IsActivityStreamsOrganization() { - return 39 + return 38 } if this.IsActivityStreamsPage() { - return 40 + return 39 } if this.IsActivityStreamsPerson() { - return 41 + return 40 } if this.IsActivityStreamsPlace() { - return 42 + return 41 } if this.IsActivityStreamsProfile() { - return 43 + return 42 } if this.IsSchemaPropertyValue() { - return 44 - } - if this.IsForgeFedPush() { - return 45 + return 43 } if this.IsActivityStreamsQuestion() { - return 46 + return 44 } if this.IsActivityStreamsRead() { - return 47 + return 45 } if this.IsActivityStreamsReject() { - return 48 + return 46 } if this.IsActivityStreamsRelationship() { - return 49 + return 47 } if this.IsActivityStreamsRemove() { - return 50 - } - if this.IsForgeFedRepository() { - return 51 + return 48 } if this.IsActivityStreamsService() { - return 52 + return 49 } if this.IsActivityStreamsTentativeAccept() { - return 53 + return 50 } if this.IsActivityStreamsTentativeReject() { - return 54 - } - if this.IsForgeFedTicket() { - return 55 - } - if this.IsForgeFedTicketDependency() { - return 56 + return 51 } if this.IsActivityStreamsTombstone() { - return 57 + return 52 } if this.IsActivityStreamsTravel() { - return 58 + return 53 } if this.IsActivityStreamsUndo() { - return 59 + return 54 } if this.IsActivityStreamsUpdate() { - return 60 + return 55 } if this.IsActivityStreamsVideo() { - return 61 + return 56 } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,10 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre 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() { @@ -2056,6 +1905,8 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,12 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre 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() { @@ -2545,48 +2388,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetActivityStreamsView(v voc this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsPreviewPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2607,6 +2408,13 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetTootEmoji(v vocab.TootEmo this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsPreviewPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2661,10 +2469,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error 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 @@ -2673,10 +2477,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error 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 @@ -2713,6 +2513,10 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error 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 @@ -2837,14 +2633,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error 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 @@ -2887,10 +2675,8 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { 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 @@ -2900,6 +2686,7 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,10 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err 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() { @@ -2996,6 +2775,8 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,12 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err 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() { @@ -3749,74 +3522,6 @@ func (this *ActivityStreamsPreviewProperty) AppendActivityStreamsView(v vocab.Ac }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "preview". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "preview". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "preview". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "preview". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "preview". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "preview". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: this.Len(), - parent: this, - }) -} - // AppendIRI appends an IRI value to the back of a list of the property "preview" func (this *ActivityStreamsPreviewProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ @@ -3850,6 +3555,17 @@ func (this *ActivityStreamsPreviewProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "preview". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsPreviewProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "preview". Invalidates iterators that are traversing using // Prev. @@ -4825,108 +4541,6 @@ func (this *ActivityStreamsPreviewProperty) InsertActivityStreamsView(idx int, v } } -// InsertForgeFedBranch inserts a Branch value at the specified index for a -// property "preview". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - 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 "preview". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - 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 -// "preview". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - 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 "preview". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - 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 "preview". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - 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 "preview". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - 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 "preview". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4978,6 +4592,23 @@ func (this *ActivityStreamsPreviewProperty) InsertTootEmoji(idx int, v vocab.Too } } +// InsertTootHashtag inserts a Hashtag value at the specified index for a property +// "preview". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: 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 "preview". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5101,210 +4732,190 @@ func (this ActivityStreamsPreviewProperty) Less(i, j int) bool { 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 { + } else if idx1 == 12 { 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 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6105,90 +5716,6 @@ func (this *ActivityStreamsPreviewProperty) PrependActivityStreamsView(v vocab.A } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - 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 "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - 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 "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - 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 "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - 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 "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - 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 "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - 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 // "preview". func (this *ActivityStreamsPreviewProperty) PrependIRI(v *url.URL) { @@ -6231,6 +5758,20 @@ func (this *ActivityStreamsPreviewProperty) PrependTootEmoji(v vocab.TootEmoji) } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: 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 "preview". Invalidates all iterators. func (this *ActivityStreamsPreviewProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6999,83 +6540,6 @@ func (this *ActivityStreamsPreviewProperty) SetActivityStreamsView(idx int, v vo } } -// SetForgeFedBranch sets a Branch value to be at the specified index for the -// property "preview". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit value to be at the specified index for the -// property "preview". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push value to be at the specified index for the property -// "preview". Panics if the index is out of bounds. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository value to be at the specified index for -// the property "preview". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket value to be at the specified index for the -// property "preview". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency value to be at the -// specified index for the property "preview". Panics if the index is out of -// bounds. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } -} - // SetIRI sets an IRI value to be at the specified index for the property // "preview". Panics if the index is out of bounds. func (this *ActivityStreamsPreviewProperty) SetIRI(idx int, v *url.URL) { @@ -7113,6 +6577,19 @@ func (this *ActivityStreamsPreviewProperty) SetTootEmoji(idx int, v vocab.TootEm } } +// SetTootHashtag sets a Hashtag value to be at the specified index for the +// property "preview". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsPreviewProperty) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "preview". Panics if the index is out of bounds. // Invalidates all iterators. |
