From 68ed7aba25e294bf36a4ce0f77e3e6f3fcb4c963 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 24 Apr 2025 11:20:03 +0200 Subject: [chore] Update `activity` to v1.14.0 (#4038) --- .../impl/activitystreams/property_actor/gen_pkg.go | 24 + .../gen_property_activitystreams_actor.go | 869 +++++++++++++++++--- .../impl/activitystreams/property_anyof/gen_pkg.go | 24 + .../gen_property_activitystreams_anyOf.go | 869 +++++++++++++++++--- .../activitystreams/property_attachment/gen_pkg.go | 24 + .../gen_property_activitystreams_attachment.go | 872 ++++++++++++++++++--- .../property_attributedto/gen_pkg.go | 24 + .../gen_property_activitystreams_attributedTo.go | 870 +++++++++++++++++--- .../activitystreams/property_audience/gen_pkg.go | 24 + .../gen_property_activitystreams_audience.go | 872 ++++++++++++++++++--- .../impl/activitystreams/property_bcc/gen_pkg.go | 24 + .../gen_property_activitystreams_bcc.go | 871 +++++++++++++++++--- .../impl/activitystreams/property_bto/gen_pkg.go | 24 + .../gen_property_activitystreams_bto.go | 871 +++++++++++++++++--- .../impl/activitystreams/property_cc/gen_pkg.go | 24 + .../property_cc/gen_property_activitystreams_cc.go | 869 +++++++++++++++++--- .../activitystreams/property_closed/gen_pkg.go | 24 + .../gen_property_activitystreams_closed.go | 869 +++++++++++++++++--- .../activitystreams/property_context/gen_pkg.go | 24 + .../gen_property_activitystreams_context.go | 869 +++++++++++++++++--- .../activitystreams/property_describes/gen_pkg.go | 24 + .../gen_property_activitystreams_describes.go | 387 +++++++-- .../activitystreams/property_formertype/gen_pkg.go | 24 + .../gen_property_activitystreams_formerType.go | 870 +++++++++++++++++--- .../activitystreams/property_generator/gen_pkg.go | 24 + .../gen_property_activitystreams_generator.go | 872 ++++++++++++++++++--- .../activitystreams/property_inreplyto/gen_pkg.go | 24 + .../gen_property_activitystreams_inReplyTo.go | 872 ++++++++++++++++++--- .../activitystreams/property_instrument/gen_pkg.go | 24 + .../gen_property_activitystreams_instrument.go | 872 ++++++++++++++++++--- .../impl/activitystreams/property_items/gen_pkg.go | 24 + .../gen_property_activitystreams_items.go | 869 +++++++++++++++++--- .../activitystreams/property_location/gen_pkg.go | 24 + .../gen_property_activitystreams_location.go | 872 ++++++++++++++++++--- .../activitystreams/property_object/gen_pkg.go | 24 + .../gen_property_activitystreams_object.go | 869 +++++++++++++++++--- .../impl/activitystreams/property_oneof/gen_pkg.go | 24 + .../gen_property_activitystreams_oneOf.go | 869 +++++++++++++++++--- .../property_ordereditems/gen_pkg.go | 24 + .../gen_property_activitystreams_orderedItems.go | 870 +++++++++++++++++--- .../activitystreams/property_origin/gen_pkg.go | 24 + .../gen_property_activitystreams_origin.go | 869 +++++++++++++++++--- .../activitystreams/property_preview/gen_pkg.go | 24 + .../gen_property_activitystreams_preview.go | 869 +++++++++++++++++--- .../property_relationship/gen_pkg.go | 24 + .../gen_property_activitystreams_relationship.go | 868 +++++++++++++++++--- .../activitystreams/property_result/gen_pkg.go | 24 + .../gen_property_activitystreams_result.go | 869 +++++++++++++++++--- .../activitystreams/property_source/gen_pkg.go | 24 + .../gen_property_activitystreams_source.go | 391 +++++++-- .../activitystreams/property_subject/gen_pkg.go | 24 + .../gen_property_activitystreams_subject.go | 391 +++++++-- .../impl/activitystreams/property_tag/gen_pkg.go | 24 + .../gen_property_activitystreams_tag.go | 871 +++++++++++++++++--- .../activitystreams/property_target/gen_pkg.go | 24 + .../gen_property_activitystreams_target.go | 869 +++++++++++++++++--- .../impl/activitystreams/property_to/gen_pkg.go | 24 + .../property_to/gen_property_activitystreams_to.go | 869 +++++++++++++++++--- .../gen_type_activitystreams_activity.go | 2 +- .../activitystreams/type_application/gen_pkg.go | 4 + .../gen_type_activitystreams_application.go | 42 + .../impl/activitystreams/type_audio/gen_pkg.go | 4 + .../type_audio/gen_type_activitystreams_audio.go | 42 + .../impl/activitystreams/type_document/gen_pkg.go | 4 + .../gen_type_activitystreams_document.go | 42 + .../impl/activitystreams/type_group/gen_pkg.go | 4 + .../type_group/gen_type_activitystreams_group.go | 42 + .../impl/activitystreams/type_image/gen_pkg.go | 4 + .../type_image/gen_type_activitystreams_image.go | 42 + .../type_link/gen_type_activitystreams_link.go | 2 +- .../gen_type_activitystreams_mention.go | 2 +- .../type_object/gen_type_activitystreams_object.go | 2 +- .../activitystreams/type_organization/gen_pkg.go | 4 + .../gen_type_activitystreams_organization.go | 42 + .../impl/activitystreams/type_page/gen_pkg.go | 4 + .../type_page/gen_type_activitystreams_page.go | 42 + .../impl/activitystreams/type_person/gen_pkg.go | 4 + .../type_person/gen_type_activitystreams_person.go | 42 + .../impl/activitystreams/type_service/gen_pkg.go | 4 + .../gen_type_activitystreams_service.go | 42 + .../impl/activitystreams/type_video/gen_pkg.go | 4 + .../type_video/gen_type_activitystreams_video.go | 42 + 82 files changed, 21751 insertions(+), 3202 deletions(-) (limited to 'vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams') diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go index cc07f6107..98597ca10 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go index a9d81afdd..edc3e11e4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go @@ -22,6 +22,8 @@ type ActivityStreamsActorPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsActorPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsActorPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsActorPropertyIterator) GetGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsActorPropertyIterator) GetGoToSocialLikeApproval() voc return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsActorPropertyIterator) GetGoToSocialReplyApproval() vo return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsActorPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsActorPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsActorPropertyIterator) IsGoToSocialLikeApproval() bool return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsActorPropertyIterator) IsGoToSocialReplyApproval() boo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsActorPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsActorPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsActorPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialAnnounceApproval( this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeApproval(v vo this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyApproval(v v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsActorPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsActorPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsActorPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsActorPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsActorProperty) AppendGoToSocialAnnounceApproval(v voc }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "actor". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "actor". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "actor". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsActorProperty) AppendGoToSocialLikeApproval(v vocab.G }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "actor". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "actor". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "actor". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsActorProperty) AppendGoToSocialReplyApproval(v vocab. }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "actor". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "actor". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsActorProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "actor" func (this *ActivityStreamsActorProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ @@ -5014,9 +5363,43 @@ func (this *ActivityStreamsActorProperty) InsertGoToSocialAnnounceApproval(idx i } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "actor". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "actor". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "actor". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "actor". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. func (this *ActivityStreamsActorProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsActorProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "actor". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "actor". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "actor". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsActorProperty) InsertGoToSocialReplyApproval(idx int, } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "actor". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "actor". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "actor". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsActorProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsActorProperty) PrependGoToSocialAnnounceApproval(v vo } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "actor". Invalidates all iterators. func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeApproval(v vocab. } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "actor". Invalidates all iterators. func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyApproval(v vocab } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "actor". func (this *ActivityStreamsActorProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsActorPropertyIterator{{ @@ -7237,6 +7796,32 @@ func (this *ActivityStreamsActorProperty) SetGoToSocialAnnounceApproval(idx int, } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "actor". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "actor". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "actor". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7250,6 +7835,32 @@ func (this *ActivityStreamsActorProperty) SetGoToSocialLikeApproval(idx int, v v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "actor". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "actor". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "actor". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7874,32 @@ func (this *ActivityStreamsActorProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "actor". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "actor". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsActorProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "actor". // Panics if the index is out of bounds. func (this *ActivityStreamsActorProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go index 362cb0825..8171e9d8e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go index 080f9e57c..ddb6ece2b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go @@ -22,6 +22,8 @@ type ActivityStreamsAnyOfPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsAnyOfPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsAnyOfPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialLikeApproval() voc return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialReplyApproval() vo return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAnyOfPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialLikeApproval() bool return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialReplyApproval() boo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAnyOfPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsAnyOfPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialAnnounceApproval( this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeApproval(v vo this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyApproval(v v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAnyOfPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialAnnounceApproval(v voc }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "anyOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "anyOf". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "anyOf". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialLikeApproval(v vocab.G }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "anyOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "anyOf". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "anyOf". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialReplyApproval(v vocab. }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "anyOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "anyOf". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "anyOf" func (this *ActivityStreamsAnyOfProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ @@ -5014,9 +5363,43 @@ func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialAnnounceApproval(idx i } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "anyOf". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "anyOf". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "anyOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "anyOf". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "anyOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "anyOf". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "anyOf". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialReplyApproval(idx int, } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "anyOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "anyOf". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "anyOf". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsAnyOfProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialAnnounceApproval(v vo } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "anyOf". Invalidates all iterators. func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeApproval(v vocab. } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "anyOf". Invalidates all iterators. func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyApproval(v vocab } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "anyOf". func (this *ActivityStreamsAnyOfProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ @@ -7237,6 +7796,32 @@ func (this *ActivityStreamsAnyOfProperty) SetGoToSocialAnnounceApproval(idx int, } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "anyOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "anyOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "anyOf". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7250,6 +7835,32 @@ func (this *ActivityStreamsAnyOfProperty) SetGoToSocialLikeApproval(idx int, v v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "anyOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "anyOf". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "anyOf". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7874,32 @@ func (this *ActivityStreamsAnyOfProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "anyOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "anyOf". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "anyOf". // Panics if the index is out of bounds. func (this *ActivityStreamsAnyOfProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go index c055e7544..14e99f9c1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go index 711f53ab7..2b1e87bd1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go @@ -22,6 +22,8 @@ type ActivityStreamsAttachmentPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsAttachmentPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsAttachmentPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialAnnounceAppro return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialLikeApproval( return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialReplyApproval return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAttachmentPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialAnnounceApprov return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialReplyApproval( return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAttachmentPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsAttachmentPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialAnnounceAppr this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeApproval this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyApprova this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAttachmentPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialAnnounceApproval( }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "attachment". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "attachment". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "attachment". Invalidates iterators that are traversing // using Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialLikeApproval(v vo }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "attachment". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "attachment". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "attachment". Invalidates iterators that are // traversing using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialReplyApproval(v v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "attachment". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "attachment". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "attachment" func (this *ActivityStreamsAttachmentProperty) AppendIRI(v *url.URL) { @@ -5026,10 +5375,44 @@ func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialAnnounceApproval( } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "attachment". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "attachment". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "attachment". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "attachment". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ @@ -5043,6 +5426,40 @@ func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeApproval(idx } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "attachment". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "attachment". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "attachment". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5060,6 +5477,40 @@ func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialReplyApproval(idx } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "attachment". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "attachment". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "attachment". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5239,230 +5690,254 @@ func (this ActivityStreamsAttachmentProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6333,6 +6808,35 @@ func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialAnnounceApproval } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "attachment". Invalidates all +// iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "attachment". Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "attachment". Invalidates all iterators. func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6347,6 +6851,34 @@ func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeApproval(v v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "attachment". Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "attachment". Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "attachment". Invalidates all iterators. func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6361,6 +6893,34 @@ func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyApproval(v } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "attachment". Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "attachment". Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "attachment". func (this *ActivityStreamsAttachmentProperty) PrependIRI(v *url.URL) { @@ -7250,6 +7810,32 @@ func (this *ActivityStreamsAttachmentProperty) SetGoToSocialAnnounceApproval(idx } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "attachment". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "attachment". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "attachment". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7849,32 @@ func (this *ActivityStreamsAttachmentProperty) SetGoToSocialLikeApproval(idx int } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "attachment". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "attachment". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "attachment". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7276,6 +7888,32 @@ func (this *ActivityStreamsAttachmentProperty) SetGoToSocialReplyApproval(idx in } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "attachment". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "attachment". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "attachment". Panics if the index is out of bounds. func (this *ActivityStreamsAttachmentProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go index 2918f2260..3e89969ea 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go index acb72e3a7..add7ed9bf 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go @@ -22,6 +22,8 @@ type ActivityStreamsAttributedToPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsAttributedToPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsAttributedToPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialAnnounceApp return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialLikeApprova return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialReplyApprov return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAttributedToPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialAnnounceAppr return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialLikeApproval return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialReplyApprova return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAttributedToPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsAttributedToPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialAnnounceAp this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeApprov this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyAppro this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAttributedToPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{} return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{} return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{} return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3936,6 +4213,30 @@ func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialAnnounceApprova }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "attributedTo". Invalidates iterators +// that are traversing using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "attributedTo". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "attributedTo". Invalidates iterators that are traversing // using Prev. @@ -3948,6 +4249,30 @@ func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialLikeApproval(v }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "attributedTo". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "attributedTo". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "attributedTo". Invalidates iterators that are // traversing using Prev. @@ -3960,6 +4285,30 @@ func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialReplyApproval(v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "attributedTo". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "attributedTo". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "attributedTo" func (this *ActivityStreamsAttributedToProperty) AppendIRI(v *url.URL) { @@ -5067,9 +5416,43 @@ func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialAnnounceApprova } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "attributedTo". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "attributedTo". Existing elements at +// that index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "attributedTo". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "attributedTo". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5084,6 +5467,40 @@ func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialLikeApproval(id } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "attributedTo". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "attributedTo". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "attributedTo". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5101,6 +5518,40 @@ func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialReplyApproval(i } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "attributedTo". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "attributedTo". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "attributedTo". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -5280,230 +5731,254 @@ func (this ActivityStreamsAttributedToProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6375,6 +6850,35 @@ func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialAnnounceApprov } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "attributedTo". Invalidates all +// iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "attributedTo". Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "attributedTo". Invalidates all iterators. func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6389,6 +6893,34 @@ func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeApproval(v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "attributedTo". Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "attributedTo". Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "attributedTo". Invalidates all iterators. func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6403,6 +6935,34 @@ func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyApproval( } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "attributedTo". Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "attributedTo". Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "attributedTo". func (this *ActivityStreamsAttributedToProperty) PrependIRI(v *url.URL) { @@ -7292,6 +7852,32 @@ func (this *ActivityStreamsAttributedToProperty) SetGoToSocialAnnounceApproval(i } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "attributedTo". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "attributedTo". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "attributedTo". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7305,6 +7891,32 @@ func (this *ActivityStreamsAttributedToProperty) SetGoToSocialLikeApproval(idx i } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "attributedTo". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "attributedTo". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "attributedTo". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7318,6 +7930,32 @@ func (this *ActivityStreamsAttributedToProperty) SetGoToSocialReplyApproval(idx } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "attributedTo". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "attributedTo". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "attributedTo". Panics if the index is out of bounds. func (this *ActivityStreamsAttributedToProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go index 5b983aadf..25c056579 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go index 70d441900..45ecc34df 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go @@ -22,6 +22,8 @@ type ActivityStreamsAudiencePropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsAudiencePropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsAudiencePropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialAnnounceApprova return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAudiencePropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialAnnounceApproval return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialLikeApproval() b return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAudiencePropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsAudiencePropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialAnnounceApprov this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeApproval(v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyApproval( this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAudiencePropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsAudienceProperty) AppendGoToSocialAnnounceApproval(v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "audience". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "audience". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "audience". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsAudienceProperty) AppendGoToSocialLikeApproval(v voca }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "audience". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "audience". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "audience". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsAudienceProperty) AppendGoToSocialReplyApproval(v voc }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "audience". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "audience". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsAudienceProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "audience" func (this *ActivityStreamsAudienceProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ @@ -5024,10 +5373,44 @@ func (this *ActivityStreamsAudienceProperty) InsertGoToSocialAnnounceApproval(id } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "audience". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "audience". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "audience". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "audience". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeApproval(idx in } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "audience". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "audience". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "audience". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsAudienceProperty) InsertGoToSocialReplyApproval(idx i } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "audience". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "audience". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "audience". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsAudienceProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,35 @@ func (this *ActivityStreamsAudienceProperty) PrependGoToSocialAnnounceApproval(v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "audience". Invalidates all +// iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "audience". Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "audience". Invalidates all iterators. func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6849,34 @@ func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeApproval(v voc } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "audience". Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "audience". Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "audience". Invalidates all iterators. func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6891,34 @@ func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyApproval(v vo } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "audience". Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "audience". Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "audience". func (this *ActivityStreamsAudienceProperty) PrependIRI(v *url.URL) { @@ -7248,6 +7808,32 @@ func (this *ActivityStreamsAudienceProperty) SetGoToSocialAnnounceApproval(idx i } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "audience". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "audience". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "audience". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7847,32 @@ func (this *ActivityStreamsAudienceProperty) SetGoToSocialLikeApproval(idx int, } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "audience". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "audience". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "audience". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7886,32 @@ func (this *ActivityStreamsAudienceProperty) SetGoToSocialReplyApproval(idx int, } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "audience". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "audience". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "audience". Panics if the index is out of bounds. func (this *ActivityStreamsAudienceProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go index 1c491fec9..25fb6bd36 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go index 9d8c0fd8a..e4a37b31a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go @@ -22,6 +22,8 @@ type ActivityStreamsBccPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsBccPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsBccPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -159,6 +165,18 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ activitystreamsApplicationMember: v, @@ -327,6 +345,18 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ activitystreamsListenMember: v, @@ -441,6 +471,18 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ activitystreamsServiceMember: v, @@ -919,6 +961,20 @@ func (this ActivityStreamsBccPropertyIterator) GetGoToSocialAnnounceApproval() v return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -926,6 +982,20 @@ func (this ActivityStreamsBccPropertyIterator) GetGoToSocialLikeApproval() vocab return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -933,6 +1003,20 @@ func (this ActivityStreamsBccPropertyIterator) GetGoToSocialReplyApproval() voca return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsBccPropertyIterator) GetIRI() *url.URL { @@ -992,6 +1076,12 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1076,6 +1166,12 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1133,6 +1229,12 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1177,6 +1279,8 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1205,6 +1309,8 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1224,6 +1330,8 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1655,6 +1763,21 @@ func (this ActivityStreamsBccPropertyIterator) IsGoToSocialAnnounceApproval() bo return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1662,6 +1785,20 @@ func (this ActivityStreamsBccPropertyIterator) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1669,6 +1806,20 @@ func (this ActivityStreamsBccPropertyIterator) IsGoToSocialReplyApproval() bool return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsBccPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsBccPropertyIterator) IsIRI() bool { @@ -1724,6 +1875,10 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1780,6 +1935,10 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1818,6 +1977,10 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1878,177 +2041,195 @@ func (this ActivityStreamsBccPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2082,6 +2263,10 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2138,6 +2323,10 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2176,6 +2365,10 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2642,6 +2835,20 @@ func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialAnnounceApproval(v this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2649,6 +2856,20 @@ func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeApproval(v voca this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2656,6 +2877,20 @@ func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyApproval(v voc this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsBccPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2725,6 +2960,14 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2837,6 +3080,14 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2913,6 +3164,14 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2968,6 +3227,8 @@ func (this *ActivityStreamsBccPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2996,6 +3257,8 @@ func (this *ActivityStreamsBccPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3015,6 +3278,8 @@ func (this *ActivityStreamsBccPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3050,6 +3315,10 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3106,6 +3375,10 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3144,6 +3417,10 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3885,6 +4162,30 @@ func (this *ActivityStreamsBccProperty) AppendGoToSocialAnnounceApproval(v vocab }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "bcc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "bcc". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "bcc". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -3896,6 +4197,29 @@ func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeApproval(v vocab.GoT }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "bcc". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "bcc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "bcc". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4232,29 @@ func (this *ActivityStreamsBccProperty) AppendGoToSocialReplyApproval(v vocab.Go }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "bcc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "bcc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsBccProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "bcc" func (this *ActivityStreamsBccProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ @@ -5010,14 +5357,48 @@ func (this *ActivityStreamsBccProperty) InsertGoToSocialAnnounceApproval(idx int } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "bcc". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "bcc". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "bcc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "bcc". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, gotosocialLikeApprovalMember: v, myIdx: idx, parent: this, @@ -5027,6 +5408,40 @@ func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeApproval(idx int, v } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "bcc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "bcc". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "bcc". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5044,6 +5459,40 @@ func (this *ActivityStreamsBccProperty) InsertGoToSocialReplyApproval(idx int, v } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "bcc". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "bcc". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "bcc". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5223,230 +5672,254 @@ func (this ActivityStreamsBccProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6317,6 +6790,34 @@ func (this *ActivityStreamsBccProperty) PrependGoToSocialAnnounceApproval(v voca } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "bcc". Invalidates all iterators. func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6331,6 +6832,34 @@ func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeApproval(v vocab.Go } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "bcc". Invalidates all iterators. func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6345,6 +6874,34 @@ func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyApproval(v vocab.G } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "bcc". func (this *ActivityStreamsBccProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsBccPropertyIterator{{ @@ -7233,6 +7790,32 @@ func (this *ActivityStreamsBccProperty) SetGoToSocialAnnounceApproval(idx int, v } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "bcc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "bcc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "bcc". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7246,6 +7829,32 @@ func (this *ActivityStreamsBccProperty) SetGoToSocialLikeApproval(idx int, v voc } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "bcc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "bcc". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "bcc". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7259,6 +7868,32 @@ func (this *ActivityStreamsBccProperty) SetGoToSocialReplyApproval(idx int, v vo } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "bcc". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "bcc". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsBccProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "bcc". // Panics if the index is out of bounds. func (this *ActivityStreamsBccProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go index 19cb8ba79..2dc3d59f4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go index c8e0e7733..531f6b32a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go @@ -22,6 +22,8 @@ type ActivityStreamsBtoPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsBtoPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsBtoPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -159,6 +165,18 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ activitystreamsApplicationMember: v, @@ -327,6 +345,18 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ activitystreamsListenMember: v, @@ -441,6 +471,18 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ activitystreamsServiceMember: v, @@ -919,6 +961,20 @@ func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialAnnounceApproval() v return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -926,6 +982,20 @@ func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialLikeApproval() vocab return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -933,6 +1003,20 @@ func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialReplyApproval() voca return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsBtoPropertyIterator) GetIRI() *url.URL { @@ -992,6 +1076,12 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1076,6 +1166,12 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1133,6 +1229,12 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1177,6 +1279,8 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1205,6 +1309,8 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1224,6 +1330,8 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1655,6 +1763,21 @@ func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialAnnounceApproval() bo return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1662,6 +1785,20 @@ func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1669,6 +1806,20 @@ func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialReplyApproval() bool return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsBtoPropertyIterator) IsIRI() bool { @@ -1724,6 +1875,10 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1780,6 +1935,10 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1818,6 +1977,10 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1878,177 +2041,195 @@ func (this ActivityStreamsBtoPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2082,6 +2263,10 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2138,6 +2323,10 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2176,6 +2365,10 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2642,6 +2835,20 @@ func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialAnnounceApproval(v this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2649,6 +2856,20 @@ func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeApproval(v voca this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2656,6 +2877,20 @@ func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyApproval(v voc this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsBtoPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2725,6 +2960,14 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2837,6 +3080,14 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2913,6 +3164,14 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2968,6 +3227,8 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2996,6 +3257,8 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3015,6 +3278,8 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3050,6 +3315,10 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3106,6 +3375,10 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3144,6 +3417,10 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3885,6 +4162,30 @@ func (this *ActivityStreamsBtoProperty) AppendGoToSocialAnnounceApproval(v vocab }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "bto". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "bto". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "bto". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -3896,6 +4197,29 @@ func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeApproval(v vocab.GoT }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "bto". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "bto". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "bto". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4232,29 @@ func (this *ActivityStreamsBtoProperty) AppendGoToSocialReplyApproval(v vocab.Go }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "bto". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "bto". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsBtoProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "bto" func (this *ActivityStreamsBtoProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ @@ -5010,14 +5357,48 @@ func (this *ActivityStreamsBtoProperty) InsertGoToSocialAnnounceApproval(idx int } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "bto". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "bto". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "bto". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "bto". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, gotosocialLikeApprovalMember: v, myIdx: idx, parent: this, @@ -5027,6 +5408,40 @@ func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeApproval(idx int, v } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "bto". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "bto". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "bto". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5044,6 +5459,40 @@ func (this *ActivityStreamsBtoProperty) InsertGoToSocialReplyApproval(idx int, v } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "bto". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "bto". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "bto". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5223,230 +5672,254 @@ func (this ActivityStreamsBtoProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6317,6 +6790,34 @@ func (this *ActivityStreamsBtoProperty) PrependGoToSocialAnnounceApproval(v voca } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "bto". Invalidates all iterators. func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6331,6 +6832,34 @@ func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeApproval(v vocab.Go } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "bto". Invalidates all iterators. func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6345,6 +6874,34 @@ func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyApproval(v vocab.G } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "bto". func (this *ActivityStreamsBtoProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ @@ -7233,6 +7790,32 @@ func (this *ActivityStreamsBtoProperty) SetGoToSocialAnnounceApproval(idx int, v } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "bto". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "bto". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "bto". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7246,6 +7829,32 @@ func (this *ActivityStreamsBtoProperty) SetGoToSocialLikeApproval(idx int, v voc } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "bto". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "bto". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "bto". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7259,6 +7868,32 @@ func (this *ActivityStreamsBtoProperty) SetGoToSocialReplyApproval(idx int, v vo } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "bto". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "bto". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "bto". // Panics if the index is out of bounds. func (this *ActivityStreamsBtoProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go index a7f80de8a..b0fd8c31e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go index 65f85417e..b9ef61b61 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go @@ -22,6 +22,8 @@ type ActivityStreamsCcPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsCcPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsCcPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -159,6 +165,18 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ activitystreamsApplicationMember: v, @@ -327,6 +345,18 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ activitystreamsListenMember: v, @@ -441,6 +471,18 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ activitystreamsServiceMember: v, @@ -919,6 +961,20 @@ func (this ActivityStreamsCcPropertyIterator) GetGoToSocialAnnounceApproval() vo return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -926,6 +982,20 @@ func (this ActivityStreamsCcPropertyIterator) GetGoToSocialLikeApproval() vocab. return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -933,6 +1003,20 @@ func (this ActivityStreamsCcPropertyIterator) GetGoToSocialReplyApproval() vocab return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsCcPropertyIterator) GetIRI() *url.URL { @@ -992,6 +1076,12 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1076,6 +1166,12 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1133,6 +1229,12 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1177,6 +1279,8 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1205,6 +1309,8 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1224,6 +1330,8 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1655,6 +1763,21 @@ func (this ActivityStreamsCcPropertyIterator) IsGoToSocialAnnounceApproval() boo return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1662,6 +1785,20 @@ func (this ActivityStreamsCcPropertyIterator) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1669,6 +1806,20 @@ func (this ActivityStreamsCcPropertyIterator) IsGoToSocialReplyApproval() bool { return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsCcPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != 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 { @@ -1724,6 +1875,10 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1780,6 +1935,10 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1818,6 +1977,10 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1878,177 +2041,195 @@ func (this ActivityStreamsCcPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2082,6 +2263,10 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2138,6 +2323,10 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2176,6 +2365,10 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2642,6 +2835,20 @@ func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialAnnounceApproval(v v this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2649,6 +2856,20 @@ func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeApproval(v vocab this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2656,6 +2877,20 @@ func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyApproval(v voca this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsCcPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2725,6 +2960,14 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2837,6 +3080,14 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2913,6 +3164,14 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2968,6 +3227,8 @@ func (this *ActivityStreamsCcPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2996,6 +3257,8 @@ func (this *ActivityStreamsCcPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3015,6 +3278,8 @@ func (this *ActivityStreamsCcPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3050,6 +3315,10 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3106,6 +3375,10 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3144,6 +3417,10 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3885,6 +4162,30 @@ func (this *ActivityStreamsCcProperty) AppendGoToSocialAnnounceApproval(v vocab. }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "cc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "cc". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "cc". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -3896,6 +4197,29 @@ func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeApproval(v vocab.GoTo }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "cc". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "cc". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4232,29 @@ func (this *ActivityStreamsCcProperty) AppendGoToSocialReplyApproval(v vocab.GoT }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "cc". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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{ @@ -5010,10 +5357,44 @@ func (this *ActivityStreamsCcProperty) InsertGoToSocialAnnounceApproval(idx int, } } -// InsertGoToSocialLikeApproval inserts a LikeApproval 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) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization 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) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest 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) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval 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) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsCcPropertyIterator{ @@ -5027,6 +5408,40 @@ func (this *ActivityStreamsCcProperty) InsertGoToSocialLikeApproval(idx int, v v } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization 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) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest 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) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "cc". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5044,6 +5459,40 @@ func (this *ActivityStreamsCcProperty) InsertGoToSocialReplyApproval(idx int, v } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization 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) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest 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) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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. @@ -5223,230 +5672,254 @@ func (this ActivityStreamsCcProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6317,6 +6790,34 @@ func (this *ActivityStreamsCcProperty) PrependGoToSocialAnnounceApproval(v vocab } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "cc". Invalidates all iterators. func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6331,6 +6832,34 @@ func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeApproval(v vocab.GoT } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "cc". Invalidates all iterators. func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6345,6 +6874,34 @@ func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyApproval(v vocab.Go } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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{{ @@ -7233,6 +7790,32 @@ func (this *ActivityStreamsCcProperty) SetGoToSocialAnnounceApproval(idx int, v } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization 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) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest 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) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "cc". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7246,6 +7829,32 @@ func (this *ActivityStreamsCcProperty) SetGoToSocialLikeApproval(idx int, v voca } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization 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) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest 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) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "cc". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7259,6 +7868,32 @@ func (this *ActivityStreamsCcProperty) SetGoToSocialReplyApproval(idx int, v voc } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization 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) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest 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) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go index ea795aad4..56ab1f681 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go index 65e4d87d2..6152d038f 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go @@ -29,6 +29,8 @@ type ActivityStreamsClosedPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -57,6 +59,8 @@ type ActivityStreamsClosedPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -76,6 +80,8 @@ type ActivityStreamsClosedPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -167,6 +173,18 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ activitystreamsApplicationMember: v, @@ -335,6 +353,18 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ activitystreamsListenMember: v, @@ -449,6 +479,18 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ activitystreamsServiceMember: v, @@ -942,6 +984,20 @@ func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -949,6 +1005,20 @@ func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialLikeApproval() vo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -956,6 +1026,20 @@ func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialReplyApproval() v return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsClosedPropertyIterator) GetIRI() *url.URL { @@ -1015,6 +1099,12 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1099,6 +1189,12 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1156,6 +1252,12 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1215,6 +1317,8 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1243,6 +1347,8 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1262,6 +1368,8 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1693,6 +1801,21 @@ func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1700,6 +1823,20 @@ func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialLikeApproval() boo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1707,6 +1844,20 @@ func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialReplyApproval() bo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsClosedPropertyIterator) IsIRI() bool { @@ -1776,6 +1927,10 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1832,6 +1987,10 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1870,6 +2029,10 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1936,177 +2099,195 @@ func (this ActivityStreamsClosedPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 9 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 10 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 11 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 12 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 13 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 14 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 15 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 16 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 17 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 18 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 19 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 20 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 21 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 22 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 23 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 24 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 25 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 26 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 27 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 28 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 29 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 30 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 31 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 32 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 33 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 34 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 35 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 36 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 37 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 38 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 39 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 40 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 41 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 42 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 43 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 44 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 45 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 46 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 47 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 48 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 49 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 50 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 51 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 52 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 53 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 54 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 55 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 56 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 57 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 58 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 59 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 60 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 61 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 62 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 63 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 64 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 65 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 66 } + if this.IsFunkwhaleTrack() { + return 67 + } + if this.IsActivityStreamsTravel() { + return 68 + } + if this.IsActivityStreamsUndo() { + return 69 + } + if this.IsActivityStreamsUpdate() { + return 70 + } + if this.IsActivityStreamsVideo() { + return 71 + } + if this.IsActivityStreamsView() { + return 72 + } if this.IsIRI() { return -2 } @@ -2144,6 +2325,10 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2200,6 +2385,10 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2238,6 +2427,10 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2704,6 +2897,20 @@ func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialAnnounceApproval this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2711,6 +2918,20 @@ func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeApproval(v v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2718,6 +2939,20 @@ func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsClosedPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2787,6 +3022,14 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2899,6 +3142,14 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2975,6 +3226,14 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -3048,6 +3307,8 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -3076,6 +3337,8 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3095,6 +3358,8 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3134,6 +3399,10 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3190,6 +3459,10 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3228,6 +3501,10 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3970,6 +4247,30 @@ func (this *ActivityStreamsClosedProperty) AppendGoToSocialAnnounceApproval(v vo }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "closed". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "closed". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "closed". Invalidates iterators that are traversing using // Prev. @@ -3982,6 +4283,30 @@ func (this *ActivityStreamsClosedProperty) AppendGoToSocialLikeApproval(v vocab. }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "closed". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "closed". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "closed". Invalidates iterators that are traversing // using Prev. @@ -3994,6 +4319,30 @@ func (this *ActivityStreamsClosedProperty) AppendGoToSocialReplyApproval(v vocab }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "closed". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "closed". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsClosedProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "closed" func (this *ActivityStreamsClosedProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ @@ -5121,9 +5470,43 @@ func (this *ActivityStreamsClosedProperty) InsertGoToSocialAnnounceApproval(idx } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "closed". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "closed". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "closed". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "closed". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. func (this *ActivityStreamsClosedProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5138,6 +5521,40 @@ func (this *ActivityStreamsClosedProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "closed". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "closed". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "closed". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5155,6 +5572,40 @@ func (this *ActivityStreamsClosedProperty) InsertGoToSocialReplyApproval(idx int } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "closed". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "closed". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "closed". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5378,230 +5829,254 @@ func (this ActivityStreamsClosedProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 10 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 11 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 39 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 40 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 41 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 60 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 61 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 62 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 65 { + } else if idx1 == 71 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 66 { + } else if idx1 == 72 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6472,6 +6947,34 @@ func (this *ActivityStreamsClosedProperty) PrependGoToSocialAnnounceApproval(v v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "closed". Invalidates all iterators. func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6486,6 +6989,34 @@ func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeApproval(v vocab } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "closed". Invalidates all iterators. func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6500,6 +7031,34 @@ func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyApproval(v voca } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "closed". func (this *ActivityStreamsClosedProperty) PrependIRI(v *url.URL) { @@ -7419,6 +7978,32 @@ func (this *ActivityStreamsClosedProperty) SetGoToSocialAnnounceApproval(idx int } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "closed". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "closed". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "closed". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7432,6 +8017,32 @@ func (this *ActivityStreamsClosedProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "closed". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "closed". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "closed". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7445,6 +8056,32 @@ func (this *ActivityStreamsClosedProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "closed". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "closed". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "closed". Panics if the index is out of bounds. func (this *ActivityStreamsClosedProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go index 28f3ce9d6..7b0b18630 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go index cdbd05549..1690c2ac2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go @@ -22,6 +22,8 @@ type ActivityStreamsContextPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsContextPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsContextPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsContextPropertyIterator) GetGoToSocialAnnounceApproval return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsContextPropertyIterator) GetGoToSocialLikeApproval() v return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsContextPropertyIterator) GetGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsContextPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsContextPropertyIterator) IsGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsContextPropertyIterator) IsGoToSocialLikeApproval() bo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsContextPropertyIterator) IsGoToSocialReplyApproval() b return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsContextPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsContextPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsContextPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialAnnounceApprova this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeApproval(v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsContextPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsContextPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsContextPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsContextPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsContextProperty) AppendGoToSocialAnnounceApproval(v v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "context". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "context". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "context". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsContextProperty) AppendGoToSocialLikeApproval(v vocab }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "context". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "context". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "context". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsContextProperty) AppendGoToSocialReplyApproval(v voca }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "context". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "context". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsContextProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "context" func (this *ActivityStreamsContextProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ @@ -5024,9 +5373,43 @@ func (this *ActivityStreamsContextProperty) InsertGoToSocialAnnounceApproval(idx } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "context". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "context". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "context". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "context". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. func (this *ActivityStreamsContextProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsContextProperty) InsertGoToSocialLikeApproval(idx int } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "context". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "context". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "context". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsContextProperty) InsertGoToSocialReplyApproval(idx in } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "context". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "context". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "context". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsContextProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,34 @@ func (this *ActivityStreamsContextProperty) PrependGoToSocialAnnounceApproval(v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "context". Invalidates all iterators. func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6848,34 @@ func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeApproval(v voca } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "context". Invalidates all iterators. func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6890,34 @@ func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyApproval(v voc } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "context". func (this *ActivityStreamsContextProperty) PrependIRI(v *url.URL) { @@ -7248,6 +7807,32 @@ func (this *ActivityStreamsContextProperty) SetGoToSocialAnnounceApproval(idx in } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "context". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "context". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "context". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7846,32 @@ func (this *ActivityStreamsContextProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "context". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "context". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "context". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7885,32 @@ func (this *ActivityStreamsContextProperty) SetGoToSocialReplyApproval(idx int, } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "context". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "context". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsContextProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "context". Panics if the index is out of bounds. func (this *ActivityStreamsContextProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go index ea9e6cc22..dc7aef898 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -140,6 +148,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeListenActivityStreams returns the deserialization method for // the "ActivityStreamsListen" non-functional property in the // vocabulary "ActivityStreams" @@ -217,6 +233,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go index c0be22be1..37cb924c0 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go @@ -21,6 +21,8 @@ type ActivityStreamsDescribesProperty struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -48,6 +50,8 @@ type ActivityStreamsDescribesProperty struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMoveMember vocab.ActivityStreamsMove activitystreamsNoteMember vocab.ActivityStreamsNote @@ -66,6 +70,8 @@ type ActivityStreamsDescribesProperty struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -151,6 +157,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ activitystreamsApplicationMember: v, @@ -313,6 +331,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ activitystreamsListenMember: v, @@ -421,6 +451,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ activitystreamsServiceMember: v, @@ -507,6 +549,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -534,6 +578,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMoveMember = nil this.activitystreamsNoteMember = nil @@ -552,6 +598,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -961,6 +1009,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceApproval() voc return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -968,6 +1030,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeApproval() vocab.G return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -975,6 +1051,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyApproval() vocab. return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL { @@ -1025,6 +1115,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1106,6 +1202,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1160,6 +1262,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1203,6 +1311,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1230,6 +1340,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMove() || this.IsActivityStreamsNote() || @@ -1248,6 +1360,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1665,6 +1779,21 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceApproval() bool return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1672,6 +1801,20 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1679,6 +1822,20 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyApproval() bool { return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsDescribesProperty) IsIRI() bool { @@ -1725,6 +1882,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1779,6 +1940,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMove() { @@ -1815,6 +1980,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1872,171 +2041,189 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 6 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 7 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 8 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 9 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 10 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 11 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 12 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 13 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsFollow() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsGroup() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 30 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 31 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 32 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 33 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 34 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeApproval() { return 35 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeAuthorization() { return 36 } - if this.IsActivityStreamsOffer() { + if this.IsGoToSocialLikeRequest() { return 37 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsListen() { return 38 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 39 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 40 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 41 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 42 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 43 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 44 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 50 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 54 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 55 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 56 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 57 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 58 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 59 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 60 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 61 } + if this.IsFunkwhaleTrack() { + return 62 + } + if this.IsActivityStreamsTravel() { + return 63 + } + if this.IsActivityStreamsUndo() { + return 64 + } + if this.IsActivityStreamsUpdate() { + return 65 + } + if this.IsActivityStreamsVideo() { + return 66 + } + if this.IsActivityStreamsView() { + return 67 + } if this.IsIRI() { return -2 } @@ -2068,6 +2255,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2122,6 +2313,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMove() { @@ -2158,6 +2353,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2212,6 +2411,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -2266,6 +2469,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMove() { @@ -2302,6 +2509,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -2727,6 +2938,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceApproval(v vo this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.Clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.Clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2734,6 +2959,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeApproval(v vocab. this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.Clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.Clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2741,6 +2980,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyApproval(v vocab this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.Clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.Clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) { this.Clear() @@ -2799,6 +3052,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2907,6 +3168,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2979,6 +3248,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go index 2c3c0589d..26de9bede 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -140,6 +148,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeListenActivityStreams returns the deserialization method for // the "ActivityStreamsListen" non-functional property in the // vocabulary "ActivityStreams" @@ -217,6 +233,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go index 640028ff1..f1b4b898d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go @@ -24,6 +24,8 @@ type ActivityStreamsFormerTypePropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -51,6 +53,8 @@ type ActivityStreamsFormerTypePropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMoveMember vocab.ActivityStreamsMove activitystreamsNoteMember vocab.ActivityStreamsNote @@ -69,6 +73,8 @@ type ActivityStreamsFormerTypePropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -154,6 +160,18 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ activitystreamsApplicationMember: v, @@ -316,6 +334,18 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ activitystreamsListenMember: v, @@ -424,6 +454,18 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ activitystreamsServiceMember: v, @@ -896,6 +938,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialAnnounceAppro return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -903,6 +959,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialLikeApproval( return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -910,6 +980,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialReplyApproval return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsFormerTypePropertyIterator) GetIRI() *url.URL { @@ -960,6 +1044,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1041,6 +1131,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1095,6 +1191,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1145,6 +1247,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1172,6 +1276,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMove() || this.IsActivityStreamsNote() || @@ -1190,6 +1296,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1607,6 +1715,21 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialAnnounceApprov return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1614,6 +1737,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1621,6 +1758,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialReplyApproval( return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsFormerTypePropertyIterator) IsIRI() bool { @@ -1674,6 +1825,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1728,6 +1883,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMove() { @@ -1764,6 +1923,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1824,171 +1987,189 @@ func (this ActivityStreamsFormerTypePropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 27 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 28 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 29 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 30 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 31 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 32 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 33 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 34 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 35 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeApproval() { return 36 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeAuthorization() { return 37 } - if this.IsActivityStreamsOffer() { + if this.IsGoToSocialLikeRequest() { return 38 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsListen() { return 39 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 40 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 41 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 42 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 43 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 44 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 45 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 46 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 47 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 48 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 49 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 50 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 51 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 52 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 53 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 54 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 55 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 56 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 57 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 58 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 59 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 60 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 61 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 62 } + if this.IsFunkwhaleTrack() { + return 63 + } + if this.IsActivityStreamsTravel() { + return 64 + } + if this.IsActivityStreamsUndo() { + return 65 + } + if this.IsActivityStreamsUpdate() { + return 66 + } + if this.IsActivityStreamsVideo() { + return 67 + } + if this.IsActivityStreamsView() { + return 68 + } if this.IsIRI() { return -2 } @@ -2022,6 +2203,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2076,6 +2261,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMove() { @@ -2112,6 +2301,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2564,6 +2757,20 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialAnnounceAppr this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2571,6 +2778,20 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeApproval this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2578,6 +2799,20 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyApprova this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsFormerTypePropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2636,6 +2871,14 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2744,6 +2987,14 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2816,6 +3067,14 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2879,6 +3138,8 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2906,6 +3167,8 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMoveMember = nil this.activitystreamsNoteMember = nil @@ -2924,6 +3187,8 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -2959,6 +3224,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{}, return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3013,6 +3282,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{}, return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMove() { @@ -3049,6 +3322,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{}, return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3777,6 +4054,30 @@ func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialAnnounceApproval( }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "formerType". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "formerType". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "formerType". Invalidates iterators that are traversing // using Prev. @@ -3789,6 +4090,30 @@ func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialLikeApproval(v vo }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "formerType". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "formerType". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "formerType". Invalidates iterators that are // traversing using Prev. @@ -3801,6 +4126,30 @@ func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialReplyApproval(v v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "formerType". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "formerType". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "formerType" func (this *ActivityStreamsFormerTypeProperty) AppendIRI(v *url.URL) { @@ -4874,16 +5223,50 @@ func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialAnnounceApproval( } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "formerType". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "formerType". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - gotosocialLikeApprovalMember: v, - myIdx: idx, + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "formerType". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "formerType". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeApprovalMember: v, + myIdx: idx, parent: this, } for i := idx; i < this.Len(); i++ { @@ -4891,6 +5274,40 @@ func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeApproval(idx } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "formerType". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "formerType". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "formerType". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -4908,6 +5325,40 @@ func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialReplyApproval(idx } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "formerType". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "formerType". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "formerType". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5088,222 +5539,246 @@ func (this ActivityStreamsFormerTypeProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 58 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 59 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 60 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6146,6 +6621,35 @@ func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialAnnounceApproval } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "formerType". Invalidates all +// iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "formerType". Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "formerType". Invalidates all iterators. func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6160,6 +6664,34 @@ func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeApproval(v v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "formerType". Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "formerType". Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "formerType". Invalidates all iterators. func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6174,6 +6706,34 @@ func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyApproval(v } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "formerType". Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "formerType". Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "formerType". func (this *ActivityStreamsFormerTypeProperty) PrependIRI(v *url.URL) { @@ -7038,6 +7598,32 @@ func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialAnnounceApproval(idx } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "formerType". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "formerType". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "formerType". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7051,6 +7637,32 @@ func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialLikeApproval(idx int } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "formerType". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "formerType". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "formerType". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7064,6 +7676,32 @@ func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialReplyApproval(idx in } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "formerType". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "formerType". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "formerType". Panics if the index is out of bounds. func (this *ActivityStreamsFormerTypeProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go index f95bf1def..765f6045b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go index 853cfe0ed..6d40fcf90 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go @@ -22,6 +22,8 @@ type ActivityStreamsGeneratorPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsGeneratorPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsGeneratorPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialAnnounceApprov return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialReplyApproval( return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsGeneratorPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialAnnounceApprova return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsGeneratorPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsGeneratorPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialAnnounceAppro this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeApproval( this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyApproval this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsGeneratorPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialAnnounceApproval(v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "generator". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "generator". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "generator". Invalidates iterators that are traversing // using Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialLikeApproval(v voc }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "generator". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "generator". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "generator". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialReplyApproval(v vo }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "generator". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "generator". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "generator" func (this *ActivityStreamsGeneratorProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ @@ -5024,10 +5373,44 @@ func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialAnnounceApproval(i } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "generator". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "generator". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "generator". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "generator". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeApproval(idx i } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "generator". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "generator". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "generator". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialReplyApproval(idx } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "generator". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "generator". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "generator". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsGeneratorProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,35 @@ func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialAnnounceApproval( } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "generator". Invalidates all +// iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "generator". Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "generator". Invalidates all iterators. func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6849,34 @@ func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeApproval(v vo } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "generator". Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "generator". Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "generator". Invalidates all iterators. func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6891,34 @@ func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyApproval(v v } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "generator". Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "generator". Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "generator". func (this *ActivityStreamsGeneratorProperty) PrependIRI(v *url.URL) { @@ -7248,6 +7808,32 @@ func (this *ActivityStreamsGeneratorProperty) SetGoToSocialAnnounceApproval(idx } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "generator". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "generator". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "generator". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7847,32 @@ func (this *ActivityStreamsGeneratorProperty) SetGoToSocialLikeApproval(idx int, } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "generator". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "generator". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "generator". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7886,32 @@ func (this *ActivityStreamsGeneratorProperty) SetGoToSocialReplyApproval(idx int } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "generator". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "generator". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "generator". Panics if the index is out of bounds. func (this *ActivityStreamsGeneratorProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go index 02fbf08be..bf2249fc1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go index d7ad7dae1..dc766b5ef 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go @@ -22,6 +22,8 @@ type ActivityStreamsInReplyToPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsInReplyToPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsInReplyToPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialAnnounceApprov return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialReplyApproval( return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsInReplyToPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialAnnounceApprova return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsInReplyToPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsInReplyToPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialAnnounceAppro this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeApproval( this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyApproval this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsInReplyToPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialAnnounceApproval(v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "inReplyTo". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "inReplyTo". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "inReplyTo". Invalidates iterators that are traversing // using Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialLikeApproval(v voc }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "inReplyTo". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "inReplyTo". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "inReplyTo". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialReplyApproval(v vo }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "inReplyTo". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "inReplyTo". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "inReplyTo" func (this *ActivityStreamsInReplyToProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ @@ -5024,10 +5373,44 @@ func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialAnnounceApproval(i } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "inReplyTo". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "inReplyTo". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "inReplyTo". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "inReplyTo". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeApproval(idx i } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "inReplyTo". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "inReplyTo". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "inReplyTo". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialReplyApproval(idx } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "inReplyTo". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "inReplyTo". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "inReplyTo". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsInReplyToProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,35 @@ func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialAnnounceApproval( } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "inReplyTo". Invalidates all +// iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "inReplyTo". Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "inReplyTo". Invalidates all iterators. func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6849,34 @@ func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeApproval(v vo } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "inReplyTo". Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "inReplyTo". Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "inReplyTo". Invalidates all iterators. func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6891,34 @@ func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyApproval(v v } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "inReplyTo". Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "inReplyTo". Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "inReplyTo". func (this *ActivityStreamsInReplyToProperty) PrependIRI(v *url.URL) { @@ -7248,6 +7808,32 @@ func (this *ActivityStreamsInReplyToProperty) SetGoToSocialAnnounceApproval(idx } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "inReplyTo". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "inReplyTo". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "inReplyTo". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7847,32 @@ func (this *ActivityStreamsInReplyToProperty) SetGoToSocialLikeApproval(idx int, } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "inReplyTo". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "inReplyTo". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "inReplyTo". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7886,32 @@ func (this *ActivityStreamsInReplyToProperty) SetGoToSocialReplyApproval(idx int } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "inReplyTo". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "inReplyTo". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "inReplyTo". Panics if the index is out of bounds. func (this *ActivityStreamsInReplyToProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go index b3d433ce9..2fe231bee 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go index 09ae36386..316aeaa27 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go @@ -22,6 +22,8 @@ type ActivityStreamsInstrumentPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsInstrumentPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsInstrumentPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialAnnounceAppro return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialLikeApproval( return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialReplyApproval return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsInstrumentPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialAnnounceApprov return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialReplyApproval( return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsInstrumentPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsInstrumentPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialAnnounceAppr this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeApproval this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyApprova this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsInstrumentPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialAnnounceApproval( }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "instrument". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "instrument". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "instrument". Invalidates iterators that are traversing // using Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialLikeApproval(v vo }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "instrument". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "instrument". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "instrument". Invalidates iterators that are // traversing using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialReplyApproval(v v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "instrument". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "instrument". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "instrument" func (this *ActivityStreamsInstrumentProperty) AppendIRI(v *url.URL) { @@ -5026,10 +5375,44 @@ func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialAnnounceApproval( } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "instrument". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "instrument". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "instrument". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "instrument". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ @@ -5043,6 +5426,40 @@ func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeApproval(idx } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "instrument". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "instrument". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "instrument". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5060,6 +5477,40 @@ func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialReplyApproval(idx } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "instrument". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "instrument". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "instrument". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5239,230 +5690,254 @@ func (this ActivityStreamsInstrumentProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6333,6 +6808,35 @@ func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialAnnounceApproval } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "instrument". Invalidates all +// iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "instrument". Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "instrument". Invalidates all iterators. func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6347,6 +6851,34 @@ func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeApproval(v v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "instrument". Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "instrument". Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "instrument". Invalidates all iterators. func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6361,6 +6893,34 @@ func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyApproval(v } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "instrument". Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "instrument". Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "instrument". func (this *ActivityStreamsInstrumentProperty) PrependIRI(v *url.URL) { @@ -7250,6 +7810,32 @@ func (this *ActivityStreamsInstrumentProperty) SetGoToSocialAnnounceApproval(idx } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "instrument". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "instrument". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "instrument". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7849,32 @@ func (this *ActivityStreamsInstrumentProperty) SetGoToSocialLikeApproval(idx int } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "instrument". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "instrument". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "instrument". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7276,6 +7888,32 @@ func (this *ActivityStreamsInstrumentProperty) SetGoToSocialReplyApproval(idx in } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "instrument". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "instrument". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "instrument". Panics if the index is out of bounds. func (this *ActivityStreamsInstrumentProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go index 3289ac3f3..4618c040e 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go index f2cdb668f..09a73a7da 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go @@ -22,6 +22,8 @@ type ActivityStreamsItemsPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsItemsPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsItemsPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialLikeApproval() voc return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialReplyApproval() vo return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsItemsPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialLikeApproval() bool return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialReplyApproval() boo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsItemsPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsItemsPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialAnnounceApproval( this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeApproval(v vo this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyApproval(v v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsItemsPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsItemsProperty) AppendGoToSocialAnnounceApproval(v voc }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "items". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "items". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "items". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsItemsProperty) AppendGoToSocialLikeApproval(v vocab.G }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "items". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "items". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "items". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsItemsProperty) AppendGoToSocialReplyApproval(v vocab. }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "items". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "items". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsItemsProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "items" func (this *ActivityStreamsItemsProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ @@ -5014,9 +5363,43 @@ func (this *ActivityStreamsItemsProperty) InsertGoToSocialAnnounceApproval(idx i } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "items". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "items". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "items". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "items". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. func (this *ActivityStreamsItemsProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsItemsProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "items". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "items". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "items". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsItemsProperty) InsertGoToSocialReplyApproval(idx int, } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "items". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "items". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "items". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsItemsProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsItemsProperty) PrependGoToSocialAnnounceApproval(v vo } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "items". Invalidates all iterators. func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeApproval(v vocab. } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "items". Invalidates all iterators. func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyApproval(v vocab } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "items". func (this *ActivityStreamsItemsProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ @@ -7237,6 +7796,32 @@ func (this *ActivityStreamsItemsProperty) SetGoToSocialAnnounceApproval(idx int, } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "items". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "items". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "items". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7250,6 +7835,32 @@ func (this *ActivityStreamsItemsProperty) SetGoToSocialLikeApproval(idx int, v v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "items". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "items". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "items". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7874,32 @@ func (this *ActivityStreamsItemsProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "items". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "items". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "items". // Panics if the index is out of bounds. func (this *ActivityStreamsItemsProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go index feba0ecc9..500eea9a8 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go index 19e93d6cf..fbd644756 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go @@ -22,6 +22,8 @@ type ActivityStreamsLocationPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsLocationPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsLocationPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialAnnounceApprova return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialLikeApproval() return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsLocationPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialAnnounceApproval return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialLikeApproval() b return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsLocationPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsLocationPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialAnnounceApprov this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeApproval(v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyApproval( this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsLocationPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsLocationProperty) AppendGoToSocialAnnounceApproval(v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "location". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "location". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "location". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsLocationProperty) AppendGoToSocialLikeApproval(v voca }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "location". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "location". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "location". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsLocationProperty) AppendGoToSocialReplyApproval(v voc }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "location". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "location". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsLocationProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "location" func (this *ActivityStreamsLocationProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ @@ -5024,10 +5373,44 @@ func (this *ActivityStreamsLocationProperty) InsertGoToSocialAnnounceApproval(id } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "location". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "location". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "location". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "location". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeApproval(idx in } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "location". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "location". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "location". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsLocationProperty) InsertGoToSocialReplyApproval(idx i } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "location". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "location". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "location". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsLocationProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,35 @@ func (this *ActivityStreamsLocationProperty) PrependGoToSocialAnnounceApproval(v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "location". Invalidates all +// iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "location". Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "location". Invalidates all iterators. func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6849,34 @@ func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeApproval(v voc } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "location". Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "location". Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "location". Invalidates all iterators. func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6891,34 @@ func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyApproval(v vo } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "location". Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "location". Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "location". func (this *ActivityStreamsLocationProperty) PrependIRI(v *url.URL) { @@ -7248,6 +7808,32 @@ func (this *ActivityStreamsLocationProperty) SetGoToSocialAnnounceApproval(idx i } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "location". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "location". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "location". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7847,32 @@ func (this *ActivityStreamsLocationProperty) SetGoToSocialLikeApproval(idx int, } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "location". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "location". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "location". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7886,32 @@ func (this *ActivityStreamsLocationProperty) SetGoToSocialReplyApproval(idx int, } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "location". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "location". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "location". Panics if the index is out of bounds. func (this *ActivityStreamsLocationProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go index 8487a5a75..c40014c69 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go index 2a9ad14dd..b2b2d7ae5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go @@ -22,6 +22,8 @@ type ActivityStreamsObjectPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsObjectPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsObjectPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialLikeApproval() vo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialReplyApproval() v return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsObjectPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialLikeApproval() boo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialReplyApproval() bo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsObjectPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsObjectPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialAnnounceApproval this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeApproval(v v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsObjectPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsObjectProperty) AppendGoToSocialAnnounceApproval(v vo }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "object". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "object". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "object". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsObjectProperty) AppendGoToSocialLikeApproval(v vocab. }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "object". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "object". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "object". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsObjectProperty) AppendGoToSocialReplyApproval(v vocab }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "object". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "object". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsObjectProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "object" func (this *ActivityStreamsObjectProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ @@ -5014,9 +5363,43 @@ func (this *ActivityStreamsObjectProperty) InsertGoToSocialAnnounceApproval(idx } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "object". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "object". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "object". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "object". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. func (this *ActivityStreamsObjectProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsObjectProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "object". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "object". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "object". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsObjectProperty) InsertGoToSocialReplyApproval(idx int } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "object". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "object". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "object". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsObjectProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsObjectProperty) PrependGoToSocialAnnounceApproval(v v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "object". Invalidates all iterators. func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeApproval(v vocab } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "object". Invalidates all iterators. func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyApproval(v voca } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "object". func (this *ActivityStreamsObjectProperty) PrependIRI(v *url.URL) { @@ -7238,6 +7797,32 @@ func (this *ActivityStreamsObjectProperty) SetGoToSocialAnnounceApproval(idx int } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "object". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "object". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "object". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7251,6 +7836,32 @@ func (this *ActivityStreamsObjectProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "object". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "object". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "object". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7264,6 +7875,32 @@ func (this *ActivityStreamsObjectProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "object". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "object". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "object". Panics if the index is out of bounds. func (this *ActivityStreamsObjectProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go index e6ac8fb90..5dd21535c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go index 42b8aff52..5400d5c4b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go @@ -22,6 +22,8 @@ type ActivityStreamsOneOfPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsOneOfPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsOneOfPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialLikeApproval() voc return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialReplyApproval() vo return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsOneOfPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialLikeApproval() bool return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialReplyApproval() boo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsOneOfPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsOneOfPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialAnnounceApproval( this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeApproval(v vo this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyApproval(v v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsOneOfPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsOneOfProperty) AppendGoToSocialAnnounceApproval(v voc }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "oneOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "oneOf". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "oneOf". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsOneOfProperty) AppendGoToSocialLikeApproval(v vocab.G }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "oneOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "oneOf". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "oneOf". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsOneOfProperty) AppendGoToSocialReplyApproval(v vocab. }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "oneOf". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "oneOf". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsOneOfProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "oneOf" func (this *ActivityStreamsOneOfProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ @@ -5014,9 +5363,43 @@ func (this *ActivityStreamsOneOfProperty) InsertGoToSocialAnnounceApproval(idx i } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "oneOf". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "oneOf". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "oneOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "oneOf". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. func (this *ActivityStreamsOneOfProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsOneOfProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "oneOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "oneOf". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "oneOf". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsOneOfProperty) InsertGoToSocialReplyApproval(idx int, } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "oneOf". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "oneOf". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "oneOf". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsOneOfProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsOneOfProperty) PrependGoToSocialAnnounceApproval(v vo } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "oneOf". Invalidates all iterators. func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeApproval(v vocab. } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "oneOf". Invalidates all iterators. func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyApproval(v vocab } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "oneOf". func (this *ActivityStreamsOneOfProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ @@ -7237,6 +7796,32 @@ func (this *ActivityStreamsOneOfProperty) SetGoToSocialAnnounceApproval(idx int, } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "oneOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "oneOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "oneOf". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7250,6 +7835,32 @@ func (this *ActivityStreamsOneOfProperty) SetGoToSocialLikeApproval(idx int, v v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "oneOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "oneOf". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "oneOf". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7263,6 +7874,32 @@ func (this *ActivityStreamsOneOfProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "oneOf". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "oneOf". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "oneOf". // Panics if the index is out of bounds. func (this *ActivityStreamsOneOfProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go index c32a38460..421d63a89 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go index d3e6cdef4..a3fa33989 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go @@ -22,6 +22,8 @@ type ActivityStreamsOrderedItemsPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsOrderedItemsPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsOrderedItemsPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialAnnounceApp return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialLikeApprova return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialReplyApprov return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsOrderedItemsPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialAnnounceAppr return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialLikeApproval return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialReplyApprova return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsOrderedItemsPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialAnnounceAp this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeApprov this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyAppro this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsOrderedItemsPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{} return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{} return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{} return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3936,6 +4213,30 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialAnnounceApprova }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "orderedItems". Invalidates iterators +// that are traversing using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "orderedItems". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "orderedItems". Invalidates iterators that are traversing // using Prev. @@ -3948,6 +4249,30 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialLikeApproval(v }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "orderedItems". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "orderedItems". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "orderedItems". Invalidates iterators that are // traversing using Prev. @@ -3960,6 +4285,30 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialReplyApproval(v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "orderedItems". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "orderedItems". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "orderedItems" func (this *ActivityStreamsOrderedItemsProperty) AppendIRI(v *url.URL) { @@ -5067,9 +5416,43 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialAnnounceApprova } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "orderedItems". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "orderedItems". Existing elements at +// that index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "orderedItems". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "orderedItems". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5084,6 +5467,40 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialLikeApproval(id } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "orderedItems". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "orderedItems". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "orderedItems". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -5101,6 +5518,40 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialReplyApproval(i } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "orderedItems". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "orderedItems". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "orderedItems". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -5280,230 +5731,254 @@ func (this ActivityStreamsOrderedItemsProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6375,6 +6850,35 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialAnnounceApprov } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "orderedItems". Invalidates all +// iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "orderedItems". Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "orderedItems". Invalidates all iterators. func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6389,6 +6893,34 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeApproval(v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "orderedItems". Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "orderedItems". Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "orderedItems". Invalidates all iterators. func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6403,6 +6935,34 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyApproval( } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "orderedItems". Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "orderedItems". Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "orderedItems". func (this *ActivityStreamsOrderedItemsProperty) PrependIRI(v *url.URL) { @@ -7292,6 +7852,32 @@ func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialAnnounceApproval(i } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "orderedItems". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "orderedItems". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "orderedItems". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7305,6 +7891,32 @@ func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialLikeApproval(idx i } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "orderedItems". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "orderedItems". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "orderedItems". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7318,6 +7930,32 @@ func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialReplyApproval(idx } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "orderedItems". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "orderedItems". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "orderedItems". Panics if the index is out of bounds. func (this *ActivityStreamsOrderedItemsProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go index 783f51b19..545c4f429 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go index 95f3ddc4e..978e86f21 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go @@ -22,6 +22,8 @@ type ActivityStreamsOriginPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsOriginPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsOriginPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialLikeApproval() vo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialReplyApproval() v return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsOriginPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialLikeApproval() boo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialReplyApproval() bo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsOriginPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsOriginPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialAnnounceApproval this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeApproval(v v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsOriginPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsOriginProperty) AppendGoToSocialAnnounceApproval(v vo }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "origin". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "origin". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "origin". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsOriginProperty) AppendGoToSocialLikeApproval(v vocab. }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "origin". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "origin". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "origin". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsOriginProperty) AppendGoToSocialReplyApproval(v vocab }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "origin". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "origin". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsOriginProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "origin" func (this *ActivityStreamsOriginProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ @@ -5014,9 +5363,43 @@ func (this *ActivityStreamsOriginProperty) InsertGoToSocialAnnounceApproval(idx } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "origin". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "origin". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "origin". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "origin". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. func (this *ActivityStreamsOriginProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsOriginProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "origin". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "origin". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "origin". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsOriginProperty) InsertGoToSocialReplyApproval(idx int } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "origin". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "origin". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "origin". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsOriginProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsOriginProperty) PrependGoToSocialAnnounceApproval(v v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "origin". Invalidates all iterators. func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeApproval(v vocab } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "origin". Invalidates all iterators. func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyApproval(v voca } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "origin". func (this *ActivityStreamsOriginProperty) PrependIRI(v *url.URL) { @@ -7238,6 +7797,32 @@ func (this *ActivityStreamsOriginProperty) SetGoToSocialAnnounceApproval(idx int } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "origin". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "origin". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "origin". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7251,6 +7836,32 @@ func (this *ActivityStreamsOriginProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "origin". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "origin". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "origin". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7264,6 +7875,32 @@ func (this *ActivityStreamsOriginProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "origin". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "origin". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "origin". Panics if the index is out of bounds. func (this *ActivityStreamsOriginProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go index f16e6ecaf..a2a88880d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go index 4810f32ff..baf4e5ac1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go @@ -22,6 +22,8 @@ type ActivityStreamsPreviewPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsPreviewPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsPreviewPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialAnnounceApproval return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialLikeApproval() v return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialReplyApproval() return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsPreviewPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialLikeApproval() bo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialReplyApproval() b return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != 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 { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsPreviewPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialAnnounceApprova this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeApproval(v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsPreviewPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3896,6 +4173,30 @@ func (this *ActivityStreamsPreviewProperty) AppendGoToSocialAnnounceApproval(v v }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "preview". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "preview". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "preview". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4209,30 @@ func (this *ActivityStreamsPreviewProperty) AppendGoToSocialLikeApproval(v vocab }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "preview". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "preview". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "preview". Invalidates iterators that are traversing // using Prev. @@ -3920,6 +4245,30 @@ func (this *ActivityStreamsPreviewProperty) AppendGoToSocialReplyApproval(v voca }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "preview". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "preview". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsPreviewProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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{ @@ -5024,9 +5373,43 @@ func (this *ActivityStreamsPreviewProperty) InsertGoToSocialAnnounceApproval(idx } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "preview". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization 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) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest 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) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval 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) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5041,6 +5424,40 @@ func (this *ActivityStreamsPreviewProperty) InsertGoToSocialLikeApproval(idx int } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization 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) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest 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) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "preview". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5058,6 +5475,40 @@ func (this *ActivityStreamsPreviewProperty) InsertGoToSocialReplyApproval(idx in } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization 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) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest 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) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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. @@ -5237,230 +5688,254 @@ func (this ActivityStreamsPreviewProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6331,6 +6806,34 @@ func (this *ActivityStreamsPreviewProperty) PrependGoToSocialAnnounceApproval(v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "preview". Invalidates all iterators. func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6345,6 +6848,34 @@ func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeApproval(v voca } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "preview". Invalidates all iterators. func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6359,6 +6890,34 @@ func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyApproval(v voc } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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) { @@ -7248,6 +7807,32 @@ func (this *ActivityStreamsPreviewProperty) SetGoToSocialAnnounceApproval(idx in } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization 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) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest 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) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "preview". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7261,6 +7846,32 @@ func (this *ActivityStreamsPreviewProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization 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) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest 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) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "preview". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7274,6 +7885,32 @@ func (this *ActivityStreamsPreviewProperty) SetGoToSocialReplyApproval(idx int, } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization 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) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest 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) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go index 83f7b36c6..3ed75f19a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -140,6 +148,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeListenActivityStreams returns the deserialization method for // the "ActivityStreamsListen" non-functional property in the // vocabulary "ActivityStreams" @@ -217,6 +233,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go index a35c51eaf..28511e01d 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go @@ -21,6 +21,8 @@ type ActivityStreamsRelationshipPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -48,6 +50,8 @@ type ActivityStreamsRelationshipPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMoveMember vocab.ActivityStreamsMove activitystreamsNoteMember vocab.ActivityStreamsNote @@ -66,6 +70,8 @@ type ActivityStreamsRelationshipPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -151,6 +157,18 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ activitystreamsApplicationMember: v, @@ -313,6 +331,18 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ activitystreamsListenMember: v, @@ -421,6 +451,18 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ activitystreamsServiceMember: v, @@ -885,6 +927,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialAnnounceApp return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -892,6 +948,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialLikeApprova return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -899,6 +969,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialReplyApprov return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsRelationshipPropertyIterator) GetIRI() *url.URL { @@ -949,6 +1033,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1030,6 +1120,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1084,6 +1180,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1127,6 +1229,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1154,6 +1258,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMove() || this.IsActivityStreamsNote() || @@ -1172,6 +1278,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1589,6 +1697,21 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialAnnounceAppr return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1596,6 +1719,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialLikeApproval return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1603,6 +1740,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialReplyApprova return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsRelationshipPropertyIterator) IsIRI() bool { @@ -1649,6 +1800,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1703,6 +1858,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMove() { @@ -1739,6 +1898,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1796,171 +1959,189 @@ func (this ActivityStreamsRelationshipPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 6 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 7 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 8 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 9 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 10 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 11 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 12 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 13 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsFollow() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsGroup() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 30 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 31 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 32 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 33 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 34 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeApproval() { return 35 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeAuthorization() { return 36 } - if this.IsActivityStreamsOffer() { + if this.IsGoToSocialLikeRequest() { return 37 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsListen() { return 38 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 39 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 40 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 41 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 42 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 43 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 44 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 50 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 54 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 55 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 56 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 57 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 58 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 59 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 60 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 61 } + if this.IsFunkwhaleTrack() { + return 62 + } + if this.IsActivityStreamsTravel() { + return 63 + } + if this.IsActivityStreamsUndo() { + return 64 + } + if this.IsActivityStreamsUpdate() { + return 65 + } + if this.IsActivityStreamsVideo() { + return 66 + } + if this.IsActivityStreamsView() { + return 67 + } if this.IsIRI() { return -2 } @@ -1992,6 +2173,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2046,6 +2231,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMove() { @@ -2082,6 +2271,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2534,6 +2727,20 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialAnnounceAp this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2541,6 +2748,20 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeApprov this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2548,6 +2769,20 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyAppro this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsRelationshipPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2606,6 +2841,14 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2714,6 +2957,14 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2786,6 +3037,14 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2840,6 +3099,8 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2867,6 +3128,8 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMoveMember = nil this.activitystreamsNoteMember = nil @@ -2885,6 +3148,8 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -2918,6 +3183,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{} return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -2972,6 +3241,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{} return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMove() { @@ -3008,6 +3281,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{} return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3775,6 +4052,30 @@ func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialAnnounceApprova }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "relationship". Invalidates iterators +// that are traversing using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "relationship". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "relationship". Invalidates iterators that are traversing // using Prev. @@ -3787,6 +4088,30 @@ func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialLikeApproval(v }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "relationship". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "relationship". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "relationship". Invalidates iterators that are // traversing using Prev. @@ -3799,6 +4124,30 @@ func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialReplyApproval(v }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "relationship". Invalidates iterators that +// are traversing using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "relationship". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property // "relationship" func (this *ActivityStreamsRelationshipProperty) AppendIRI(v *url.URL) { @@ -4861,15 +5210,49 @@ func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialAnnounceApprova } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "relationship". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "relationship". Existing elements at +// that index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - gotosocialLikeApprovalMember: v, + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "relationship". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "relationship". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeApprovalMember: v, myIdx: idx, parent: this, } @@ -4878,6 +5261,40 @@ func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeApproval(id } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "relationship". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "relationship". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "relationship". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -4895,6 +5312,40 @@ func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialReplyApproval(i } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "relationship". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "relationship". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "relationship". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -5053,222 +5504,246 @@ func (this ActivityStreamsRelationshipProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 7 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 9 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 8 { + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 37 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 57 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 58 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 59 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 60 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6112,6 +6587,35 @@ func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialAnnounceApprov } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "relationship". Invalidates all +// iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "relationship". Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "relationship". Invalidates all iterators. func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6126,6 +6630,34 @@ func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeApproval(v } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "relationship". Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "relationship". Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "relationship". Invalidates all iterators. func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6140,6 +6672,34 @@ func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyApproval( } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "relationship". Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "relationship". Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "relationship". func (this *ActivityStreamsRelationshipProperty) PrependIRI(v *url.URL) { @@ -6989,6 +7549,32 @@ func (this *ActivityStreamsRelationshipProperty) SetGoToSocialAnnounceApproval(i } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "relationship". Panics if the index is +// out of bounds. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "relationship". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "relationship". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7002,6 +7588,32 @@ func (this *ActivityStreamsRelationshipProperty) SetGoToSocialLikeApproval(idx i } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "relationship". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "relationship". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "relationship". Panics if the index is out of // bounds. Invalidates all iterators. @@ -7015,6 +7627,32 @@ func (this *ActivityStreamsRelationshipProperty) SetGoToSocialReplyApproval(idx } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "relationship". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "relationship". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "relationship". Panics if the index is out of bounds. func (this *ActivityStreamsRelationshipProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go index ad5b2ff62..df6752b36 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go index 9a20d2f01..2ee426a95 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go @@ -22,6 +22,8 @@ type ActivityStreamsResultPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsResultPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsResultPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsResultPropertyIterator) GetGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsResultPropertyIterator) GetGoToSocialLikeApproval() vo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsResultPropertyIterator) GetGoToSocialReplyApproval() v return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsResultPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsResultPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsResultPropertyIterator) IsGoToSocialLikeApproval() boo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsResultPropertyIterator) IsGoToSocialReplyApproval() bo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsResultPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsResultPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsResultPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialAnnounceApproval this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeApproval(v v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsResultPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsResultPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsResultPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsResultPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsResultProperty) AppendGoToSocialAnnounceApproval(v vo }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "result". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "result". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "result". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsResultProperty) AppendGoToSocialLikeApproval(v vocab. }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "result". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "result". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "result". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsResultProperty) AppendGoToSocialReplyApproval(v vocab }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "result". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "result". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsResultProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "result" func (this *ActivityStreamsResultProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ @@ -5014,9 +5363,43 @@ func (this *ActivityStreamsResultProperty) InsertGoToSocialAnnounceApproval(idx } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "result". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "result". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "result". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "result". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. func (this *ActivityStreamsResultProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsResultProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "result". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "result". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "result". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsResultProperty) InsertGoToSocialReplyApproval(idx int } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "result". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "result". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "result". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsResultProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsResultProperty) PrependGoToSocialAnnounceApproval(v v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "result". Invalidates all iterators. func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeApproval(v vocab } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "result". Invalidates all iterators. func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyApproval(v voca } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "result". func (this *ActivityStreamsResultProperty) PrependIRI(v *url.URL) { @@ -7238,6 +7797,32 @@ func (this *ActivityStreamsResultProperty) SetGoToSocialAnnounceApproval(idx int } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "result". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "result". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "result". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7251,6 +7836,32 @@ func (this *ActivityStreamsResultProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "result". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "result". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "result". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7264,6 +7875,32 @@ func (this *ActivityStreamsResultProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "result". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "result". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsResultProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "result". Panics if the index is out of bounds. func (this *ActivityStreamsResultProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go index 269814323..72e7b08eb 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go index 488beedae..fcf87a858 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go @@ -22,6 +22,8 @@ type ActivityStreamsSourceProperty struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsSourceProperty struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsSourceProperty struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ activitystreamsServiceMember: v, @@ -529,6 +571,8 @@ func (this *ActivityStreamsSourceProperty) Clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -557,6 +601,8 @@ func (this *ActivityStreamsSourceProperty) Clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -576,6 +622,8 @@ func (this *ActivityStreamsSourceProperty) Clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -999,6 +1047,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceApproval() vocab. return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -1006,6 +1068,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialLikeApproval() vocab.GoTo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -1013,6 +1089,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialReplyApproval() vocab.GoT return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsSourceProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsSourceProperty) GetIRI() *url.URL { @@ -1072,6 +1162,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1156,6 +1252,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1213,6 +1315,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1257,6 +1365,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1285,6 +1395,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1304,6 +1416,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1735,6 +1849,21 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceApproval() bool { return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1742,6 +1871,20 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1749,6 +1892,20 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialReplyApproval() bool { return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsSourceProperty) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsSourceProperty) IsIRI() bool { @@ -1804,6 +1961,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1860,6 +2021,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1898,6 +2063,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1958,177 +2127,195 @@ func (this ActivityStreamsSourceProperty) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2162,6 +2349,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2218,6 +2409,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2256,6 +2451,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2312,6 +2511,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -2368,6 +2571,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -2406,6 +2613,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -2845,6 +3056,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceApproval(v vocab this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.Clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.Clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2852,6 +3077,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeApproval(v vocab.GoT this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.Clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.Clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2859,6 +3098,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyApproval(v vocab.Go this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.Clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.Clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) { this.Clear() @@ -2928,6 +3181,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -3040,6 +3301,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -3116,6 +3385,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go index 79f2ae5c9..3c5ee854a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go index 2fa8b44a3..592b738c5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go @@ -22,6 +22,8 @@ type ActivityStreamsSubjectProperty struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsSubjectProperty struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsSubjectProperty struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ activitystreamsServiceMember: v, @@ -529,6 +571,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -557,6 +601,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -576,6 +622,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -999,6 +1047,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceApproval() vocab return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -1006,6 +1068,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeApproval() vocab.GoT return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -1013,6 +1089,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyApproval() vocab.Go return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL { @@ -1072,6 +1162,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1156,6 +1252,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1213,6 +1315,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1257,6 +1365,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1285,6 +1395,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1304,6 +1416,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1735,6 +1849,21 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceApproval() bool { return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1742,6 +1871,20 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1749,6 +1892,20 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyApproval() bool { return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsSubjectProperty) IsIRI() bool { @@ -1804,6 +1961,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1860,6 +2021,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1898,6 +2063,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1958,177 +2127,195 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2162,6 +2349,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2218,6 +2409,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2256,6 +2451,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2312,6 +2511,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -2368,6 +2571,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -2406,6 +2613,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -2845,6 +3056,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceApproval(v voca this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.Clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.Clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2852,6 +3077,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeApproval(v vocab.Go this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.Clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.Clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2859,6 +3098,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyApproval(v vocab.G this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.Clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.Clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) { this.Clear() @@ -2928,6 +3181,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -3040,6 +3301,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -3116,6 +3385,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go index 35257972b..04b27f129 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go index 5bd53153f..44066b137 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go @@ -22,6 +22,8 @@ type ActivityStreamsTagPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsTagPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsTagPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -159,6 +165,18 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ activitystreamsApplicationMember: v, @@ -327,6 +345,18 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ activitystreamsListenMember: v, @@ -441,6 +471,18 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ activitystreamsServiceMember: v, @@ -919,6 +961,20 @@ func (this ActivityStreamsTagPropertyIterator) GetGoToSocialAnnounceApproval() v return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -926,6 +982,20 @@ func (this ActivityStreamsTagPropertyIterator) GetGoToSocialLikeApproval() vocab return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -933,6 +1003,20 @@ func (this ActivityStreamsTagPropertyIterator) GetGoToSocialReplyApproval() voca return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsTagPropertyIterator) GetIRI() *url.URL { @@ -992,6 +1076,12 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1076,6 +1166,12 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1133,6 +1229,12 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1177,6 +1279,8 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1205,6 +1309,8 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1224,6 +1330,8 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1655,6 +1763,21 @@ func (this ActivityStreamsTagPropertyIterator) IsGoToSocialAnnounceApproval() bo return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1662,6 +1785,20 @@ func (this ActivityStreamsTagPropertyIterator) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1669,6 +1806,20 @@ func (this ActivityStreamsTagPropertyIterator) IsGoToSocialReplyApproval() bool return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsTagPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsTagPropertyIterator) IsIRI() bool { @@ -1724,6 +1875,10 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1780,6 +1935,10 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1818,6 +1977,10 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1878,177 +2041,195 @@ func (this ActivityStreamsTagPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2082,6 +2263,10 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2138,6 +2323,10 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2176,6 +2365,10 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2642,6 +2835,20 @@ func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialAnnounceApproval(v this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2649,6 +2856,20 @@ func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeApproval(v voca this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2656,6 +2877,20 @@ func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyApproval(v voc this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsTagPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2725,6 +2960,14 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2837,6 +3080,14 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2913,6 +3164,14 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2968,6 +3227,8 @@ func (this *ActivityStreamsTagPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2996,6 +3257,8 @@ func (this *ActivityStreamsTagPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3015,6 +3278,8 @@ func (this *ActivityStreamsTagPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3050,6 +3315,10 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3106,6 +3375,10 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3144,6 +3417,10 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3885,6 +4162,30 @@ func (this *ActivityStreamsTagProperty) AppendGoToSocialAnnounceApproval(v vocab }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "tag". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "tag". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "tag". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -3896,6 +4197,29 @@ func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeApproval(v vocab.GoT }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "tag". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "tag". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "tag". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4232,29 @@ func (this *ActivityStreamsTagProperty) AppendGoToSocialReplyApproval(v vocab.Go }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "tag". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "tag". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsTagProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "tag" func (this *ActivityStreamsTagProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ @@ -5010,14 +5357,48 @@ func (this *ActivityStreamsTagProperty) InsertGoToSocialAnnounceApproval(idx int } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "tag". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "tag". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "tag". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "tag". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, gotosocialLikeApprovalMember: v, myIdx: idx, parent: this, @@ -5027,6 +5408,40 @@ func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeApproval(idx int, v } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "tag". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "tag". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "tag". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5044,6 +5459,40 @@ func (this *ActivityStreamsTagProperty) InsertGoToSocialReplyApproval(idx int, v } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "tag". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "tag". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // Insert inserts an IRI value at the specified index for a property "tag". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5223,230 +5672,254 @@ func (this ActivityStreamsTagProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6317,6 +6790,34 @@ func (this *ActivityStreamsTagProperty) PrependGoToSocialAnnounceApproval(v voca } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "tag". Invalidates all iterators. func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6331,6 +6832,34 @@ func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeApproval(v vocab.Go } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "tag". Invalidates all iterators. func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6345,6 +6874,34 @@ func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyApproval(v vocab.G } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependIRI prepends an IRI value to the front of a list of the property "tag". func (this *ActivityStreamsTagProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsTagPropertyIterator{{ @@ -7233,6 +7790,32 @@ func (this *ActivityStreamsTagProperty) SetGoToSocialAnnounceApproval(idx int, v } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "tag". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "tag". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "tag". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7246,6 +7829,32 @@ func (this *ActivityStreamsTagProperty) SetGoToSocialLikeApproval(idx int, v voc } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "tag". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "tag". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "tag". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7259,6 +7868,32 @@ func (this *ActivityStreamsTagProperty) SetGoToSocialReplyApproval(idx int, v vo } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "tag". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "tag". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsTagProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "tag". // Panics if the index is out of bounds. func (this *ActivityStreamsTagProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go index 48446301e..01131ce07 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go index 1d0821938..401cf1386 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go @@ -22,6 +22,8 @@ type ActivityStreamsTargetPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsTargetPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsTargetPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -160,6 +166,18 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ activitystreamsApplicationMember: v, @@ -328,6 +346,18 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ activitystreamsListenMember: v, @@ -442,6 +472,18 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ activitystreamsServiceMember: v, @@ -920,6 +962,20 @@ func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialAnnounceApproval( return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -927,6 +983,20 @@ func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialLikeApproval() vo return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -934,6 +1004,20 @@ func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialReplyApproval() v return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsTargetPropertyIterator) GetIRI() *url.URL { @@ -993,6 +1077,12 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1077,6 +1167,12 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1134,6 +1230,12 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1178,6 +1280,8 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1206,6 +1310,8 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1225,6 +1331,8 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1656,6 +1764,21 @@ func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialAnnounceApproval() return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1663,6 +1786,20 @@ func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialLikeApproval() boo return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1670,6 +1807,20 @@ func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialReplyApproval() bo return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsTargetPropertyIterator) IsIRI() bool { @@ -1725,6 +1876,10 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1781,6 +1936,10 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1819,6 +1978,10 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1879,177 +2042,195 @@ func (this ActivityStreamsTargetPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2083,6 +2264,10 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2139,6 +2324,10 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2177,6 +2366,10 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2643,6 +2836,20 @@ func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialAnnounceApproval this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2650,6 +2857,20 @@ func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeApproval(v v this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2657,6 +2878,20 @@ func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyApproval(v this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsTargetPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2726,6 +2961,14 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2838,6 +3081,14 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2914,6 +3165,14 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2969,6 +3228,8 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2997,6 +3258,8 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3016,6 +3279,8 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3051,6 +3316,10 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3107,6 +3376,10 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3145,6 +3418,10 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3887,6 +4164,30 @@ func (this *ActivityStreamsTargetProperty) AppendGoToSocialAnnounceApproval(v vo }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "target". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "target". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "target". Invalidates iterators that are traversing using // Prev. @@ -3899,6 +4200,30 @@ func (this *ActivityStreamsTargetProperty) AppendGoToSocialLikeApproval(v vocab. }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "target". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "target". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "target". Invalidates iterators that are traversing // using Prev. @@ -3911,6 +4236,30 @@ func (this *ActivityStreamsTargetProperty) AppendGoToSocialReplyApproval(v vocab }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "target". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "target". Invalidates iterators that are traversing using +// Prev. +func (this *ActivityStreamsTargetProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "target" func (this *ActivityStreamsTargetProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ @@ -5014,9 +5363,43 @@ func (this *ActivityStreamsTargetProperty) InsertGoToSocialAnnounceApproval(idx } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "target". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "target". Existing elements at that +// index and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "target". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "target". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. func (this *ActivityStreamsTargetProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) @@ -5031,6 +5414,40 @@ func (this *ActivityStreamsTargetProperty) InsertGoToSocialLikeApproval(idx int, } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "target". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "target". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "target". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5048,6 +5465,40 @@ func (this *ActivityStreamsTargetProperty) InsertGoToSocialReplyApproval(idx int } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "target". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "target". Existing elements at that index and higher +// are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "target". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5227,230 +5678,254 @@ func (this ActivityStreamsTargetProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6321,6 +6796,34 @@ func (this *ActivityStreamsTargetProperty) PrependGoToSocialAnnounceApproval(v v } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "target". Invalidates all iterators. func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6335,6 +6838,34 @@ func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeApproval(v vocab } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "target". Invalidates all iterators. func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6349,6 +6880,34 @@ func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyApproval(v voca } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 // "target". func (this *ActivityStreamsTargetProperty) PrependIRI(v *url.URL) { @@ -7238,6 +7797,32 @@ func (this *ActivityStreamsTargetProperty) SetGoToSocialAnnounceApproval(idx int } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "target". Panics if the index is out +// of bounds. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "target". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "target". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7251,6 +7836,32 @@ func (this *ActivityStreamsTargetProperty) SetGoToSocialLikeApproval(idx int, v } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "target". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "target". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "target". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7264,6 +7875,32 @@ func (this *ActivityStreamsTargetProperty) SetGoToSocialReplyApproval(idx int, v } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "target". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "target". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property // "target". Panics if the index is out of bounds. func (this *ActivityStreamsTargetProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go index 73cd3ce6a..481fd6476 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go @@ -33,6 +33,14 @@ type privateManager interface { // method for the "GoToSocialAnnounceApproval" non-functional property // in the vocabulary "GoToSocial" DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) + // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialAnnounceAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) + // DeserializeAnnounceRequestGoToSocial returns the deserialization method + // for the "GoToSocialAnnounceRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) // DeserializeApplicationActivityStreams returns the deserialization // method for the "ActivityStreamsApplication" non-functional property // in the vocabulary "ActivityStreams" @@ -143,6 +151,14 @@ type privateManager interface { // for the "GoToSocialLikeApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) + // DeserializeLikeAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialLikeAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) + // DeserializeLikeRequestGoToSocial returns the deserialization method for + // the "GoToSocialLikeRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" @@ -228,6 +244,14 @@ type privateManager interface { // for the "GoToSocialReplyApproval" non-functional property in the // vocabulary "GoToSocial" DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) + // DeserializeReplyAuthorizationGoToSocial returns the deserialization + // method for the "GoToSocialReplyAuthorization" non-functional + // property in the vocabulary "GoToSocial" + DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) + // DeserializeReplyRequestGoToSocial returns the deserialization method + // for the "GoToSocialReplyRequest" non-functional property in the + // vocabulary "GoToSocial" + DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go index 76d4195ce..69e1ea313 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go @@ -22,6 +22,8 @@ type ActivityStreamsToPropertyIterator struct { funkwhaleAlbumMember vocab.FunkwhaleAlbum activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval + gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization + gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest activitystreamsApplicationMember vocab.ActivityStreamsApplication activitystreamsArriveMember vocab.ActivityStreamsArrive activitystreamsArticleMember vocab.ActivityStreamsArticle @@ -50,6 +52,8 @@ type ActivityStreamsToPropertyIterator struct { funkwhaleLibraryMember vocab.FunkwhaleLibrary activitystreamsLikeMember vocab.ActivityStreamsLike gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval + gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization + gotosocialLikeRequestMember vocab.GoToSocialLikeRequest activitystreamsListenMember vocab.ActivityStreamsListen activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsMoveMember vocab.ActivityStreamsMove @@ -69,6 +73,8 @@ type ActivityStreamsToPropertyIterator struct { activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval + gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization + gotosocialReplyRequestMember vocab.GoToSocialReplyRequest activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject @@ -159,6 +165,18 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st gotosocialAnnounceApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialAnnounceAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialAnnounceRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ activitystreamsApplicationMember: v, @@ -327,6 +345,18 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st gotosocialLikeApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialLikeAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialLikeRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ activitystreamsListenMember: v, @@ -441,6 +471,18 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st gotosocialReplyApprovalMember: v, } return this, nil + } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialReplyAuthorizationMember: v, + } + return this, nil + } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + gotosocialReplyRequestMember: v, + } + return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ activitystreamsServiceMember: v, @@ -919,6 +961,20 @@ func (this ActivityStreamsToPropertyIterator) GetGoToSocialAnnounceApproval() vo return this.gotosocialAnnounceApprovalMember } +// GetGoToSocialAnnounceAuthorization returns the value of this property. When +// IsGoToSocialAnnounceAuthorization returns false, +// GetGoToSocialAnnounceAuthorization will return an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization { + return this.gotosocialAnnounceAuthorizationMember +} + +// GetGoToSocialAnnounceRequest returns the value of this property. When +// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest +// will return an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest { + return this.gotosocialAnnounceRequestMember +} + // GetGoToSocialLikeApproval returns the value of this property. When // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will // return an arbitrary value. @@ -926,6 +982,20 @@ func (this ActivityStreamsToPropertyIterator) GetGoToSocialLikeApproval() vocab. return this.gotosocialLikeApprovalMember } +// GetGoToSocialLikeAuthorization returns the value of this property. When +// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization +// will return an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization { + return this.gotosocialLikeAuthorizationMember +} + +// GetGoToSocialLikeRequest returns the value of this property. When +// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return +// an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest { + return this.gotosocialLikeRequestMember +} + // GetGoToSocialReplyApproval returns the value of this property. When // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will // return an arbitrary value. @@ -933,6 +1003,20 @@ func (this ActivityStreamsToPropertyIterator) GetGoToSocialReplyApproval() vocab return this.gotosocialReplyApprovalMember } +// GetGoToSocialReplyAuthorization returns the value of this property. When +// IsGoToSocialReplyAuthorization returns false, +// GetGoToSocialReplyAuthorization will return an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization { + return this.gotosocialReplyAuthorizationMember +} + +// GetGoToSocialReplyRequest returns the value of this property. When +// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will +// return an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest { + return this.gotosocialReplyRequestMember +} + // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsToPropertyIterator) GetIRI() *url.URL { @@ -992,6 +1076,12 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval() } + if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization() + } + if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest() + } if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication() } @@ -1076,6 +1166,12 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval() } + if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization() + } + if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest() + } if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen() } @@ -1133,6 +1229,12 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval() } + if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization() + } + if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest() + } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1177,6 +1279,8 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool { this.IsFunkwhaleAlbum() || this.IsActivityStreamsAnnounce() || this.IsGoToSocialAnnounceApproval() || + this.IsGoToSocialAnnounceAuthorization() || + this.IsGoToSocialAnnounceRequest() || this.IsActivityStreamsApplication() || this.IsActivityStreamsArrive() || this.IsActivityStreamsArticle() || @@ -1205,6 +1309,8 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool { this.IsFunkwhaleLibrary() || this.IsActivityStreamsLike() || this.IsGoToSocialLikeApproval() || + this.IsGoToSocialLikeAuthorization() || + this.IsGoToSocialLikeRequest() || this.IsActivityStreamsListen() || this.IsActivityStreamsMention() || this.IsActivityStreamsMove() || @@ -1224,6 +1330,8 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool { this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || this.IsGoToSocialReplyApproval() || + this.IsGoToSocialReplyAuthorization() || + this.IsGoToSocialReplyRequest() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || @@ -1655,6 +1763,21 @@ func (this ActivityStreamsToPropertyIterator) IsGoToSocialAnnounceApproval() boo return this.gotosocialAnnounceApprovalMember != nil } +// IsGoToSocialAnnounceAuthorization returns true if this property has a type of +// "AnnounceAuthorization". When true, use the +// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization +// methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialAnnounceAuthorization() bool { + return this.gotosocialAnnounceAuthorizationMember != nil +} + +// IsGoToSocialAnnounceRequest returns true if this property has a type of +// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and +// SetGoToSocialAnnounceRequest methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialAnnounceRequest() bool { + return this.gotosocialAnnounceRequestMember != nil +} + // IsGoToSocialLikeApproval returns true if this property has a type of // "LikeApproval". When true, use the GetGoToSocialLikeApproval and // SetGoToSocialLikeApproval methods to access and set this property. @@ -1662,6 +1785,20 @@ func (this ActivityStreamsToPropertyIterator) IsGoToSocialLikeApproval() bool { return this.gotosocialLikeApprovalMember != nil } +// IsGoToSocialLikeAuthorization returns true if this property has a type of +// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and +// SetGoToSocialLikeAuthorization methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialLikeAuthorization() bool { + return this.gotosocialLikeAuthorizationMember != nil +} + +// IsGoToSocialLikeRequest returns true if this property has a type of +// "LikeRequest". When true, use the GetGoToSocialLikeRequest and +// SetGoToSocialLikeRequest methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialLikeRequest() bool { + return this.gotosocialLikeRequestMember != nil +} + // IsGoToSocialReplyApproval returns true if this property has a type of // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and // SetGoToSocialReplyApproval methods to access and set this property. @@ -1669,6 +1806,20 @@ func (this ActivityStreamsToPropertyIterator) IsGoToSocialReplyApproval() bool { return this.gotosocialReplyApprovalMember != nil } +// IsGoToSocialReplyAuthorization returns true if this property has a type of +// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization +// and SetGoToSocialReplyAuthorization methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialReplyAuthorization() bool { + return this.gotosocialReplyAuthorizationMember != nil +} + +// IsGoToSocialReplyRequest returns true if this property has a type of +// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and +// SetGoToSocialReplyRequest methods to access and set this property. +func (this ActivityStreamsToPropertyIterator) IsGoToSocialReplyRequest() bool { + return this.gotosocialReplyRequestMember != nil +} + // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsToPropertyIterator) IsIRI() bool { @@ -1724,6 +1875,10 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAnnounce().JSONLDContext() } else if this.IsGoToSocialAnnounceApproval() { child = this.GetGoToSocialAnnounceApproval().JSONLDContext() + } else if this.IsGoToSocialAnnounceAuthorization() { + child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext() + } else if this.IsGoToSocialAnnounceRequest() { + child = this.GetGoToSocialAnnounceRequest().JSONLDContext() } else if this.IsActivityStreamsApplication() { child = this.GetActivityStreamsApplication().JSONLDContext() } else if this.IsActivityStreamsArrive() { @@ -1780,6 +1935,10 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsLike().JSONLDContext() } else if this.IsGoToSocialLikeApproval() { child = this.GetGoToSocialLikeApproval().JSONLDContext() + } else if this.IsGoToSocialLikeAuthorization() { + child = this.GetGoToSocialLikeAuthorization().JSONLDContext() + } else if this.IsGoToSocialLikeRequest() { + child = this.GetGoToSocialLikeRequest().JSONLDContext() } else if this.IsActivityStreamsListen() { child = this.GetActivityStreamsListen().JSONLDContext() } else if this.IsActivityStreamsMention() { @@ -1818,6 +1977,10 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRemove().JSONLDContext() } else if this.IsGoToSocialReplyApproval() { child = this.GetGoToSocialReplyApproval().JSONLDContext() + } else if this.IsGoToSocialReplyAuthorization() { + child = this.GetGoToSocialReplyAuthorization().JSONLDContext() + } else if this.IsGoToSocialReplyRequest() { + child = this.GetGoToSocialReplyRequest().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { @@ -1878,177 +2041,195 @@ func (this ActivityStreamsToPropertyIterator) KindIndex() int { if this.IsGoToSocialAnnounceApproval() { return 7 } - if this.IsActivityStreamsApplication() { + if this.IsGoToSocialAnnounceAuthorization() { return 8 } - if this.IsActivityStreamsArrive() { + if this.IsGoToSocialAnnounceRequest() { return 9 } - if this.IsActivityStreamsArticle() { + if this.IsActivityStreamsApplication() { return 10 } - if this.IsFunkwhaleArtist() { + if this.IsActivityStreamsArrive() { return 11 } - if this.IsActivityStreamsAudio() { + if this.IsActivityStreamsArticle() { return 12 } - if this.IsActivityStreamsBlock() { + if this.IsFunkwhaleArtist() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsAudio() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsBlock() { return 15 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsCollection() { return 16 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsCollectionPage() { return 17 } - if this.IsActivityStreamsDislike() { + if this.IsActivityStreamsCreate() { return 18 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsDelete() { return 19 } - if this.IsTootEmoji() { + if this.IsActivityStreamsDislike() { return 20 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsDocument() { return 21 } - if this.IsActivityStreamsFlag() { + if this.IsTootEmoji() { return 22 } - if this.IsActivityStreamsFollow() { + if this.IsActivityStreamsEvent() { return 23 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsFlag() { return 24 } - if this.IsTootHashtag() { + if this.IsActivityStreamsFollow() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsGroup() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsTootHashtag() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsTootIdentityProof() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsIgnore() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsImage() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsIntransitiveActivity() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsInvite() { return 32 } - if this.IsFunkwhaleLibrary() { + if this.IsActivityStreamsJoin() { return 33 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsLeave() { return 34 } - if this.IsGoToSocialLikeApproval() { + if this.IsFunkwhaleLibrary() { return 35 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsLike() { return 36 } - if this.IsActivityStreamsMention() { + if this.IsGoToSocialLikeApproval() { return 37 } - if this.IsActivityStreamsMove() { + if this.IsGoToSocialLikeAuthorization() { return 38 } - if this.IsActivityStreamsNote() { + if this.IsGoToSocialLikeRequest() { return 39 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsListen() { return 40 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 41 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMove() { return 42 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsNote() { return 43 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsOffer() { return 44 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsOrderedCollection() { return 45 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsOrderedCollectionPage() { return 46 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsOrganization() { return 47 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsPage() { return 48 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsPerson() { return 49 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsPlace() { return 50 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsProfile() { return 51 } - if this.IsActivityStreamsRelationship() { + if this.IsSchemaPropertyValue() { return 52 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsQuestion() { return 53 } - if this.IsGoToSocialReplyApproval() { + if this.IsActivityStreamsRead() { return 54 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsReject() { return 55 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsRelationship() { return 56 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsRemove() { return 57 } - if this.IsActivityStreamsTombstone() { + if this.IsGoToSocialReplyApproval() { return 58 } - if this.IsFunkwhaleTrack() { + if this.IsGoToSocialReplyAuthorization() { return 59 } - if this.IsActivityStreamsTravel() { + if this.IsGoToSocialReplyRequest() { return 60 } - if this.IsActivityStreamsUndo() { + if this.IsActivityStreamsService() { return 61 } - if this.IsActivityStreamsUpdate() { + if this.IsActivityStreamsTentativeAccept() { return 62 } - if this.IsActivityStreamsVideo() { + if this.IsActivityStreamsTentativeReject() { return 63 } - if this.IsActivityStreamsView() { + if this.IsActivityStreamsTombstone() { return 64 } + if this.IsFunkwhaleTrack() { + return 65 + } + if this.IsActivityStreamsTravel() { + return 66 + } + if this.IsActivityStreamsUndo() { + return 67 + } + if this.IsActivityStreamsUpdate() { + return 68 + } + if this.IsActivityStreamsVideo() { + return 69 + } + if this.IsActivityStreamsView() { + return 70 + } if this.IsIRI() { return -2 } @@ -2082,6 +2263,10 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval()) + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization()) + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest()) } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) } else if this.IsActivityStreamsArrive() { @@ -2138,6 +2323,10 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval()) + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization()) + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest()) } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) } else if this.IsActivityStreamsMention() { @@ -2176,6 +2365,10 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval()) + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization()) + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { @@ -2642,6 +2835,20 @@ func (this *ActivityStreamsToPropertyIterator) SetGoToSocialAnnounceApproval(v v this.gotosocialAnnounceApprovalMember = v } +// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling +// IsGoToSocialAnnounceAuthorization afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.clear() + this.gotosocialAnnounceAuthorizationMember = v +} + +// SetGoToSocialAnnounceRequest sets the value of this property. Calling +// IsGoToSocialAnnounceRequest afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.clear() + this.gotosocialAnnounceRequestMember = v +} + // SetGoToSocialLikeApproval sets the value of this property. Calling // IsGoToSocialLikeApproval afterwards returns true. func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -2649,6 +2856,20 @@ func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeApproval(v vocab this.gotosocialLikeApprovalMember = v } +// SetGoToSocialLikeAuthorization sets the value of this property. Calling +// IsGoToSocialLikeAuthorization afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.clear() + this.gotosocialLikeAuthorizationMember = v +} + +// SetGoToSocialLikeRequest sets the value of this property. Calling +// IsGoToSocialLikeRequest afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.clear() + this.gotosocialLikeRequestMember = v +} + // SetGoToSocialReplyApproval sets the value of this property. Calling // IsGoToSocialReplyApproval afterwards returns true. func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -2656,6 +2877,20 @@ func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyApproval(v voca this.gotosocialReplyApprovalMember = v } +// SetGoToSocialReplyAuthorization sets the value of this property. Calling +// IsGoToSocialReplyAuthorization afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.clear() + this.gotosocialReplyAuthorizationMember = v +} + +// SetGoToSocialReplyRequest sets the value of this property. Calling +// IsGoToSocialReplyRequest afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.clear() + this.gotosocialReplyRequestMember = v +} + // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsToPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2725,6 +2960,14 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialAnnounceApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok { + this.SetGoToSocialAnnounceAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok { + this.SetGoToSocialAnnounceRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsApplication); ok { this.SetActivityStreamsApplication(v) return nil @@ -2837,6 +3080,14 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialLikeApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok { + this.SetGoToSocialLikeAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialLikeRequest); ok { + this.SetGoToSocialLikeRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsListen); ok { this.SetActivityStreamsListen(v) return nil @@ -2913,6 +3164,14 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetGoToSocialReplyApproval(v) return nil } + if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok { + this.SetGoToSocialReplyAuthorization(v) + return nil + } + if v, ok := t.(vocab.GoToSocialReplyRequest); ok { + this.SetGoToSocialReplyRequest(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2968,6 +3227,8 @@ func (this *ActivityStreamsToPropertyIterator) clear() { this.funkwhaleAlbumMember = nil this.activitystreamsAnnounceMember = nil this.gotosocialAnnounceApprovalMember = nil + this.gotosocialAnnounceAuthorizationMember = nil + this.gotosocialAnnounceRequestMember = nil this.activitystreamsApplicationMember = nil this.activitystreamsArriveMember = nil this.activitystreamsArticleMember = nil @@ -2996,6 +3257,8 @@ func (this *ActivityStreamsToPropertyIterator) clear() { this.funkwhaleLibraryMember = nil this.activitystreamsLikeMember = nil this.gotosocialLikeApprovalMember = nil + this.gotosocialLikeAuthorizationMember = nil + this.gotosocialLikeRequestMember = nil this.activitystreamsListenMember = nil this.activitystreamsMentionMember = nil this.activitystreamsMoveMember = nil @@ -3015,6 +3278,8 @@ func (this *ActivityStreamsToPropertyIterator) clear() { this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil this.gotosocialReplyApprovalMember = nil + this.gotosocialReplyAuthorizationMember = nil + this.gotosocialReplyRequestMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil @@ -3050,6 +3315,10 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsAnnounce().Serialize() } else if this.IsGoToSocialAnnounceApproval() { return this.GetGoToSocialAnnounceApproval().Serialize() + } else if this.IsGoToSocialAnnounceAuthorization() { + return this.GetGoToSocialAnnounceAuthorization().Serialize() + } else if this.IsGoToSocialAnnounceRequest() { + return this.GetGoToSocialAnnounceRequest().Serialize() } else if this.IsActivityStreamsApplication() { return this.GetActivityStreamsApplication().Serialize() } else if this.IsActivityStreamsArrive() { @@ -3106,6 +3375,10 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsLike().Serialize() } else if this.IsGoToSocialLikeApproval() { return this.GetGoToSocialLikeApproval().Serialize() + } else if this.IsGoToSocialLikeAuthorization() { + return this.GetGoToSocialLikeAuthorization().Serialize() + } else if this.IsGoToSocialLikeRequest() { + return this.GetGoToSocialLikeRequest().Serialize() } else if this.IsActivityStreamsListen() { return this.GetActivityStreamsListen().Serialize() } else if this.IsActivityStreamsMention() { @@ -3144,6 +3417,10 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsRemove().Serialize() } else if this.IsGoToSocialReplyApproval() { return this.GetGoToSocialReplyApproval().Serialize() + } else if this.IsGoToSocialReplyAuthorization() { + return this.GetGoToSocialReplyAuthorization().Serialize() + } else if this.IsGoToSocialReplyRequest() { + return this.GetGoToSocialReplyRequest().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { @@ -3885,6 +4162,30 @@ func (this *ActivityStreamsToProperty) AppendGoToSocialAnnounceApproval(v vocab. }) } +// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to +// the back of a list of the property "to". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of +// a list of the property "to". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list // of the property "to". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsToProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -3896,6 +4197,29 @@ func (this *ActivityStreamsToProperty) AppendGoToSocialLikeApproval(v vocab.GoTo }) } +// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back +// of a list of the property "to". Invalidates iterators that are traversing +// using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list +// of the property "to". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a // list of the property "to". Invalidates iterators that are traversing using // Prev. @@ -3908,6 +4232,29 @@ func (this *ActivityStreamsToProperty) AppendGoToSocialReplyApproval(v vocab.GoT }) } +// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the +// back of a list of the property "to". Invalidates iterators that are +// traversing using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: this.Len(), + parent: this, + }) +} + +// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list +// of the property "to". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsToProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: this.Len(), + parent: this, + }) +} + // AppendIRI appends an IRI value to the back of a list of the property "to" func (this *ActivityStreamsToProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ @@ -5010,10 +5357,44 @@ func (this *ActivityStreamsToProperty) InsertGoToSocialAnnounceApproval(idx int, } } -// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified -// index for a property "to". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsToProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { +// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at +// the specified index for a property "to". Existing elements at that index +// and higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the +// specified index for a property "to". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified +// index for a property "to". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) { this.properties = append(this.properties, nil) copy(this.properties[idx+1:], this.properties[idx:]) this.properties[idx] = &ActivityStreamsToPropertyIterator{ @@ -5027,6 +5408,40 @@ func (this *ActivityStreamsToProperty) InsertGoToSocialLikeApproval(idx int, v v } } +// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the +// specified index for a property "to". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index +// for a property "to". Existing elements at that index and higher are shifted +// back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified // index for a property "to". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5044,6 +5459,40 @@ func (this *ActivityStreamsToProperty) InsertGoToSocialReplyApproval(idx int, v } } +// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the +// specified index for a property "to". Existing elements at that index and +// higher are shifted back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified +// index for a property "to". Existing elements at that index and higher are +// shifted back once. Invalidates all iterators. +func (this *ActivityStreamsToProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "to". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -5223,230 +5672,254 @@ func (this ActivityStreamsToProperty) Less(i, j int) bool { rhs := this.properties[j].GetGoToSocialAnnounceApproval() return lhs.LessThan(rhs) } else if idx1 == 8 { + lhs := this.properties[i].GetGoToSocialAnnounceAuthorization() + rhs := this.properties[j].GetGoToSocialAnnounceAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 9 { + lhs := this.properties[i].GetGoToSocialAnnounceRequest() + rhs := this.properties[j].GetGoToSocialAnnounceRequest() + return lhs.LessThan(rhs) + } else if idx1 == 10 { lhs := this.properties[i].GetActivityStreamsApplication() rhs := this.properties[j].GetActivityStreamsApplication() return lhs.LessThan(rhs) - } else if idx1 == 9 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsArrive() rhs := this.properties[j].GetActivityStreamsArrive() return lhs.LessThan(rhs) - } else if idx1 == 10 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsArticle() rhs := this.properties[j].GetActivityStreamsArticle() return lhs.LessThan(rhs) - } else if idx1 == 11 { + } else if idx1 == 13 { lhs := this.properties[i].GetFunkwhaleArtist() rhs := this.properties[j].GetFunkwhaleArtist() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsAudio() rhs := this.properties[j].GetActivityStreamsAudio() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsBlock() rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 22 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 27 { lhs := this.properties[i].GetTootHashtag() rhs := this.properties[j].GetTootHashtag() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 28 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 35 { lhs := this.properties[i].GetFunkwhaleLibrary() rhs := this.properties[j].GetFunkwhaleLibrary() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 37 { lhs := this.properties[i].GetGoToSocialLikeApproval() rhs := this.properties[j].GetGoToSocialLikeApproval() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 38 { + lhs := this.properties[i].GetGoToSocialLikeAuthorization() + rhs := this.properties[j].GetGoToSocialLikeAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 39 { + lhs := this.properties[i].GetGoToSocialLikeRequest() + rhs := this.properties[j].GetGoToSocialLikeRequest() + return lhs.LessThan(rhs) + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 52 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 58 { lhs := this.properties[i].GetGoToSocialReplyApproval() rhs := this.properties[j].GetGoToSocialReplyApproval() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 59 { + lhs := this.properties[i].GetGoToSocialReplyAuthorization() + rhs := this.properties[j].GetGoToSocialReplyAuthorization() + return lhs.LessThan(rhs) + } else if idx1 == 60 { + lhs := this.properties[i].GetGoToSocialReplyRequest() + rhs := this.properties[j].GetGoToSocialReplyRequest() + return lhs.LessThan(rhs) + } else if idx1 == 61 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 62 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 63 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 64 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 65 { lhs := this.properties[i].GetFunkwhaleTrack() rhs := this.properties[j].GetFunkwhaleTrack() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 66 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 67 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 68 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 69 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 70 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6317,6 +6790,34 @@ func (this *ActivityStreamsToProperty) PrependGoToSocialAnnounceApproval(v vocab } } +// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value +// to the front of a list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front +// of a list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a // list of the property "to". Invalidates all iterators. func (this *ActivityStreamsToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) { @@ -6331,6 +6832,34 @@ func (this *ActivityStreamsToProperty) PrependGoToSocialLikeApproval(v vocab.GoT } } +// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the +// front of a list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a +// list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a // list of the property "to". Invalidates all iterators. func (this *ActivityStreamsToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) { @@ -6345,6 +6874,34 @@ func (this *ActivityStreamsToProperty) PrependGoToSocialReplyApproval(v vocab.Go } } +// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the +// front of a list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: 0, + parent: this, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + +// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a +// list of the property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + gotosocialReplyRequestMember: 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 "to". func (this *ActivityStreamsToProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsToPropertyIterator{{ @@ -7233,6 +7790,32 @@ func (this *ActivityStreamsToProperty) SetGoToSocialAnnounceApproval(idx int, v } } +// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at +// the specified index for the property "to". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the +// specified index for the property "to". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialAnnounceRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified // index for the property "to". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7246,6 +7829,32 @@ func (this *ActivityStreamsToProperty) SetGoToSocialLikeApproval(idx int, v voca } } +// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the +// specified index for the property "to". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index +// for the property "to". Panics if the index is out of bounds. Invalidates +// all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialLikeRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified // index for the property "to". Panics if the index is out of bounds. // Invalidates all iterators. @@ -7259,6 +7868,32 @@ func (this *ActivityStreamsToProperty) SetGoToSocialReplyApproval(idx int, v voc } } +// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the +// specified index for the property "to". Panics if the index is out of +// bounds. Invalidates all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyAuthorizationMember: v, + myIdx: idx, + parent: this, + } +} + +// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified +// index for the property "to". Panics if the index is out of bounds. +// Invalidates all iterators. +func (this *ActivityStreamsToProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + gotosocialReplyRequestMember: v, + myIdx: idx, + parent: this, + } +} + // SetIRI sets an IRI value to be at the specified index for the property "to". // Panics if the index is out of bounds. func (this *ActivityStreamsToProperty) SetIRI(idx int, v *url.URL) { diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go index 00f8acaa5..dd1b8e6de 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go @@ -88,7 +88,7 @@ func ActivityIsDisjointWith(other vocab.Type) bool { // Activity type. Note that it returns false if the types are the same; see // the "IsOrExtendsActivity" variant instead. func ActivityIsExtendedBy(other vocab.Type) bool { - extensions := []string{"Accept", "Add", "Announce", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"} + extensions := []string{"Accept", "Add", "Announce", "AnnounceRequest", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeRequest", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "ReplyRequest", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"} for _, ext := range extensions { if ext == other.GetTypeName() { return true diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go index 7fb8998c6..9c00e24f3 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go @@ -104,6 +104,10 @@ type privateManager interface { // method for the "ActivityStreamsInboxProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error) + // DeserializeIndexablePropertyToot returns the deserialization method for + // the "TootIndexableProperty" non-functional property in the + // vocabulary "Toot" + DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) // DeserializeLikedPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsLikedProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go index 92550fa6e..ad21cd307 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go @@ -40,6 +40,7 @@ type ActivityStreamsApplication struct { ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInbox vocab.ActivityStreamsInboxProperty + TootIndexable vocab.TootIndexableProperty ActivityStreamsLiked vocab.ActivityStreamsLikedProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty @@ -253,6 +254,11 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string } else if p != nil { this.ActivityStreamsInbox = p } + if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootIndexable = p + } if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -431,6 +437,8 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string continue } else if k == "inbox" { continue + } else if k == "indexable" { + continue } else if k == "liked" { continue } else if k == "likes" { @@ -793,6 +801,12 @@ func (this ActivityStreamsApplication) GetTootFeatured() vocab.TootFeaturedPrope return this.TootFeatured } +// GetTootIndexable returns the "indexable" property if it exists, and nil +// otherwise. +func (this ActivityStreamsApplication) GetTootIndexable() vocab.TootIndexableProperty { + return this.TootIndexable +} + // GetTypeName returns the name of this type. func (this ActivityStreamsApplication) GetTypeName() string { return "Application" @@ -847,6 +861,7 @@ func (this ActivityStreamsApplication) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsImage, m) m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) m = this.helperJSONLDContext(this.ActivityStreamsInbox, m) + m = this.helperJSONLDContext(this.TootIndexable, m) m = this.helperJSONLDContext(this.ActivityStreamsLiked, m) m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) @@ -1202,6 +1217,20 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "indexable" + if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "liked" if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1759,6 +1788,14 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro m[this.ActivityStreamsInbox.Name()] = i } } + // Maybe serialize property "indexable" + if this.TootIndexable != nil { + if i, err := this.TootIndexable.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootIndexable.Name()] = i + } + } // Maybe serialize property "liked" if this.ActivityStreamsLiked != nil { if i, err := this.ActivityStreamsLiked.Serialize(); err != nil { @@ -2209,6 +2246,11 @@ func (this *ActivityStreamsApplication) SetTootFeatured(i vocab.TootFeaturedProp this.TootFeatured = i } +// SetTootIndexable sets the "indexable" property. +func (this *ActivityStreamsApplication) SetTootIndexable(i vocab.TootIndexableProperty) { + this.TootIndexable = i +} + // SetW3IDSecurityV1PublicKey sets the "publicKey" property. func (this *ActivityStreamsApplication) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) { this.W3IDSecurityV1PublicKey = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go index 649e13d05..017cd65be 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go @@ -64,6 +64,10 @@ type privateManager interface { // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeFocalPointPropertyToot returns the deserialization method + // for the "TootFocalPointProperty" non-functional property in the + // vocabulary "Toot" + DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) // DeserializeGeneratorPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsGeneratorProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go index df38202ed..ea8e5d61b 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go @@ -35,6 +35,7 @@ type ActivityStreamsAudio struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + TootFocalPoint vocab.TootFocalPointProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty @@ -197,6 +198,11 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsEndTime = p } + if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootFocalPoint = p + } if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -350,6 +356,8 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "endTime" { continue + } else if k == "focalPoint" { + continue } else if k == "generator" { continue } else if k == "icon" { @@ -648,6 +656,12 @@ func (this ActivityStreamsAudio) GetTootBlurhash() vocab.TootBlurhashProperty { return this.TootBlurhash } +// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil +// otherwise. +func (this ActivityStreamsAudio) GetTootFocalPoint() vocab.TootFocalPointProperty { + return this.TootFocalPoint +} + // GetTypeName returns the name of this type. func (this ActivityStreamsAudio) GetTypeName() string { return "Audio" @@ -686,6 +700,7 @@ func (this ActivityStreamsAudio) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.TootFocalPoint, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) m = this.helperJSONLDContext(this.JSONLDId, m) @@ -900,6 +915,20 @@ func (this ActivityStreamsAudio) LessThan(o vocab.ActivityStreamsAudio) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "focalPoint" + if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "generator" if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1363,6 +1392,14 @@ func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsEndTime.Name()] = i } } + // Maybe serialize property "focalPoint" + if this.TootFocalPoint != nil { + if i, err := this.TootFocalPoint.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootFocalPoint.Name()] = i + } + } // Maybe serialize property "generator" if this.ActivityStreamsGenerator != nil { if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { @@ -1754,6 +1791,11 @@ func (this *ActivityStreamsAudio) SetTootBlurhash(i vocab.TootBlurhashProperty) this.TootBlurhash = i } +// SetTootFocalPoint sets the "focalPoint" property. +func (this *ActivityStreamsAudio) SetTootFocalPoint(i vocab.TootFocalPointProperty) { + this.TootFocalPoint = i +} + // VocabularyURI returns the vocabulary's URI as a string. func (this ActivityStreamsAudio) VocabularyURI() string { return "https://www.w3.org/ns/activitystreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go index c36d68080..aafe2e5b2 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go @@ -64,6 +64,10 @@ type privateManager interface { // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeFocalPointPropertyToot returns the deserialization method + // for the "TootFocalPointProperty" non-functional property in the + // vocabulary "Toot" + DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) // DeserializeGeneratorPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsGeneratorProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go index ed7d701fe..5fdc732e7 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go @@ -31,6 +31,7 @@ type ActivityStreamsDocument struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + TootFocalPoint vocab.TootFocalPointProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty @@ -173,6 +174,11 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) ( } else if p != nil { this.ActivityStreamsEndTime = p } + if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootFocalPoint = p + } if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -326,6 +332,8 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) ( continue } else if k == "endTime" { continue + } else if k == "focalPoint" { + continue } else if k == "generator" { continue } else if k == "icon" { @@ -649,6 +657,12 @@ func (this ActivityStreamsDocument) GetTootBlurhash() vocab.TootBlurhashProperty return this.TootBlurhash } +// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil +// otherwise. +func (this ActivityStreamsDocument) GetTootFocalPoint() vocab.TootFocalPointProperty { + return this.TootFocalPoint +} + // GetTypeName returns the name of this type. func (this ActivityStreamsDocument) GetTypeName() string { return "Document" @@ -687,6 +701,7 @@ func (this ActivityStreamsDocument) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.TootFocalPoint, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) m = this.helperJSONLDContext(this.JSONLDId, m) @@ -901,6 +916,20 @@ func (this ActivityStreamsDocument) LessThan(o vocab.ActivityStreamsDocument) bo // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "focalPoint" + if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "generator" if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1364,6 +1393,14 @@ func (this ActivityStreamsDocument) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsEndTime.Name()] = i } } + // Maybe serialize property "focalPoint" + if this.TootFocalPoint != nil { + if i, err := this.TootFocalPoint.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootFocalPoint.Name()] = i + } + } // Maybe serialize property "generator" if this.ActivityStreamsGenerator != nil { if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { @@ -1755,6 +1792,11 @@ func (this *ActivityStreamsDocument) SetTootBlurhash(i vocab.TootBlurhashPropert this.TootBlurhash = i } +// SetTootFocalPoint sets the "focalPoint" property. +func (this *ActivityStreamsDocument) SetTootFocalPoint(i vocab.TootFocalPointProperty) { + this.TootFocalPoint = i +} + // VocabularyURI returns the vocabulary's URI as a string. func (this ActivityStreamsDocument) VocabularyURI() string { return "https://www.w3.org/ns/activitystreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go index 41a90ead5..1b80a5f34 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go @@ -104,6 +104,10 @@ type privateManager interface { // method for the "ActivityStreamsInboxProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error) + // DeserializeIndexablePropertyToot returns the deserialization method for + // the "TootIndexableProperty" non-functional property in the + // vocabulary "Toot" + DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) // DeserializeLikedPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsLikedProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go index a488ddde8..8e7e9d883 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go @@ -40,6 +40,7 @@ type ActivityStreamsGroup struct { ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInbox vocab.ActivityStreamsInboxProperty + TootIndexable vocab.TootIndexableProperty ActivityStreamsLiked vocab.ActivityStreamsLikedProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty @@ -233,6 +234,11 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsInbox = p } + if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootIndexable = p + } if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -411,6 +417,8 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "inbox" { continue + } else if k == "indexable" { + continue } else if k == "liked" { continue } else if k == "likes" { @@ -793,6 +801,12 @@ func (this ActivityStreamsGroup) GetTootFeatured() vocab.TootFeaturedProperty { return this.TootFeatured } +// GetTootIndexable returns the "indexable" property if it exists, and nil +// otherwise. +func (this ActivityStreamsGroup) GetTootIndexable() vocab.TootIndexableProperty { + return this.TootIndexable +} + // GetTypeName returns the name of this type. func (this ActivityStreamsGroup) GetTypeName() string { return "Group" @@ -847,6 +861,7 @@ func (this ActivityStreamsGroup) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsImage, m) m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) m = this.helperJSONLDContext(this.ActivityStreamsInbox, m) + m = this.helperJSONLDContext(this.TootIndexable, m) m = this.helperJSONLDContext(this.ActivityStreamsLiked, m) m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) @@ -1202,6 +1217,20 @@ func (this ActivityStreamsGroup) LessThan(o vocab.ActivityStreamsGroup) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "indexable" + if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "liked" if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1759,6 +1788,14 @@ func (this ActivityStreamsGroup) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsInbox.Name()] = i } } + // Maybe serialize property "indexable" + if this.TootIndexable != nil { + if i, err := this.TootIndexable.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootIndexable.Name()] = i + } + } // Maybe serialize property "liked" if this.ActivityStreamsLiked != nil { if i, err := this.ActivityStreamsLiked.Serialize(); err != nil { @@ -2209,6 +2246,11 @@ func (this *ActivityStreamsGroup) SetTootFeatured(i vocab.TootFeaturedProperty) this.TootFeatured = i } +// SetTootIndexable sets the "indexable" property. +func (this *ActivityStreamsGroup) SetTootIndexable(i vocab.TootIndexableProperty) { + this.TootIndexable = i +} + // SetW3IDSecurityV1PublicKey sets the "publicKey" property. func (this *ActivityStreamsGroup) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) { this.W3IDSecurityV1PublicKey = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go index cd8b58fb2..f10004083 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go @@ -64,6 +64,10 @@ type privateManager interface { // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeFocalPointPropertyToot returns the deserialization method + // for the "TootFocalPointProperty" non-functional property in the + // vocabulary "Toot" + DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) // DeserializeGeneratorPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsGeneratorProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go index 00a22c403..af9bd1833 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go @@ -42,6 +42,7 @@ type ActivityStreamsImage struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + TootFocalPoint vocab.TootFocalPointProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsHeight vocab.ActivityStreamsHeightProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty @@ -186,6 +187,11 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsEndTime = p } + if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootFocalPoint = p + } if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -349,6 +355,8 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "endTime" { continue + } else if k == "focalPoint" { + continue } else if k == "generator" { continue } else if k == "height" { @@ -683,6 +691,12 @@ func (this ActivityStreamsImage) GetTootBlurhash() vocab.TootBlurhashProperty { return this.TootBlurhash } +// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil +// otherwise. +func (this ActivityStreamsImage) GetTootFocalPoint() vocab.TootFocalPointProperty { + return this.TootFocalPoint +} + // GetTypeName returns the name of this type. func (this ActivityStreamsImage) GetTypeName() string { return "Image" @@ -721,6 +735,7 @@ func (this ActivityStreamsImage) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.TootFocalPoint, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) m = this.helperJSONLDContext(this.ActivityStreamsHeight, m) m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) @@ -937,6 +952,20 @@ func (this ActivityStreamsImage) LessThan(o vocab.ActivityStreamsImage) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "focalPoint" + if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "generator" if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1428,6 +1457,14 @@ func (this ActivityStreamsImage) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsEndTime.Name()] = i } } + // Maybe serialize property "focalPoint" + if this.TootFocalPoint != nil { + if i, err := this.TootFocalPoint.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootFocalPoint.Name()] = i + } + } // Maybe serialize property "generator" if this.ActivityStreamsGenerator != nil { if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { @@ -1845,6 +1882,11 @@ func (this *ActivityStreamsImage) SetTootBlurhash(i vocab.TootBlurhashProperty) this.TootBlurhash = i } +// SetTootFocalPoint sets the "focalPoint" property. +func (this *ActivityStreamsImage) SetTootFocalPoint(i vocab.TootFocalPointProperty) { + this.TootFocalPoint = i +} + // VocabularyURI returns the vocabulary's URI as a string. func (this ActivityStreamsImage) VocabularyURI() string { return "https://www.w3.org/ns/activitystreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go index 0dd7b1ee9..0b59890f4 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go @@ -200,7 +200,7 @@ func IsOrExtendsLink(other vocab.Type) bool { // LinkIsDisjointWith returns true if the other provided type is disjoint with the // Link type. func LinkIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} + disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go index 7b0af6770..97f390605 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go @@ -198,7 +198,7 @@ func IsOrExtendsMention(other vocab.Type) bool { // MentionIsDisjointWith returns true if the other provided type is disjoint with // the Mention type. func MentionIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} + disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go index ba9ba9d12..6c278e0fa 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go @@ -397,7 +397,7 @@ func ObjectIsDisjointWith(other vocab.Type) bool { // Object type. Note that it returns false if the types are the same; see the // "IsOrExtendsObject" variant instead. func ObjectIsExtendedBy(other vocab.Type) bool { - extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} + extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"} for _, ext := range extensions { if ext == other.GetTypeName() { return true diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go index d07eadafc..d1cca4d19 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go @@ -104,6 +104,10 @@ type privateManager interface { // method for the "ActivityStreamsInboxProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error) + // DeserializeIndexablePropertyToot returns the deserialization method for + // the "TootIndexableProperty" non-functional property in the + // vocabulary "Toot" + DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) // DeserializeLikedPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsLikedProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go index 26d37e535..35257782c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go @@ -40,6 +40,7 @@ type ActivityStreamsOrganization struct { ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInbox vocab.ActivityStreamsInboxProperty + TootIndexable vocab.TootIndexableProperty ActivityStreamsLiked vocab.ActivityStreamsLikedProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty @@ -233,6 +234,11 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin } else if p != nil { this.ActivityStreamsInbox = p } + if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootIndexable = p + } if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -411,6 +417,8 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin continue } else if k == "inbox" { continue + } else if k == "indexable" { + continue } else if k == "liked" { continue } else if k == "likes" { @@ -793,6 +801,12 @@ func (this ActivityStreamsOrganization) GetTootFeatured() vocab.TootFeaturedProp return this.TootFeatured } +// GetTootIndexable returns the "indexable" property if it exists, and nil +// otherwise. +func (this ActivityStreamsOrganization) GetTootIndexable() vocab.TootIndexableProperty { + return this.TootIndexable +} + // GetTypeName returns the name of this type. func (this ActivityStreamsOrganization) GetTypeName() string { return "Organization" @@ -847,6 +861,7 @@ func (this ActivityStreamsOrganization) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsImage, m) m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) m = this.helperJSONLDContext(this.ActivityStreamsInbox, m) + m = this.helperJSONLDContext(this.TootIndexable, m) m = this.helperJSONLDContext(this.ActivityStreamsLiked, m) m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) @@ -1202,6 +1217,20 @@ func (this ActivityStreamsOrganization) LessThan(o vocab.ActivityStreamsOrganiza // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "indexable" + if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "liked" if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1759,6 +1788,14 @@ func (this ActivityStreamsOrganization) Serialize() (map[string]interface{}, err m[this.ActivityStreamsInbox.Name()] = i } } + // Maybe serialize property "indexable" + if this.TootIndexable != nil { + if i, err := this.TootIndexable.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootIndexable.Name()] = i + } + } // Maybe serialize property "liked" if this.ActivityStreamsLiked != nil { if i, err := this.ActivityStreamsLiked.Serialize(); err != nil { @@ -2209,6 +2246,11 @@ func (this *ActivityStreamsOrganization) SetTootFeatured(i vocab.TootFeaturedPro this.TootFeatured = i } +// SetTootIndexable sets the "indexable" property. +func (this *ActivityStreamsOrganization) SetTootIndexable(i vocab.TootIndexableProperty) { + this.TootIndexable = i +} + // SetW3IDSecurityV1PublicKey sets the "publicKey" property. func (this *ActivityStreamsOrganization) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) { this.W3IDSecurityV1PublicKey = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go index 7e9ad6eef..aa3bc61a3 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go @@ -64,6 +64,10 @@ type privateManager interface { // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeFocalPointPropertyToot returns the deserialization method + // for the "TootFocalPointProperty" non-functional property in the + // vocabulary "Toot" + DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) // DeserializeGeneratorPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsGeneratorProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go index 147a5cfbe..51b5f9ee0 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go @@ -31,6 +31,7 @@ type ActivityStreamsPage struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + TootFocalPoint vocab.TootFocalPointProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty @@ -173,6 +174,11 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act } else if p != nil { this.ActivityStreamsEndTime = p } + if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootFocalPoint = p + } if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -326,6 +332,8 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act continue } else if k == "endTime" { continue + } else if k == "focalPoint" { + continue } else if k == "generator" { continue } else if k == "icon" { @@ -644,6 +652,12 @@ func (this ActivityStreamsPage) GetTootBlurhash() vocab.TootBlurhashProperty { return this.TootBlurhash } +// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil +// otherwise. +func (this ActivityStreamsPage) GetTootFocalPoint() vocab.TootFocalPointProperty { + return this.TootFocalPoint +} + // GetTypeName returns the name of this type. func (this ActivityStreamsPage) GetTypeName() string { return "Page" @@ -682,6 +696,7 @@ func (this ActivityStreamsPage) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.TootFocalPoint, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) m = this.helperJSONLDContext(this.JSONLDId, m) @@ -896,6 +911,20 @@ func (this ActivityStreamsPage) LessThan(o vocab.ActivityStreamsPage) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "focalPoint" + if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "generator" if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1359,6 +1388,14 @@ func (this ActivityStreamsPage) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsEndTime.Name()] = i } } + // Maybe serialize property "focalPoint" + if this.TootFocalPoint != nil { + if i, err := this.TootFocalPoint.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootFocalPoint.Name()] = i + } + } // Maybe serialize property "generator" if this.ActivityStreamsGenerator != nil { if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { @@ -1750,6 +1787,11 @@ func (this *ActivityStreamsPage) SetTootBlurhash(i vocab.TootBlurhashProperty) { this.TootBlurhash = i } +// SetTootFocalPoint sets the "focalPoint" property. +func (this *ActivityStreamsPage) SetTootFocalPoint(i vocab.TootFocalPointProperty) { + this.TootFocalPoint = i +} + // VocabularyURI returns the vocabulary's URI as a string. func (this ActivityStreamsPage) VocabularyURI() string { return "https://www.w3.org/ns/activitystreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go index c2fe15622..ed6162ae5 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go @@ -104,6 +104,10 @@ type privateManager interface { // method for the "ActivityStreamsInboxProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error) + // DeserializeIndexablePropertyToot returns the deserialization method for + // the "TootIndexableProperty" non-functional property in the + // vocabulary "Toot" + DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) // DeserializeLikedPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsLikedProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go index 418201f28..4fe3ff3d7 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go @@ -40,6 +40,7 @@ type ActivityStreamsPerson struct { ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInbox vocab.ActivityStreamsInboxProperty + TootIndexable vocab.TootIndexableProperty ActivityStreamsLiked vocab.ActivityStreamsLikedProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty @@ -233,6 +234,11 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsInbox = p } + if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootIndexable = p + } if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -411,6 +417,8 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "inbox" { continue + } else if k == "indexable" { + continue } else if k == "liked" { continue } else if k == "likes" { @@ -793,6 +801,12 @@ func (this ActivityStreamsPerson) GetTootFeatured() vocab.TootFeaturedProperty { return this.TootFeatured } +// GetTootIndexable returns the "indexable" property if it exists, and nil +// otherwise. +func (this ActivityStreamsPerson) GetTootIndexable() vocab.TootIndexableProperty { + return this.TootIndexable +} + // GetTypeName returns the name of this type. func (this ActivityStreamsPerson) GetTypeName() string { return "Person" @@ -847,6 +861,7 @@ func (this ActivityStreamsPerson) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsImage, m) m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) m = this.helperJSONLDContext(this.ActivityStreamsInbox, m) + m = this.helperJSONLDContext(this.TootIndexable, m) m = this.helperJSONLDContext(this.ActivityStreamsLiked, m) m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) @@ -1202,6 +1217,20 @@ func (this ActivityStreamsPerson) LessThan(o vocab.ActivityStreamsPerson) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "indexable" + if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "liked" if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1759,6 +1788,14 @@ func (this ActivityStreamsPerson) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsInbox.Name()] = i } } + // Maybe serialize property "indexable" + if this.TootIndexable != nil { + if i, err := this.TootIndexable.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootIndexable.Name()] = i + } + } // Maybe serialize property "liked" if this.ActivityStreamsLiked != nil { if i, err := this.ActivityStreamsLiked.Serialize(); err != nil { @@ -2209,6 +2246,11 @@ func (this *ActivityStreamsPerson) SetTootFeatured(i vocab.TootFeaturedProperty) this.TootFeatured = i } +// SetTootIndexable sets the "indexable" property. +func (this *ActivityStreamsPerson) SetTootIndexable(i vocab.TootIndexableProperty) { + this.TootIndexable = i +} + // SetW3IDSecurityV1PublicKey sets the "publicKey" property. func (this *ActivityStreamsPerson) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) { this.W3IDSecurityV1PublicKey = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go index 31765e76c..ee042723a 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go @@ -104,6 +104,10 @@ type privateManager interface { // method for the "ActivityStreamsInboxProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error) + // DeserializeIndexablePropertyToot returns the deserialization method for + // the "TootIndexableProperty" non-functional property in the + // vocabulary "Toot" + DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) // DeserializeLikedPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsLikedProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go index b2fcb4765..98823e5b1 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go @@ -40,6 +40,7 @@ type ActivityStreamsService struct { ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsInbox vocab.ActivityStreamsInboxProperty + TootIndexable vocab.TootIndexableProperty ActivityStreamsLiked vocab.ActivityStreamsLikedProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty @@ -233,6 +234,11 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (* } else if p != nil { this.ActivityStreamsInbox = p } + if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootIndexable = p + } if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -411,6 +417,8 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (* continue } else if k == "inbox" { continue + } else if k == "indexable" { + continue } else if k == "liked" { continue } else if k == "likes" { @@ -793,6 +801,12 @@ func (this ActivityStreamsService) GetTootFeatured() vocab.TootFeaturedProperty return this.TootFeatured } +// GetTootIndexable returns the "indexable" property if it exists, and nil +// otherwise. +func (this ActivityStreamsService) GetTootIndexable() vocab.TootIndexableProperty { + return this.TootIndexable +} + // GetTypeName returns the name of this type. func (this ActivityStreamsService) GetTypeName() string { return "Service" @@ -847,6 +861,7 @@ func (this ActivityStreamsService) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsImage, m) m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) m = this.helperJSONLDContext(this.ActivityStreamsInbox, m) + m = this.helperJSONLDContext(this.TootIndexable, m) m = this.helperJSONLDContext(this.ActivityStreamsLiked, m) m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) @@ -1202,6 +1217,20 @@ func (this ActivityStreamsService) LessThan(o vocab.ActivityStreamsService) bool // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "indexable" + if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "liked" if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1759,6 +1788,14 @@ func (this ActivityStreamsService) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsInbox.Name()] = i } } + // Maybe serialize property "indexable" + if this.TootIndexable != nil { + if i, err := this.TootIndexable.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootIndexable.Name()] = i + } + } // Maybe serialize property "liked" if this.ActivityStreamsLiked != nil { if i, err := this.ActivityStreamsLiked.Serialize(); err != nil { @@ -2209,6 +2246,11 @@ func (this *ActivityStreamsService) SetTootFeatured(i vocab.TootFeaturedProperty this.TootFeatured = i } +// SetTootIndexable sets the "indexable" property. +func (this *ActivityStreamsService) SetTootIndexable(i vocab.TootIndexableProperty) { + this.TootIndexable = i +} + // SetW3IDSecurityV1PublicKey sets the "publicKey" property. func (this *ActivityStreamsService) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) { this.W3IDSecurityV1PublicKey = i diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go index 5033b47fc..3eb42b64c 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go @@ -64,6 +64,10 @@ type privateManager interface { // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeFocalPointPropertyToot returns the deserialization method + // for the "TootFocalPointProperty" non-functional property in the + // vocabulary "Toot" + DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) // DeserializeGeneratorPropertyActivityStreams returns the deserialization // method for the "ActivityStreamsGeneratorProperty" non-functional // property in the vocabulary "ActivityStreams" diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go index 328357c52..2618cf011 100644 --- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go +++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go @@ -32,6 +32,7 @@ type ActivityStreamsVideo struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + TootFocalPoint vocab.TootFocalPointProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty @@ -174,6 +175,11 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsEndTime = p } + if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.TootFocalPoint = p + } if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -327,6 +333,8 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "endTime" { continue + } else if k == "focalPoint" { + continue } else if k == "generator" { continue } else if k == "icon" { @@ -645,6 +653,12 @@ func (this ActivityStreamsVideo) GetTootBlurhash() vocab.TootBlurhashProperty { return this.TootBlurhash } +// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil +// otherwise. +func (this ActivityStreamsVideo) GetTootFocalPoint() vocab.TootFocalPointProperty { + return this.TootFocalPoint +} + // GetTypeName returns the name of this type. func (this ActivityStreamsVideo) GetTypeName() string { return "Video" @@ -683,6 +697,7 @@ func (this ActivityStreamsVideo) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.TootFocalPoint, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) m = this.helperJSONLDContext(this.JSONLDId, m) @@ -897,6 +912,20 @@ func (this ActivityStreamsVideo) LessThan(o vocab.ActivityStreamsVideo) bool { // Anything else is greater than nil return false } // Else: Both are nil + // Compare property "focalPoint" + if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil // Compare property "generator" if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { if lhs.LessThan(rhs) { @@ -1360,6 +1389,14 @@ func (this ActivityStreamsVideo) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsEndTime.Name()] = i } } + // Maybe serialize property "focalPoint" + if this.TootFocalPoint != nil { + if i, err := this.TootFocalPoint.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.TootFocalPoint.Name()] = i + } + } // Maybe serialize property "generator" if this.ActivityStreamsGenerator != nil { if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { @@ -1751,6 +1788,11 @@ func (this *ActivityStreamsVideo) SetTootBlurhash(i vocab.TootBlurhashProperty) this.TootBlurhash = i } +// SetTootFocalPoint sets the "focalPoint" property. +func (this *ActivityStreamsVideo) SetTootFocalPoint(i vocab.TootFocalPointProperty) { + this.TootFocalPoint = i +} + // VocabularyURI returns the vocabulary's URI as a string. func (this ActivityStreamsVideo) VocabularyURI() string { return "https://www.w3.org/ns/activitystreams" -- cgit v1.3