summaryrefslogtreecommitdiff
path: root/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams
diff options
context:
space:
mode:
authorLibravatar tobi <tobi.smethurst@protonmail.com>2025-07-09 16:50:25 +0200
committerLibravatar kim <gruf@noreply.codeberg.org>2025-07-09 16:50:25 +0200
commitdcfc9b7885e7ed4f7886a35ccb3e007c293d3521 (patch)
tree3bef2a25b9c8178bdfbece05a5165c94a5a7ae03 /vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams
parent[performance] use our own typed value context types for Value() key checking ... (diff)
downloadgotosocial-dcfc9b7885e7ed4f7886a35ccb3e007c293d3521.tar.xz
[feature] Use `hidesToPublicFromUnauthedWeb` and `hidesCcPublicFromUnauthedWeb` properties for web visibility of statuses (#4315)
This pull request implements two new properties on ActivityPub actors: `hidesToPublicFromUnauthedWeb` and `hidesCcPublicFromUnauthedWeb`. As documented, these properties allow actors to signal their preference for whether or not their posts should be hidden from unauthenticated web views (ie., web pages like the GtS frontend, web apps like the Mastodon frontend, web APIs like the Mastodon public timeline API, etc). This allows remote accounts to *opt in* to having their unlisted visibility posts shown in (for example) the replies section of the web view of a GtS thread. In future, we can also use these properties to determine whether we should show boosts of a remote actor's post on a GtS profile, and that sort of thing. In keeping with our stance around privacy by default, GtS assumes `true` for `hidesCcPublicFromUnauthedWeb` if the property is not set on a remote actor, ie., hide unlisted/unlocked posts by default. `hidesToPublicFromUnauthedWeb` is assumed to be `false` if the property is not set on a remote actor, ie., show public posts by default. ~~WIP as I still want to work on the documentation for this a bit.~~ New props are already in the namespace document: https://gotosocial.org/ns Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4315 Reviewed-by: kim <gruf@noreply.codeberg.org> Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams')
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go296
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go138
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go287
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go296
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go288
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go142
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go142
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_pkg.go4
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go295
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go2
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_pkg.go10
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go86
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_pkg.go10
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go86
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go2
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go2
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go2
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_pkg.go10
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go86
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_pkg.go10
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go86
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_pkg.go10
-rw-r--r--vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go86
72 files changed, 6075 insertions, 2608 deletions
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_pkg.go
index 75edcc679..eb7651f2b 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go
index 9ebcc6db4..8f29a611d 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go
@@ -37,6 +37,7 @@ type ActivityStreamsActorPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsActorPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsActorPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsActorPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsActorPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsActorPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsActorPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsActorPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsActorPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsActorPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsActorPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsActorPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4270,6 +4316,17 @@ func (this *ActivityStreamsActorProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "actor". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsActorProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "actor". Invalidates iterators that are traversing using
// Prev.
@@ -5516,6 +5573,23 @@ func (this *ActivityStreamsActorProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "actor". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5738,194 +5812,198 @@ func (this ActivityStreamsActorProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6921,6 +6999,20 @@ func (this *ActivityStreamsActorProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "actor". Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsActorPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "actor". Invalidates all iterators.
func (this *ActivityStreamsActorProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7912,6 +8004,19 @@ func (this *ActivityStreamsActorProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "actor". Panics if the index is out of bounds. Invalidates
// all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go
index ad2be2ce6..ea6667e5e 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go
index d4a22f0d4..d803781ec 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go
@@ -37,6 +37,7 @@ type ActivityStreamsAnyOfPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAnyOfPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAnyOfPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsAnyOfPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsAnyOfPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsAnyOfPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsAnyOfPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsAnyOfPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4270,6 +4316,17 @@ func (this *ActivityStreamsAnyOfProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "anyOf". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsAnyOfProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "anyOf". Invalidates iterators that are traversing using
// Prev.
@@ -5516,6 +5573,23 @@ func (this *ActivityStreamsAnyOfProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "anyOf". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5738,194 +5812,198 @@ func (this ActivityStreamsAnyOfProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6921,6 +6999,20 @@ func (this *ActivityStreamsAnyOfProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "anyOf". Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "anyOf". Invalidates all iterators.
func (this *ActivityStreamsAnyOfProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7912,6 +8004,19 @@ func (this *ActivityStreamsAnyOfProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "anyOf". Panics if the index is out of bounds. Invalidates
// all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go
index 29fb6634d..76178a57e 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go
index 81f56f071..126c353fe 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go
@@ -37,6 +37,7 @@ type ActivityStreamsAttachmentPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttachmentPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttachmentPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsAttachmentPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsAttachmentPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsAttachmentPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsAttachmentPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsAttachmentPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4280,6 +4326,17 @@ func (this *ActivityStreamsAttachmentProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "attachment". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsAttachmentProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "attachment". Invalidates iterators that are traversing
// using Prev.
@@ -5528,6 +5585,23 @@ func (this *ActivityStreamsAttachmentProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "attachment". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5750,194 +5824,198 @@ func (this ActivityStreamsAttachmentProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6935,6 +7013,20 @@ func (this *ActivityStreamsAttachmentProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "attachment". Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "attachment". Invalidates all iterators.
func (this *ActivityStreamsAttachmentProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7926,6 +8018,19 @@ func (this *ActivityStreamsAttachmentProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "attachment". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go
index 9755352c6..74bab1ad8 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go
index 04267548b..36940e566 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go
@@ -37,6 +37,7 @@ type ActivityStreamsAttributedToPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttributedToPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttributedToPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsAttributedToPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsAttributedToPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsAttributedToPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsAttributedToPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsAttributedToPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4320,6 +4366,18 @@ func (this *ActivityStreamsAttributedToProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "attributedTo". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsAttributedToProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "attributedTo". Invalidates iterators that are traversing
// using Prev.
@@ -5569,6 +5627,23 @@ func (this *ActivityStreamsAttributedToProperty) InsertIRI(idx int, v *url.URL)
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "attributedTo". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5791,194 +5866,198 @@ func (this ActivityStreamsAttributedToProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6977,6 +7056,20 @@ func (this *ActivityStreamsAttributedToProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "attributedTo". Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "attributedTo". Invalidates all iterators.
func (this *ActivityStreamsAttributedToProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7968,6 +8061,19 @@ func (this *ActivityStreamsAttributedToProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "attributedTo". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_pkg.go
index 3e8f4ddcc..3afe4af48 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go
index 70280dd94..46605b417 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go
@@ -37,6 +37,7 @@ type ActivityStreamsAudiencePropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAudiencePropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAudiencePropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsAudiencePropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsAudiencePropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsAudiencePropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsAudiencePropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsAudiencePropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsAudiencePropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsAudiencePropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4279,6 +4325,17 @@ func (this *ActivityStreamsAudienceProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "audience". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsAudienceProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "audience". Invalidates iterators that are traversing using
// Prev.
@@ -5526,6 +5583,23 @@ func (this *ActivityStreamsAudienceProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "audience". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5748,194 +5822,198 @@ func (this ActivityStreamsAudienceProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6933,6 +7011,20 @@ func (this *ActivityStreamsAudienceProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "audience". Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "audience". Invalidates all iterators.
func (this *ActivityStreamsAudienceProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7924,6 +8016,19 @@ func (this *ActivityStreamsAudienceProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "audience". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go
index e3e71450c..6c9237a45 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go
index 476472d9f..23d92a977 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go
@@ -37,6 +37,7 @@ type ActivityStreamsBccPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -255,6 +256,12 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBccPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBccPropertyIterator{
activitystreamsEventMember: v,
@@ -1023,6 +1030,13 @@ func (this ActivityStreamsBccPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsBccPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1121,6 +1135,9 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1294,6 +1311,7 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1826,6 +1844,13 @@ func (this ActivityStreamsBccPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsBccPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1905,6 +1930,8 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2086,150 +2113,153 @@ func (this ActivityStreamsBccPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2293,6 +2323,8 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2897,6 +2929,13 @@ func (this *ActivityStreamsBccPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsBccPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsBccPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3020,6 +3059,10 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3242,6 +3285,7 @@ func (this *ActivityStreamsBccPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3345,6 +3389,8 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4265,6 +4311,17 @@ func (this *ActivityStreamsBccProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "bcc". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsBccProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "bcc". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsBccProperty) AppendSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -5510,6 +5567,23 @@ func (this *ActivityStreamsBccProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "bcc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5732,194 +5806,198 @@ func (this ActivityStreamsBccProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6915,6 +6993,20 @@ func (this *ActivityStreamsBccProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "bcc". Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsBccPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "bcc". Invalidates all iterators.
func (this *ActivityStreamsBccProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7906,6 +7998,19 @@ func (this *ActivityStreamsBccProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "bcc". Panics if the index is out of bounds. Invalidates
// all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_pkg.go
index d2b265bcb..01963388a 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go
index 5bdb72cac..3117eab32 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go
@@ -37,6 +37,7 @@ type ActivityStreamsBtoPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -255,6 +256,12 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBtoPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBtoPropertyIterator{
activitystreamsEventMember: v,
@@ -1023,6 +1030,13 @@ func (this ActivityStreamsBtoPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsBtoPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1121,6 +1135,9 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1294,6 +1311,7 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1826,6 +1844,13 @@ func (this ActivityStreamsBtoPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsBtoPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1905,6 +1930,8 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2086,150 +2113,153 @@ func (this ActivityStreamsBtoPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2293,6 +2323,8 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2897,6 +2929,13 @@ func (this *ActivityStreamsBtoPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsBtoPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsBtoPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3020,6 +3059,10 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3242,6 +3285,7 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3345,6 +3389,8 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4265,6 +4311,17 @@ func (this *ActivityStreamsBtoProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "bto". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsBtoProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "bto". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsBtoProperty) AppendSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -5510,6 +5567,23 @@ func (this *ActivityStreamsBtoProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "bto". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5732,194 +5806,198 @@ func (this ActivityStreamsBtoProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6915,6 +6993,20 @@ func (this *ActivityStreamsBtoProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "bto". Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "bto". Invalidates all iterators.
func (this *ActivityStreamsBtoProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7906,6 +7998,19 @@ func (this *ActivityStreamsBtoProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "bto". Panics if the index is out of bounds. Invalidates
// all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_pkg.go
index e0ba13656..45d1c6606 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go
index 930063768..af08d75eb 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go
@@ -37,6 +37,7 @@ type ActivityStreamsCcPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -255,6 +256,12 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsCcPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsCcPropertyIterator{
activitystreamsEventMember: v,
@@ -1023,6 +1030,13 @@ func (this ActivityStreamsCcPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsCcPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1121,6 +1135,9 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1294,6 +1311,7 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1826,6 +1844,13 @@ func (this ActivityStreamsCcPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsCcPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1905,6 +1930,8 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2086,150 +2113,153 @@ func (this ActivityStreamsCcPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2293,6 +2323,8 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2897,6 +2929,13 @@ func (this *ActivityStreamsCcPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsCcPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsCcPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3020,6 +3059,10 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3242,6 +3285,7 @@ func (this *ActivityStreamsCcPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3345,6 +3389,8 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4265,6 +4311,17 @@ func (this *ActivityStreamsCcProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "cc". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsCcProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "cc". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsCcProperty) AppendSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -5510,6 +5567,23 @@ func (this *ActivityStreamsCcProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "cc". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -5732,194 +5806,198 @@ func (this ActivityStreamsCcProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6915,6 +6993,20 @@ func (this *ActivityStreamsCcProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "cc". Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsCcPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "cc". Invalidates all iterators.
func (this *ActivityStreamsCcProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7906,6 +7998,19 @@ func (this *ActivityStreamsCcProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "cc". Panics if the index is out of bounds. Invalidates
// all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_pkg.go
index 1dfcf9653..e62ec819f 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go
index d2ed32d7a..2f11f39d0 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go
@@ -44,6 +44,7 @@ type ActivityStreamsClosedPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -263,6 +264,12 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsClosedPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsClosedPropertyIterator{
activitystreamsEventMember: v,
@@ -1046,6 +1053,13 @@ func (this ActivityStreamsClosedPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsClosedPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1144,6 +1158,9 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1332,6 +1349,7 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1864,6 +1882,13 @@ func (this ActivityStreamsClosedPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsClosedPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1957,6 +1982,8 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2144,150 +2171,153 @@ func (this ActivityStreamsClosedPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 24
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 25
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 26
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 27
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 28
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 29
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 30
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 31
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 32
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 33
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 34
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 35
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 36
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 37
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 38
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 39
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 40
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 41
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 42
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 43
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 44
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 45
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 46
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 47
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 48
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 49
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 50
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 51
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 52
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 53
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 54
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 55
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 56
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 57
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 58
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 59
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 60
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 61
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 62
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 63
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 64
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 65
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 66
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 67
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 68
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 69
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 70
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 71
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 72
}
+ if this.IsActivityStreamsView() {
+ return 73
+ }
if this.IsIRI() {
return -2
}
@@ -2355,6 +2385,8 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2959,6 +2991,13 @@ func (this *ActivityStreamsClosedPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsClosedPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsClosedPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3082,6 +3121,10 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3322,6 +3365,7 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3429,6 +3473,8 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4353,6 +4399,17 @@ func (this *ActivityStreamsClosedProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "closed". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsClosedProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "closed". Invalidates iterators that are traversing using
// Prev.
@@ -5623,6 +5680,23 @@ func (this *ActivityStreamsClosedProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "closed". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5889,194 +5963,198 @@ func (this ActivityStreamsClosedProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 25 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 71 {
+ } else if idx1 == 72 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 72 {
+ } else if idx1 == 73 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -7073,6 +7151,20 @@ func (this *ActivityStreamsClosedProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "closed". Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsClosedPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "closed". Invalidates all iterators.
func (this *ActivityStreamsClosedProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -8094,6 +8186,19 @@ func (this *ActivityStreamsClosedProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "closed". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_pkg.go
index cf30a8655..3be289683 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go
index 590719bcd..3df50c4a1 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go
@@ -37,6 +37,7 @@ type ActivityStreamsContextPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsContextPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsContextPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsContextPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsContextPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsContextPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsContextPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsContextPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsContextPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsContextPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsContextPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsContextPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4279,6 +4325,17 @@ func (this *ActivityStreamsContextProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "context". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsContextProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "context". Invalidates iterators that are traversing using
// Prev.
@@ -5526,6 +5583,23 @@ func (this *ActivityStreamsContextProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "context". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5748,194 +5822,198 @@ func (this ActivityStreamsContextProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6932,6 +7010,20 @@ func (this *ActivityStreamsContextProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "context". Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsContextPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "context". Invalidates all iterators.
func (this *ActivityStreamsContextProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7923,6 +8015,19 @@ func (this *ActivityStreamsContextProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "context". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_pkg.go
index 5127ea951..84313265f 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go
index 139e0a8b9..e67766f8a 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go
@@ -36,6 +36,7 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -247,6 +248,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsDescribesProperty{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsEventMember: v,
@@ -564,6 +571,7 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -1071,6 +1079,13 @@ func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsDescribesProperty) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1160,6 +1175,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1326,6 +1344,7 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1842,6 +1861,13 @@ func (this ActivityStreamsDescribesProperty) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsDescribesProperty) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1912,6 +1938,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2086,144 +2114,147 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
if this.IsTootEmoji() {
return 21
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 22
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 35
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 36
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 37
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 38
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 39
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 40
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 41
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 42
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 43
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 44
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 45
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 46
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 47
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 48
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 49
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 50
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 51
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 52
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 53
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 54
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 55
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 56
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 57
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 58
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 59
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 60
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 61
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 62
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 63
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 64
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 65
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 66
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 67
}
+ if this.IsActivityStreamsView() {
+ return 68
+ }
if this.IsIRI() {
return -2
}
@@ -2285,6 +2316,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2441,6 +2474,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -3000,6 +3035,13 @@ func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsDescribesProperty) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.Clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3112,6 +3154,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go
index f6d4de64e..d37d48ac4 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go
index 66a784524..ecc1c52d0 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go
@@ -39,6 +39,7 @@ type ActivityStreamsFormerTypePropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -250,6 +251,12 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsFormerTypePropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsFormerTypePropertyIterator{
activitystreamsEventMember: v,
@@ -1000,6 +1007,13 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsFormerTypePropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1089,6 +1103,9 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1262,6 +1279,7 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1778,6 +1796,13 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsFormerTypePropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1855,6 +1880,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2032,144 +2059,147 @@ func (this ActivityStreamsFormerTypePropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 41
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 42
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 43
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 44
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 45
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 46
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 47
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 48
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 49
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 50
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 51
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 52
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 53
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 54
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 55
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 56
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 57
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 58
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 59
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 60
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 61
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 62
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 63
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 64
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 65
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 66
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 67
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 68
}
+ if this.IsActivityStreamsView() {
+ return 69
+ }
if this.IsIRI() {
return -2
}
@@ -2233,6 +2263,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2819,6 +2851,13 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsFormerTypePropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsFormerTypePropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -2931,6 +2970,10 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3153,6 +3196,7 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3254,6 +3298,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{},
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4161,6 +4207,17 @@ func (this *ActivityStreamsFormerTypeProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "formerType". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsFormerTypeProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "formerType". Invalidates iterators that are traversing
// using Prev.
@@ -5376,6 +5433,23 @@ func (this *ActivityStreamsFormerTypeProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "formerType". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5599,186 +5673,190 @@ func (this ActivityStreamsFormerTypeProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6748,6 +6826,20 @@ func (this *ActivityStreamsFormerTypeProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "formerType". Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "formerType". Invalidates all iterators.
func (this *ActivityStreamsFormerTypeProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7714,6 +7806,19 @@ func (this *ActivityStreamsFormerTypeProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "formerType". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_pkg.go
index c0a57ce1c..4feffb155 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go
index 0fead0258..c3bb024ab 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go
@@ -37,6 +37,7 @@ type ActivityStreamsGeneratorPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsGeneratorPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsGeneratorPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsGeneratorPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsGeneratorPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsGeneratorPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsGeneratorPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsGeneratorPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4279,6 +4325,17 @@ func (this *ActivityStreamsGeneratorProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "generator". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsGeneratorProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "generator". Invalidates iterators that are traversing
// using Prev.
@@ -5526,6 +5583,23 @@ func (this *ActivityStreamsGeneratorProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "generator". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5748,194 +5822,198 @@ func (this ActivityStreamsGeneratorProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6933,6 +7011,20 @@ func (this *ActivityStreamsGeneratorProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "generator". Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "generator". Invalidates all iterators.
func (this *ActivityStreamsGeneratorProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7924,6 +8016,19 @@ func (this *ActivityStreamsGeneratorProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "generator". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go
index 4a3e2ec55..ff1cbb28d 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go
index 3e03a769f..f75363f37 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go
@@ -37,6 +37,7 @@ type ActivityStreamsInReplyToPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInReplyToPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInReplyToPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsInReplyToPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsInReplyToPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsInReplyToPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsInReplyToPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsInReplyToPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4279,6 +4325,17 @@ func (this *ActivityStreamsInReplyToProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "inReplyTo". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsInReplyToProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "inReplyTo". Invalidates iterators that are traversing
// using Prev.
@@ -5526,6 +5583,23 @@ func (this *ActivityStreamsInReplyToProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "inReplyTo". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5748,194 +5822,198 @@ func (this ActivityStreamsInReplyToProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6933,6 +7011,20 @@ func (this *ActivityStreamsInReplyToProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "inReplyTo". Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "inReplyTo". Invalidates all iterators.
func (this *ActivityStreamsInReplyToProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7924,6 +8016,19 @@ func (this *ActivityStreamsInReplyToProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "inReplyTo". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go
index 9d6fe156b..f3962775d 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go
index 234d3f3a6..0a9d98675 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go
@@ -37,6 +37,7 @@ type ActivityStreamsInstrumentPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInstrumentPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInstrumentPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsInstrumentPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsInstrumentPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsInstrumentPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsInstrumentPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsInstrumentPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4280,6 +4326,17 @@ func (this *ActivityStreamsInstrumentProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "instrument". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsInstrumentProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "instrument". Invalidates iterators that are traversing
// using Prev.
@@ -5528,6 +5585,23 @@ func (this *ActivityStreamsInstrumentProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "instrument". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5750,194 +5824,198 @@ func (this ActivityStreamsInstrumentProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6935,6 +7013,20 @@ func (this *ActivityStreamsInstrumentProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "instrument". Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "instrument". Invalidates all iterators.
func (this *ActivityStreamsInstrumentProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7926,6 +8018,19 @@ func (this *ActivityStreamsInstrumentProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "instrument". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_pkg.go
index 1ab2dc2ad..c05612781 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go
index 554c9d113..860ab6c8b 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go
@@ -37,6 +37,7 @@ type ActivityStreamsItemsPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsItemsPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsItemsPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsItemsPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsItemsPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsItemsPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsItemsPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsItemsPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsItemsPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsItemsPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsItemsPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4270,6 +4316,17 @@ func (this *ActivityStreamsItemsProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "items". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsItemsProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "items". Invalidates iterators that are traversing using
// Prev.
@@ -5516,6 +5573,23 @@ func (this *ActivityStreamsItemsProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "items". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5738,194 +5812,198 @@ func (this ActivityStreamsItemsProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6921,6 +6999,20 @@ func (this *ActivityStreamsItemsProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "items". Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "items". Invalidates all iterators.
func (this *ActivityStreamsItemsProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7912,6 +8004,19 @@ func (this *ActivityStreamsItemsProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "items". Panics if the index is out of bounds. Invalidates
// all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_pkg.go
index d1cbcc55a..6dffcb1be 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go
index 714b5de87..06d0fdc28 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go
@@ -37,6 +37,7 @@ type ActivityStreamsLocationPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsLocationPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsLocationPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsLocationPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsLocationPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsLocationPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsLocationPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsLocationPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsLocationPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsLocationPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsLocationPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4279,6 +4325,17 @@ func (this *ActivityStreamsLocationProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "location". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsLocationProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "location". Invalidates iterators that are traversing using
// Prev.
@@ -5526,6 +5583,23 @@ func (this *ActivityStreamsLocationProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "location". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5748,194 +5822,198 @@ func (this ActivityStreamsLocationProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6933,6 +7011,20 @@ func (this *ActivityStreamsLocationProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "location". Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsLocationPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "location". Invalidates all iterators.
func (this *ActivityStreamsLocationProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7924,6 +8016,19 @@ func (this *ActivityStreamsLocationProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "location". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_pkg.go
index 77ff4c192..cdbc315ee 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go
index 74fe58c0b..dd0b0ec0e 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go
@@ -37,6 +37,7 @@ type ActivityStreamsObjectPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsObjectPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsObjectPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsObjectPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsObjectPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsObjectPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsObjectPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsObjectPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsObjectPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsObjectPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsObjectPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4270,6 +4316,17 @@ func (this *ActivityStreamsObjectProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "object". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsObjectProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "object". Invalidates iterators that are traversing using
// Prev.
@@ -5516,6 +5573,23 @@ func (this *ActivityStreamsObjectProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "object". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5738,194 +5812,198 @@ func (this ActivityStreamsObjectProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6922,6 +7000,20 @@ func (this *ActivityStreamsObjectProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "object". Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsObjectPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "object". Invalidates all iterators.
func (this *ActivityStreamsObjectProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7913,6 +8005,19 @@ func (this *ActivityStreamsObjectProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "object". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go
index c3777073e..25ee48b30 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go
index 99bc8de63..74d763b23 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go
@@ -37,6 +37,7 @@ type ActivityStreamsOneOfPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOneOfPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOneOfPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsOneOfPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsOneOfPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsOneOfPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsOneOfPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsOneOfPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsOneOfPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsOneOfPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4270,6 +4316,17 @@ func (this *ActivityStreamsOneOfProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "oneOf". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsOneOfProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "oneOf". Invalidates iterators that are traversing using
// Prev.
@@ -5516,6 +5573,23 @@ func (this *ActivityStreamsOneOfProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "oneOf". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5738,194 +5812,198 @@ func (this ActivityStreamsOneOfProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6921,6 +6999,20 @@ func (this *ActivityStreamsOneOfProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "oneOf". Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "oneOf". Invalidates all iterators.
func (this *ActivityStreamsOneOfProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7912,6 +8004,19 @@ func (this *ActivityStreamsOneOfProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "oneOf". Panics if the index is out of bounds. Invalidates
// all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go
index e0808ddd9..4f9fedf0e 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go
index 0fbdb709a..1e04b6ea6 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go
@@ -37,6 +37,7 @@ type ActivityStreamsOrderedItemsPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOrderedItemsPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsOrderedItemsPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsOrderedItemsPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsOrderedItemsPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsOrderedItemsPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4320,6 +4366,18 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "orderedItems". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsOrderedItemsProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "orderedItems". Invalidates iterators that are traversing
// using Prev.
@@ -5569,6 +5627,23 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertIRI(idx int, v *url.URL)
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "orderedItems". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5791,194 +5866,198 @@ func (this ActivityStreamsOrderedItemsProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6977,6 +7056,20 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "orderedItems". Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "orderedItems". Invalidates all iterators.
func (this *ActivityStreamsOrderedItemsProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7968,6 +8061,19 @@ func (this *ActivityStreamsOrderedItemsProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "orderedItems". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_pkg.go
index 36c215a9f..2b32a0be3 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go
index 7913548be..f0cac66c4 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go
@@ -37,6 +37,7 @@ type ActivityStreamsOriginPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOriginPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOriginPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsOriginPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsOriginPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsOriginPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsOriginPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsOriginPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsOriginPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsOriginPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsOriginPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4270,6 +4316,17 @@ func (this *ActivityStreamsOriginProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "origin". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsOriginProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "origin". Invalidates iterators that are traversing using
// Prev.
@@ -5516,6 +5573,23 @@ func (this *ActivityStreamsOriginProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "origin". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5738,194 +5812,198 @@ func (this ActivityStreamsOriginProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6922,6 +7000,20 @@ func (this *ActivityStreamsOriginProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "origin". Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsOriginPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "origin". Invalidates all iterators.
func (this *ActivityStreamsOriginProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7913,6 +8005,19 @@ func (this *ActivityStreamsOriginProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "origin". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_pkg.go
index a599471f9..515ead95d 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go
index 40e30d94e..698363d9d 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go
@@ -37,6 +37,7 @@ type ActivityStreamsPreviewPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsPreviewPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsPreviewPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsPreviewPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsPreviewPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsPreviewPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsPreviewPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsPreviewPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsPreviewPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsPreviewPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4279,6 +4325,17 @@ func (this *ActivityStreamsPreviewProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "preview". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsPreviewProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "preview". Invalidates iterators that are traversing using
// Prev.
@@ -5526,6 +5583,23 @@ func (this *ActivityStreamsPreviewProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "preview". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5748,194 +5822,198 @@ func (this ActivityStreamsPreviewProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6932,6 +7010,20 @@ func (this *ActivityStreamsPreviewProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "preview". Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "preview". Invalidates all iterators.
func (this *ActivityStreamsPreviewProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7923,6 +8015,19 @@ func (this *ActivityStreamsPreviewProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "preview". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go
index fa834843b..cc58571aa 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go
index ff4e90a08..74f29b90d 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go
@@ -36,6 +36,7 @@ type ActivityStreamsRelationshipPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -247,6 +248,12 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsRelationshipPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsRelationshipPropertyIterator{
activitystreamsEventMember: v,
@@ -989,6 +996,13 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsRelationshipPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1078,6 +1092,9 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1244,6 +1261,7 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1760,6 +1778,13 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsRelationshipPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1830,6 +1855,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2004,144 +2031,147 @@ func (this ActivityStreamsRelationshipPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 21
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 22
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 35
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 36
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 37
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 38
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 39
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 40
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 41
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 42
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 43
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 44
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 45
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 46
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 47
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 48
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 49
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 50
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 51
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 52
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 53
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 54
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 55
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 56
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 57
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 58
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 59
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 60
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 61
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 62
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 63
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 64
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 65
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 66
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 67
}
+ if this.IsActivityStreamsView() {
+ return 68
+ }
if this.IsIRI() {
return -2
}
@@ -2203,6 +2233,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2789,6 +2821,13 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsRelationshipPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsRelationshipPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -2901,6 +2940,10 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3114,6 +3157,7 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3213,6 +3257,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4159,6 +4205,18 @@ func (this *ActivityStreamsRelationshipProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "relationship". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsRelationshipProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "relationship". Invalidates iterators that are traversing
// using Prev.
@@ -5363,6 +5421,23 @@ func (this *ActivityStreamsRelationshipProperty) InsertIRI(idx int, v *url.URL)
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "relationship". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5564,186 +5639,190 @@ func (this ActivityStreamsRelationshipProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 22 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6714,6 +6793,20 @@ func (this *ActivityStreamsRelationshipProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "relationship". Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "relationship". Invalidates all iterators.
func (this *ActivityStreamsRelationshipProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7665,6 +7758,19 @@ func (this *ActivityStreamsRelationshipProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "relationship". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_pkg.go
index 69cb742e7..b03c56040 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go
index 79c332078..97497473d 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go
@@ -37,6 +37,7 @@ type ActivityStreamsResultPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsResultPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsResultPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsResultPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsResultPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsResultPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsResultPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsResultPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsResultPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsResultPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsResultPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsResultPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4270,6 +4316,17 @@ func (this *ActivityStreamsResultProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "result". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsResultProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "result". Invalidates iterators that are traversing using
// Prev.
@@ -5516,6 +5573,23 @@ func (this *ActivityStreamsResultProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "result". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5738,194 +5812,198 @@ func (this ActivityStreamsResultProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6922,6 +7000,20 @@ func (this *ActivityStreamsResultProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "result". Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsResultPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "result". Invalidates all iterators.
func (this *ActivityStreamsResultProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7913,6 +8005,19 @@ func (this *ActivityStreamsResultProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "result". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_pkg.go
index 605afc62b..35f6bb998 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go
index adf02f58c..a677bcc7c 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go
@@ -37,6 +37,7 @@ type ActivityStreamsSourceProperty struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSourceProperty{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsEventMember: v,
@@ -586,6 +593,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -1109,6 +1117,13 @@ func (this ActivityStreamsSourceProperty) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsSourceProperty) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1207,6 +1222,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1380,6 +1398,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1912,6 +1931,13 @@ func (this ActivityStreamsSourceProperty) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsSourceProperty) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1991,6 +2017,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2172,150 +2200,153 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2379,6 +2410,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2541,6 +2574,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -3118,6 +3153,13 @@ func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsSourceProperty) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.Clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3241,6 +3283,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_pkg.go
index a74fd272a..9d3e01e3c 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go
index 8ca25935f..968c0b51e 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go
@@ -37,6 +37,7 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSubjectProperty{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsEventMember: v,
@@ -586,6 +593,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -1109,6 +1117,13 @@ func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsSubjectProperty) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1207,6 +1222,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1380,6 +1398,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1912,6 +1931,13 @@ func (this ActivityStreamsSubjectProperty) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsSubjectProperty) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1991,6 +2017,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2172,150 +2200,153 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2379,6 +2410,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2541,6 +2574,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -3118,6 +3153,13 @@ func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsSubjectProperty) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.Clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3241,6 +3283,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_pkg.go
index 431e72b0d..c4147a57d 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go
index e619deeef..68d7f41ca 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go
@@ -37,6 +37,7 @@ type ActivityStreamsTagPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -255,6 +256,12 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTagPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTagPropertyIterator{
activitystreamsEventMember: v,
@@ -1023,6 +1030,13 @@ func (this ActivityStreamsTagPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsTagPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1121,6 +1135,9 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1294,6 +1311,7 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1826,6 +1844,13 @@ func (this ActivityStreamsTagPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsTagPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1905,6 +1930,8 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2086,150 +2113,153 @@ func (this ActivityStreamsTagPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2293,6 +2323,8 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2897,6 +2929,13 @@ func (this *ActivityStreamsTagPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsTagPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsTagPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3020,6 +3059,10 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3242,6 +3285,7 @@ func (this *ActivityStreamsTagPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3345,6 +3389,8 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4265,6 +4311,17 @@ func (this *ActivityStreamsTagProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "tag". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsTagProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "tag". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsTagProperty) AppendSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -5510,6 +5567,23 @@ func (this *ActivityStreamsTagProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "tag". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5732,194 +5806,198 @@ func (this ActivityStreamsTagProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6915,6 +6993,20 @@ func (this *ActivityStreamsTagProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "tag". Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsTagPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "tag". Invalidates all iterators.
func (this *ActivityStreamsTagProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7906,6 +7998,19 @@ func (this *ActivityStreamsTagProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "tag". Panics if the index is out of bounds. Invalidates
// all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_pkg.go
index fb97befb1..4526c7b59 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go
index e86bdff83..f00ca942a 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go
@@ -37,6 +37,7 @@ type ActivityStreamsTargetPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -256,6 +257,12 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTargetPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTargetPropertyIterator{
activitystreamsEventMember: v,
@@ -1024,6 +1031,13 @@ func (this ActivityStreamsTargetPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsTargetPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1122,6 +1136,9 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1295,6 +1312,7 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1827,6 +1845,13 @@ func (this ActivityStreamsTargetPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsTargetPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1906,6 +1931,8 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2087,150 +2114,153 @@ func (this ActivityStreamsTargetPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2294,6 +2324,8 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2898,6 +2930,13 @@ func (this *ActivityStreamsTargetPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsTargetPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsTargetPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3021,6 +3060,10 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3243,6 +3286,7 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3346,6 +3390,8 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4270,6 +4316,17 @@ func (this *ActivityStreamsTargetProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "target". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsTargetProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "target". Invalidates iterators that are traversing using
// Prev.
@@ -5516,6 +5573,23 @@ func (this *ActivityStreamsTargetProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "target". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5738,194 +5812,198 @@ func (this ActivityStreamsTargetProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6922,6 +7000,20 @@ func (this *ActivityStreamsTargetProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "target". Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsTargetPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "target". Invalidates all iterators.
func (this *ActivityStreamsTargetProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7913,6 +8005,19 @@ func (this *ActivityStreamsTargetProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "target". Panics if the index is out of bounds.
// Invalidates all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_pkg.go
index af7cbcb2e..52eaeacc1 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_pkg.go
@@ -89,6 +89,10 @@ type privateManager interface {
// for the "ActivityStreamsDocument" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error)
+ // DeserializeEmojiReactLitePub returns the deserialization method for the
+ // "LitePubEmojiReact" non-functional property in the vocabulary
+ // "LitePub"
+ DeserializeEmojiReactLitePub() func(map[string]interface{}, map[string]string) (vocab.LitePubEmojiReact, error)
// DeserializeEmojiToot returns the deserialization method for the
// "TootEmoji" non-functional property in the vocabulary "Toot"
DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error)
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go
index 5c290d0f2..2112a7ae2 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go
@@ -37,6 +37,7 @@ type ActivityStreamsToPropertyIterator struct {
activitystreamsDislikeMember vocab.ActivityStreamsDislike
activitystreamsDocumentMember vocab.ActivityStreamsDocument
tootEmojiMember vocab.TootEmoji
+ litepubEmojiReactMember vocab.LitePubEmojiReact
activitystreamsEventMember vocab.ActivityStreamsEvent
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
@@ -255,6 +256,12 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st
tootEmojiMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeEmojiReactLitePub()(m, aliasMap); err == nil {
+ this := &ActivityStreamsToPropertyIterator{
+ alias: alias,
+ litepubEmojiReactMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsToPropertyIterator{
activitystreamsEventMember: v,
@@ -1023,6 +1030,13 @@ func (this ActivityStreamsToPropertyIterator) GetIRI() *url.URL {
return this.iri
}
+// GetLitePubEmojiReact returns the value of this property. When
+// IsLitePubEmojiReact returns false, GetLitePubEmojiReact will return an
+// arbitrary value.
+func (this ActivityStreamsToPropertyIterator) GetLitePubEmojiReact() vocab.LitePubEmojiReact {
+ return this.litepubEmojiReactMember
+}
+
// GetSchemaPropertyValue returns the value of this property. When
// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an
// arbitrary value.
@@ -1121,6 +1135,9 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type {
if this.IsTootEmoji() {
return this.GetTootEmoji()
}
+ if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact()
+ }
if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent()
}
@@ -1294,6 +1311,7 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool {
this.IsActivityStreamsDislike() ||
this.IsActivityStreamsDocument() ||
this.IsTootEmoji() ||
+ this.IsLitePubEmojiReact() ||
this.IsActivityStreamsEvent() ||
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
@@ -1826,6 +1844,13 @@ func (this ActivityStreamsToPropertyIterator) IsIRI() bool {
return this.iri != nil
}
+// IsLitePubEmojiReact returns true if this property has a type of "EmojiReact".
+// When true, use the GetLitePubEmojiReact and SetLitePubEmojiReact methods to
+// access and set this property.
+func (this ActivityStreamsToPropertyIterator) IsLitePubEmojiReact() bool {
+ return this.litepubEmojiReactMember != nil
+}
+
// IsSchemaPropertyValue returns true if this property has a type of
// "PropertyValue". When true, use the GetSchemaPropertyValue and
// SetSchemaPropertyValue methods to access and set this property.
@@ -1905,6 +1930,8 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsDocument().JSONLDContext()
} else if this.IsTootEmoji() {
child = this.GetTootEmoji().JSONLDContext()
+ } else if this.IsLitePubEmojiReact() {
+ child = this.GetLitePubEmojiReact().JSONLDContext()
} else if this.IsActivityStreamsEvent() {
child = this.GetActivityStreamsEvent().JSONLDContext()
} else if this.IsActivityStreamsFlag() {
@@ -2086,150 +2113,153 @@ func (this ActivityStreamsToPropertyIterator) KindIndex() int {
if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsLitePubEmojiReact() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsLeave() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsFunkwhaleLibrary() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsActivityStreamsLike() {
return 37
}
- if this.IsGoToSocialLikeAuthorization() {
+ if this.IsGoToSocialLikeApproval() {
return 38
}
- if this.IsGoToSocialLikeRequest() {
+ if this.IsGoToSocialLikeAuthorization() {
return 39
}
- if this.IsActivityStreamsListen() {
+ if this.IsGoToSocialLikeRequest() {
return 40
}
- if this.IsActivityStreamsMention() {
+ if this.IsActivityStreamsListen() {
return 41
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsMention() {
return 42
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMove() {
return 43
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsNote() {
return 44
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsOffer() {
return 45
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOrderedCollection() {
return 46
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 47
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrganization() {
return 48
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsPage() {
return 49
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPerson() {
return 50
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPlace() {
return 51
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsProfile() {
return 52
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsSchemaPropertyValue() {
return 53
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsQuestion() {
return 54
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsRead() {
return 55
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsReject() {
return 56
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsRelationship() {
return 57
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRemove() {
return 58
}
- if this.IsGoToSocialReplyAuthorization() {
+ if this.IsGoToSocialReplyApproval() {
return 59
}
- if this.IsGoToSocialReplyRequest() {
+ if this.IsGoToSocialReplyAuthorization() {
return 60
}
- if this.IsActivityStreamsService() {
+ if this.IsGoToSocialReplyRequest() {
return 61
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsService() {
return 62
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsTentativeAccept() {
return 63
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsTentativeReject() {
return 64
}
- if this.IsFunkwhaleTrack() {
+ if this.IsActivityStreamsTombstone() {
return 65
}
- if this.IsActivityStreamsTravel() {
+ if this.IsFunkwhaleTrack() {
return 66
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTravel() {
return 67
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsUndo() {
return 68
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsUpdate() {
return 69
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsVideo() {
return 70
}
+ if this.IsActivityStreamsView() {
+ return 71
+ }
if this.IsIRI() {
return -2
}
@@ -2293,6 +2323,8 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo
return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument())
} else if this.IsTootEmoji() {
return this.GetTootEmoji().LessThan(o.GetTootEmoji())
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().LessThan(o.GetLitePubEmojiReact())
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent())
} else if this.IsActivityStreamsFlag() {
@@ -2897,6 +2929,13 @@ func (this *ActivityStreamsToPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
+// SetLitePubEmojiReact sets the value of this property. Calling
+// IsLitePubEmojiReact afterwards returns true.
+func (this *ActivityStreamsToPropertyIterator) SetLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.clear()
+ this.litepubEmojiReactMember = v
+}
+
// SetSchemaPropertyValue sets the value of this property. Calling
// IsSchemaPropertyValue afterwards returns true.
func (this *ActivityStreamsToPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -3020,6 +3059,10 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error {
this.SetTootEmoji(v)
return nil
}
+ if v, ok := t.(vocab.LitePubEmojiReact); ok {
+ this.SetLitePubEmojiReact(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsEvent); ok {
this.SetActivityStreamsEvent(v)
return nil
@@ -3242,6 +3285,7 @@ func (this *ActivityStreamsToPropertyIterator) clear() {
this.activitystreamsDislikeMember = nil
this.activitystreamsDocumentMember = nil
this.tootEmojiMember = nil
+ this.litepubEmojiReactMember = nil
this.activitystreamsEventMember = nil
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
@@ -3345,6 +3389,8 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsDocument().Serialize()
} else if this.IsTootEmoji() {
return this.GetTootEmoji().Serialize()
+ } else if this.IsLitePubEmojiReact() {
+ return this.GetLitePubEmojiReact().Serialize()
} else if this.IsActivityStreamsEvent() {
return this.GetActivityStreamsEvent().Serialize()
} else if this.IsActivityStreamsFlag() {
@@ -4265,6 +4311,17 @@ func (this *ActivityStreamsToProperty) AppendIRI(v *url.URL) {
})
}
+// AppendLitePubEmojiReact appends a EmojiReact value to the back of a list of the
+// property "to". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsToProperty) AppendLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list
// of the property "to". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsToProperty) AppendSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -5510,6 +5567,23 @@ func (this *ActivityStreamsToProperty) InsertIRI(idx int, v *url.URL) {
}
}
+// InsertLitePubEmojiReact inserts a EmojiReact 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) InsertLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index
// for a property "to". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -5732,194 +5806,198 @@ func (this ActivityStreamsToProperty) Less(i, j int) bool {
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
} else if idx1 == 23 {
+ lhs := this.properties[i].GetLitePubEmojiReact()
+ rhs := this.properties[j].GetLitePubEmojiReact()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeAuthorization()
rhs := this.properties[j].GetGoToSocialLikeAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetGoToSocialLikeRequest()
rhs := this.properties[j].GetGoToSocialLikeRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyAuthorization()
rhs := this.properties[j].GetGoToSocialReplyAuthorization()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetGoToSocialReplyRequest()
rhs := this.properties[j].GetGoToSocialReplyRequest()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 67 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 68 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 69 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 70 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6915,6 +6993,20 @@ func (this *ActivityStreamsToProperty) PrependIRI(v *url.URL) {
}
}
+// PrependLitePubEmojiReact prepends a EmojiReact value to the front of a list of
+// the property "to". Invalidates all iterators.
+func (this *ActivityStreamsToProperty) PrependLitePubEmojiReact(v vocab.LitePubEmojiReact) {
+ this.properties = append([]*ActivityStreamsToPropertyIterator{{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a
// list of the property "to". Invalidates all iterators.
func (this *ActivityStreamsToProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) {
@@ -7906,6 +7998,19 @@ func (this *ActivityStreamsToProperty) SetIRI(idx int, v *url.URL) {
}
}
+// SetLitePubEmojiReact sets a EmojiReact 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) SetLitePubEmojiReact(idx int, v vocab.LitePubEmojiReact) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ litepubEmojiReactMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index
// for the property "to". Panics if the index is out of bounds. Invalidates
// all iterators.
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go
index 7592749e4..6b6706cbb 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go
+++ b/vendor/code.superseriousbusiness.org/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", "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"}
+ extensions := []string{"Accept", "Add", "Announce", "AnnounceRequest", "Arrive", "Block", "Create", "Delete", "Dislike", "EmojiReact", "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/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_pkg.go
index b1c70d6fb..93bd237e5 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_pkg.go
@@ -84,6 +84,16 @@ type privateManager interface {
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
+ // DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialHidesCcPublicFromUnauthedWebProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty, error)
+ // DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialHidesToPublicFromUnauthedWebProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialHidesToPublicFromUnauthedWebProperty, error)
// DeserializeIconPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsIconProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go
index 2b73bfaff..bdba222cd 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go
@@ -35,6 +35,8 @@ type ActivityStreamsApplication struct {
ActivityStreamsFollowers vocab.ActivityStreamsFollowersProperty
ActivityStreamsFollowing vocab.ActivityStreamsFollowingProperty
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
+ GoToSocialHidesCcPublicFromUnauthedWeb vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty
+ GoToSocialHidesToPublicFromUnauthedWeb vocab.GoToSocialHidesToPublicFromUnauthedWebProperty
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
JSONLDId vocab.JSONLDIdProperty
ActivityStreamsImage vocab.ActivityStreamsImageProperty
@@ -229,6 +231,16 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
} else if p != nil {
this.ActivityStreamsGenerator = p
}
+ if p, err := mgr.DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialHidesCcPublicFromUnauthedWeb = p
+ }
+ if p, err := mgr.DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialHidesToPublicFromUnauthedWeb = p
+ }
if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -427,6 +439,10 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
continue
} else if k == "generator" {
continue
+ } else if k == "hidesCcPublicFromUnauthedWeb" {
+ continue
+ } else if k == "hidesToPublicFromUnauthedWeb" {
+ continue
} else if k == "icon" {
continue
} else if k == "id" {
@@ -780,6 +796,18 @@ func (this ActivityStreamsApplication) GetActivityStreamsUrl() vocab.ActivityStr
return this.ActivityStreamsUrl
}
+// GetGoToSocialHidesCcPublicFromUnauthedWeb returns the
+// "hidesCcPublicFromUnauthedWeb" property if it exists, and nil otherwise.
+func (this ActivityStreamsApplication) GetGoToSocialHidesCcPublicFromUnauthedWeb() vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty {
+ return this.GoToSocialHidesCcPublicFromUnauthedWeb
+}
+
+// GetGoToSocialHidesToPublicFromUnauthedWeb returns the
+// "hidesToPublicFromUnauthedWeb" property if it exists, and nil otherwise.
+func (this ActivityStreamsApplication) GetGoToSocialHidesToPublicFromUnauthedWeb() vocab.GoToSocialHidesToPublicFromUnauthedWebProperty {
+ return this.GoToSocialHidesToPublicFromUnauthedWeb
+}
+
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsApplication) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@@ -856,6 +884,8 @@ func (this ActivityStreamsApplication) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsFollowers, m)
m = this.helperJSONLDContext(this.ActivityStreamsFollowing, m)
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
+ m = this.helperJSONLDContext(this.GoToSocialHidesCcPublicFromUnauthedWeb, m)
+ m = this.helperJSONLDContext(this.GoToSocialHidesToPublicFromUnauthedWeb, m)
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
@@ -1147,6 +1177,34 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "hidesCcPublicFromUnauthedWeb"
+ if lhs, rhs := this.GoToSocialHidesCcPublicFromUnauthedWeb, o.GetGoToSocialHidesCcPublicFromUnauthedWeb(); 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 "hidesToPublicFromUnauthedWeb"
+ if lhs, rhs := this.GoToSocialHidesToPublicFromUnauthedWeb, o.GetGoToSocialHidesToPublicFromUnauthedWeb(); 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 "icon"
if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1748,6 +1806,22 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro
m[this.ActivityStreamsGenerator.Name()] = i
}
}
+ // Maybe serialize property "hidesCcPublicFromUnauthedWeb"
+ if this.GoToSocialHidesCcPublicFromUnauthedWeb != nil {
+ if i, err := this.GoToSocialHidesCcPublicFromUnauthedWeb.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialHidesCcPublicFromUnauthedWeb.Name()] = i
+ }
+ }
+ // Maybe serialize property "hidesToPublicFromUnauthedWeb"
+ if this.GoToSocialHidesToPublicFromUnauthedWeb != nil {
+ if i, err := this.GoToSocialHidesToPublicFromUnauthedWeb.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialHidesToPublicFromUnauthedWeb.Name()] = i
+ }
+ }
// Maybe serialize property "icon"
if this.ActivityStreamsIcon != nil {
if i, err := this.ActivityStreamsIcon.Serialize(); err != nil {
@@ -2226,6 +2300,18 @@ func (this *ActivityStreamsApplication) SetActivityStreamsUrl(i vocab.ActivitySt
this.ActivityStreamsUrl = i
}
+// SetGoToSocialHidesCcPublicFromUnauthedWeb sets the
+// "hidesCcPublicFromUnauthedWeb" property.
+func (this *ActivityStreamsApplication) SetGoToSocialHidesCcPublicFromUnauthedWeb(i vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty) {
+ this.GoToSocialHidesCcPublicFromUnauthedWeb = i
+}
+
+// SetGoToSocialHidesToPublicFromUnauthedWeb sets the
+// "hidesToPublicFromUnauthedWeb" property.
+func (this *ActivityStreamsApplication) SetGoToSocialHidesToPublicFromUnauthedWeb(i vocab.GoToSocialHidesToPublicFromUnauthedWebProperty) {
+ this.GoToSocialHidesToPublicFromUnauthedWeb = i
+}
+
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsApplication) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_pkg.go
index 5f7803be3..c9d9889b1 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_pkg.go
@@ -84,6 +84,16 @@ type privateManager interface {
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
+ // DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialHidesCcPublicFromUnauthedWebProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty, error)
+ // DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialHidesToPublicFromUnauthedWebProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialHidesToPublicFromUnauthedWebProperty, error)
// DeserializeIconPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsIconProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go
index 19e2875d9..0fad38494 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go
@@ -35,6 +35,8 @@ type ActivityStreamsGroup struct {
ActivityStreamsFollowers vocab.ActivityStreamsFollowersProperty
ActivityStreamsFollowing vocab.ActivityStreamsFollowingProperty
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
+ GoToSocialHidesCcPublicFromUnauthedWeb vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty
+ GoToSocialHidesToPublicFromUnauthedWeb vocab.GoToSocialHidesToPublicFromUnauthedWebProperty
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
JSONLDId vocab.JSONLDIdProperty
ActivityStreamsImage vocab.ActivityStreamsImageProperty
@@ -209,6 +211,16 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac
} else if p != nil {
this.ActivityStreamsGenerator = p
}
+ if p, err := mgr.DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialHidesCcPublicFromUnauthedWeb = p
+ }
+ if p, err := mgr.DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialHidesToPublicFromUnauthedWeb = p
+ }
if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -407,6 +419,10 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac
continue
} else if k == "generator" {
continue
+ } else if k == "hidesCcPublicFromUnauthedWeb" {
+ continue
+ } else if k == "hidesToPublicFromUnauthedWeb" {
+ continue
} else if k == "icon" {
continue
} else if k == "id" {
@@ -780,6 +796,18 @@ func (this ActivityStreamsGroup) GetActivityStreamsUrl() vocab.ActivityStreamsUr
return this.ActivityStreamsUrl
}
+// GetGoToSocialHidesCcPublicFromUnauthedWeb returns the
+// "hidesCcPublicFromUnauthedWeb" property if it exists, and nil otherwise.
+func (this ActivityStreamsGroup) GetGoToSocialHidesCcPublicFromUnauthedWeb() vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty {
+ return this.GoToSocialHidesCcPublicFromUnauthedWeb
+}
+
+// GetGoToSocialHidesToPublicFromUnauthedWeb returns the
+// "hidesToPublicFromUnauthedWeb" property if it exists, and nil otherwise.
+func (this ActivityStreamsGroup) GetGoToSocialHidesToPublicFromUnauthedWeb() vocab.GoToSocialHidesToPublicFromUnauthedWebProperty {
+ return this.GoToSocialHidesToPublicFromUnauthedWeb
+}
+
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsGroup) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@@ -856,6 +884,8 @@ func (this ActivityStreamsGroup) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsFollowers, m)
m = this.helperJSONLDContext(this.ActivityStreamsFollowing, m)
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
+ m = this.helperJSONLDContext(this.GoToSocialHidesCcPublicFromUnauthedWeb, m)
+ m = this.helperJSONLDContext(this.GoToSocialHidesToPublicFromUnauthedWeb, m)
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
@@ -1147,6 +1177,34 @@ func (this ActivityStreamsGroup) LessThan(o vocab.ActivityStreamsGroup) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "hidesCcPublicFromUnauthedWeb"
+ if lhs, rhs := this.GoToSocialHidesCcPublicFromUnauthedWeb, o.GetGoToSocialHidesCcPublicFromUnauthedWeb(); 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 "hidesToPublicFromUnauthedWeb"
+ if lhs, rhs := this.GoToSocialHidesToPublicFromUnauthedWeb, o.GetGoToSocialHidesToPublicFromUnauthedWeb(); 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 "icon"
if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1748,6 +1806,22 @@ func (this ActivityStreamsGroup) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsGenerator.Name()] = i
}
}
+ // Maybe serialize property "hidesCcPublicFromUnauthedWeb"
+ if this.GoToSocialHidesCcPublicFromUnauthedWeb != nil {
+ if i, err := this.GoToSocialHidesCcPublicFromUnauthedWeb.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialHidesCcPublicFromUnauthedWeb.Name()] = i
+ }
+ }
+ // Maybe serialize property "hidesToPublicFromUnauthedWeb"
+ if this.GoToSocialHidesToPublicFromUnauthedWeb != nil {
+ if i, err := this.GoToSocialHidesToPublicFromUnauthedWeb.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialHidesToPublicFromUnauthedWeb.Name()] = i
+ }
+ }
// Maybe serialize property "icon"
if this.ActivityStreamsIcon != nil {
if i, err := this.ActivityStreamsIcon.Serialize(); err != nil {
@@ -2226,6 +2300,18 @@ func (this *ActivityStreamsGroup) SetActivityStreamsUrl(i vocab.ActivityStreamsU
this.ActivityStreamsUrl = i
}
+// SetGoToSocialHidesCcPublicFromUnauthedWeb sets the
+// "hidesCcPublicFromUnauthedWeb" property.
+func (this *ActivityStreamsGroup) SetGoToSocialHidesCcPublicFromUnauthedWeb(i vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty) {
+ this.GoToSocialHidesCcPublicFromUnauthedWeb = i
+}
+
+// SetGoToSocialHidesToPublicFromUnauthedWeb sets the
+// "hidesToPublicFromUnauthedWeb" property.
+func (this *ActivityStreamsGroup) SetGoToSocialHidesToPublicFromUnauthedWeb(i vocab.GoToSocialHidesToPublicFromUnauthedWebProperty) {
+ this.GoToSocialHidesToPublicFromUnauthedWeb = i
+}
+
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsGroup) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go
index 27f927e71..3a0404564 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go
+++ b/vendor/code.superseriousbusiness.org/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", "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"}
+ disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "EmojiReact", "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/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go
index 537c95b34..d61dbc16d 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go
+++ b/vendor/code.superseriousbusiness.org/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", "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"}
+ disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "EmojiReact", "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/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go
index 7def5af57..3b8090608 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go
+++ b/vendor/code.superseriousbusiness.org/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", "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"}
+ extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "EmojiReact", "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/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_pkg.go
index a3b2e4496..80b6f8ac3 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_pkg.go
@@ -84,6 +84,16 @@ type privateManager interface {
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
+ // DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialHidesCcPublicFromUnauthedWebProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty, error)
+ // DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialHidesToPublicFromUnauthedWebProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialHidesToPublicFromUnauthedWebProperty, error)
// DeserializeIconPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsIconProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go
index 8784a0157..74bd3a654 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go
@@ -35,6 +35,8 @@ type ActivityStreamsOrganization struct {
ActivityStreamsFollowers vocab.ActivityStreamsFollowersProperty
ActivityStreamsFollowing vocab.ActivityStreamsFollowingProperty
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
+ GoToSocialHidesCcPublicFromUnauthedWeb vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty
+ GoToSocialHidesToPublicFromUnauthedWeb vocab.GoToSocialHidesToPublicFromUnauthedWebProperty
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
JSONLDId vocab.JSONLDIdProperty
ActivityStreamsImage vocab.ActivityStreamsImageProperty
@@ -209,6 +211,16 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin
} else if p != nil {
this.ActivityStreamsGenerator = p
}
+ if p, err := mgr.DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialHidesCcPublicFromUnauthedWeb = p
+ }
+ if p, err := mgr.DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialHidesToPublicFromUnauthedWeb = p
+ }
if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -407,6 +419,10 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin
continue
} else if k == "generator" {
continue
+ } else if k == "hidesCcPublicFromUnauthedWeb" {
+ continue
+ } else if k == "hidesToPublicFromUnauthedWeb" {
+ continue
} else if k == "icon" {
continue
} else if k == "id" {
@@ -780,6 +796,18 @@ func (this ActivityStreamsOrganization) GetActivityStreamsUrl() vocab.ActivitySt
return this.ActivityStreamsUrl
}
+// GetGoToSocialHidesCcPublicFromUnauthedWeb returns the
+// "hidesCcPublicFromUnauthedWeb" property if it exists, and nil otherwise.
+func (this ActivityStreamsOrganization) GetGoToSocialHidesCcPublicFromUnauthedWeb() vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty {
+ return this.GoToSocialHidesCcPublicFromUnauthedWeb
+}
+
+// GetGoToSocialHidesToPublicFromUnauthedWeb returns the
+// "hidesToPublicFromUnauthedWeb" property if it exists, and nil otherwise.
+func (this ActivityStreamsOrganization) GetGoToSocialHidesToPublicFromUnauthedWeb() vocab.GoToSocialHidesToPublicFromUnauthedWebProperty {
+ return this.GoToSocialHidesToPublicFromUnauthedWeb
+}
+
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsOrganization) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@@ -856,6 +884,8 @@ func (this ActivityStreamsOrganization) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsFollowers, m)
m = this.helperJSONLDContext(this.ActivityStreamsFollowing, m)
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
+ m = this.helperJSONLDContext(this.GoToSocialHidesCcPublicFromUnauthedWeb, m)
+ m = this.helperJSONLDContext(this.GoToSocialHidesToPublicFromUnauthedWeb, m)
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
@@ -1147,6 +1177,34 @@ func (this ActivityStreamsOrganization) LessThan(o vocab.ActivityStreamsOrganiza
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "hidesCcPublicFromUnauthedWeb"
+ if lhs, rhs := this.GoToSocialHidesCcPublicFromUnauthedWeb, o.GetGoToSocialHidesCcPublicFromUnauthedWeb(); 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 "hidesToPublicFromUnauthedWeb"
+ if lhs, rhs := this.GoToSocialHidesToPublicFromUnauthedWeb, o.GetGoToSocialHidesToPublicFromUnauthedWeb(); 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 "icon"
if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1748,6 +1806,22 @@ func (this ActivityStreamsOrganization) Serialize() (map[string]interface{}, err
m[this.ActivityStreamsGenerator.Name()] = i
}
}
+ // Maybe serialize property "hidesCcPublicFromUnauthedWeb"
+ if this.GoToSocialHidesCcPublicFromUnauthedWeb != nil {
+ if i, err := this.GoToSocialHidesCcPublicFromUnauthedWeb.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialHidesCcPublicFromUnauthedWeb.Name()] = i
+ }
+ }
+ // Maybe serialize property "hidesToPublicFromUnauthedWeb"
+ if this.GoToSocialHidesToPublicFromUnauthedWeb != nil {
+ if i, err := this.GoToSocialHidesToPublicFromUnauthedWeb.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialHidesToPublicFromUnauthedWeb.Name()] = i
+ }
+ }
// Maybe serialize property "icon"
if this.ActivityStreamsIcon != nil {
if i, err := this.ActivityStreamsIcon.Serialize(); err != nil {
@@ -2226,6 +2300,18 @@ func (this *ActivityStreamsOrganization) SetActivityStreamsUrl(i vocab.ActivityS
this.ActivityStreamsUrl = i
}
+// SetGoToSocialHidesCcPublicFromUnauthedWeb sets the
+// "hidesCcPublicFromUnauthedWeb" property.
+func (this *ActivityStreamsOrganization) SetGoToSocialHidesCcPublicFromUnauthedWeb(i vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty) {
+ this.GoToSocialHidesCcPublicFromUnauthedWeb = i
+}
+
+// SetGoToSocialHidesToPublicFromUnauthedWeb sets the
+// "hidesToPublicFromUnauthedWeb" property.
+func (this *ActivityStreamsOrganization) SetGoToSocialHidesToPublicFromUnauthedWeb(i vocab.GoToSocialHidesToPublicFromUnauthedWebProperty) {
+ this.GoToSocialHidesToPublicFromUnauthedWeb = i
+}
+
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsOrganization) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_pkg.go
index 8b72acc8c..30fd607a1 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_pkg.go
@@ -84,6 +84,16 @@ type privateManager interface {
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
+ // DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialHidesCcPublicFromUnauthedWebProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty, error)
+ // DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialHidesToPublicFromUnauthedWebProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialHidesToPublicFromUnauthedWebProperty, error)
// DeserializeIconPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsIconProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go
index bad346077..851a1ef0c 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go
@@ -35,6 +35,8 @@ type ActivityStreamsPerson struct {
ActivityStreamsFollowers vocab.ActivityStreamsFollowersProperty
ActivityStreamsFollowing vocab.ActivityStreamsFollowingProperty
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
+ GoToSocialHidesCcPublicFromUnauthedWeb vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty
+ GoToSocialHidesToPublicFromUnauthedWeb vocab.GoToSocialHidesToPublicFromUnauthedWebProperty
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
JSONLDId vocab.JSONLDIdProperty
ActivityStreamsImage vocab.ActivityStreamsImageProperty
@@ -209,6 +211,16 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A
} else if p != nil {
this.ActivityStreamsGenerator = p
}
+ if p, err := mgr.DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialHidesCcPublicFromUnauthedWeb = p
+ }
+ if p, err := mgr.DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialHidesToPublicFromUnauthedWeb = p
+ }
if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -407,6 +419,10 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A
continue
} else if k == "generator" {
continue
+ } else if k == "hidesCcPublicFromUnauthedWeb" {
+ continue
+ } else if k == "hidesToPublicFromUnauthedWeb" {
+ continue
} else if k == "icon" {
continue
} else if k == "id" {
@@ -780,6 +796,18 @@ func (this ActivityStreamsPerson) GetActivityStreamsUrl() vocab.ActivityStreamsU
return this.ActivityStreamsUrl
}
+// GetGoToSocialHidesCcPublicFromUnauthedWeb returns the
+// "hidesCcPublicFromUnauthedWeb" property if it exists, and nil otherwise.
+func (this ActivityStreamsPerson) GetGoToSocialHidesCcPublicFromUnauthedWeb() vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty {
+ return this.GoToSocialHidesCcPublicFromUnauthedWeb
+}
+
+// GetGoToSocialHidesToPublicFromUnauthedWeb returns the
+// "hidesToPublicFromUnauthedWeb" property if it exists, and nil otherwise.
+func (this ActivityStreamsPerson) GetGoToSocialHidesToPublicFromUnauthedWeb() vocab.GoToSocialHidesToPublicFromUnauthedWebProperty {
+ return this.GoToSocialHidesToPublicFromUnauthedWeb
+}
+
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsPerson) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@@ -856,6 +884,8 @@ func (this ActivityStreamsPerson) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsFollowers, m)
m = this.helperJSONLDContext(this.ActivityStreamsFollowing, m)
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
+ m = this.helperJSONLDContext(this.GoToSocialHidesCcPublicFromUnauthedWeb, m)
+ m = this.helperJSONLDContext(this.GoToSocialHidesToPublicFromUnauthedWeb, m)
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
@@ -1147,6 +1177,34 @@ func (this ActivityStreamsPerson) LessThan(o vocab.ActivityStreamsPerson) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "hidesCcPublicFromUnauthedWeb"
+ if lhs, rhs := this.GoToSocialHidesCcPublicFromUnauthedWeb, o.GetGoToSocialHidesCcPublicFromUnauthedWeb(); 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 "hidesToPublicFromUnauthedWeb"
+ if lhs, rhs := this.GoToSocialHidesToPublicFromUnauthedWeb, o.GetGoToSocialHidesToPublicFromUnauthedWeb(); 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 "icon"
if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1748,6 +1806,22 @@ func (this ActivityStreamsPerson) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsGenerator.Name()] = i
}
}
+ // Maybe serialize property "hidesCcPublicFromUnauthedWeb"
+ if this.GoToSocialHidesCcPublicFromUnauthedWeb != nil {
+ if i, err := this.GoToSocialHidesCcPublicFromUnauthedWeb.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialHidesCcPublicFromUnauthedWeb.Name()] = i
+ }
+ }
+ // Maybe serialize property "hidesToPublicFromUnauthedWeb"
+ if this.GoToSocialHidesToPublicFromUnauthedWeb != nil {
+ if i, err := this.GoToSocialHidesToPublicFromUnauthedWeb.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialHidesToPublicFromUnauthedWeb.Name()] = i
+ }
+ }
// Maybe serialize property "icon"
if this.ActivityStreamsIcon != nil {
if i, err := this.ActivityStreamsIcon.Serialize(); err != nil {
@@ -2226,6 +2300,18 @@ func (this *ActivityStreamsPerson) SetActivityStreamsUrl(i vocab.ActivityStreams
this.ActivityStreamsUrl = i
}
+// SetGoToSocialHidesCcPublicFromUnauthedWeb sets the
+// "hidesCcPublicFromUnauthedWeb" property.
+func (this *ActivityStreamsPerson) SetGoToSocialHidesCcPublicFromUnauthedWeb(i vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty) {
+ this.GoToSocialHidesCcPublicFromUnauthedWeb = i
+}
+
+// SetGoToSocialHidesToPublicFromUnauthedWeb sets the
+// "hidesToPublicFromUnauthedWeb" property.
+func (this *ActivityStreamsPerson) SetGoToSocialHidesToPublicFromUnauthedWeb(i vocab.GoToSocialHidesToPublicFromUnauthedWebProperty) {
+ this.GoToSocialHidesToPublicFromUnauthedWeb = i
+}
+
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsPerson) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_pkg.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_pkg.go
index c06ee9999..4e6f1353d 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_pkg.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_pkg.go
@@ -84,6 +84,16 @@ type privateManager interface {
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
+ // DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialHidesCcPublicFromUnauthedWebProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty, error)
+ // DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialHidesToPublicFromUnauthedWebProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialHidesToPublicFromUnauthedWebProperty, error)
// DeserializeIconPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsIconProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go
index 1d9083026..b5a7b1571 100644
--- a/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go
+++ b/vendor/code.superseriousbusiness.org/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go
@@ -35,6 +35,8 @@ type ActivityStreamsService struct {
ActivityStreamsFollowers vocab.ActivityStreamsFollowersProperty
ActivityStreamsFollowing vocab.ActivityStreamsFollowingProperty
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
+ GoToSocialHidesCcPublicFromUnauthedWeb vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty
+ GoToSocialHidesToPublicFromUnauthedWeb vocab.GoToSocialHidesToPublicFromUnauthedWebProperty
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
JSONLDId vocab.JSONLDIdProperty
ActivityStreamsImage vocab.ActivityStreamsImageProperty
@@ -209,6 +211,16 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (*
} else if p != nil {
this.ActivityStreamsGenerator = p
}
+ if p, err := mgr.DeserializeHidesCcPublicFromUnauthedWebPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialHidesCcPublicFromUnauthedWeb = p
+ }
+ if p, err := mgr.DeserializeHidesToPublicFromUnauthedWebPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialHidesToPublicFromUnauthedWeb = p
+ }
if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -407,6 +419,10 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (*
continue
} else if k == "generator" {
continue
+ } else if k == "hidesCcPublicFromUnauthedWeb" {
+ continue
+ } else if k == "hidesToPublicFromUnauthedWeb" {
+ continue
} else if k == "icon" {
continue
} else if k == "id" {
@@ -780,6 +796,18 @@ func (this ActivityStreamsService) GetActivityStreamsUrl() vocab.ActivityStreams
return this.ActivityStreamsUrl
}
+// GetGoToSocialHidesCcPublicFromUnauthedWeb returns the
+// "hidesCcPublicFromUnauthedWeb" property if it exists, and nil otherwise.
+func (this ActivityStreamsService) GetGoToSocialHidesCcPublicFromUnauthedWeb() vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty {
+ return this.GoToSocialHidesCcPublicFromUnauthedWeb
+}
+
+// GetGoToSocialHidesToPublicFromUnauthedWeb returns the
+// "hidesToPublicFromUnauthedWeb" property if it exists, and nil otherwise.
+func (this ActivityStreamsService) GetGoToSocialHidesToPublicFromUnauthedWeb() vocab.GoToSocialHidesToPublicFromUnauthedWebProperty {
+ return this.GoToSocialHidesToPublicFromUnauthedWeb
+}
+
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsService) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@@ -856,6 +884,8 @@ func (this ActivityStreamsService) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsFollowers, m)
m = this.helperJSONLDContext(this.ActivityStreamsFollowing, m)
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
+ m = this.helperJSONLDContext(this.GoToSocialHidesCcPublicFromUnauthedWeb, m)
+ m = this.helperJSONLDContext(this.GoToSocialHidesToPublicFromUnauthedWeb, m)
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
@@ -1147,6 +1177,34 @@ func (this ActivityStreamsService) LessThan(o vocab.ActivityStreamsService) bool
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "hidesCcPublicFromUnauthedWeb"
+ if lhs, rhs := this.GoToSocialHidesCcPublicFromUnauthedWeb, o.GetGoToSocialHidesCcPublicFromUnauthedWeb(); 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 "hidesToPublicFromUnauthedWeb"
+ if lhs, rhs := this.GoToSocialHidesToPublicFromUnauthedWeb, o.GetGoToSocialHidesToPublicFromUnauthedWeb(); 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 "icon"
if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1748,6 +1806,22 @@ func (this ActivityStreamsService) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsGenerator.Name()] = i
}
}
+ // Maybe serialize property "hidesCcPublicFromUnauthedWeb"
+ if this.GoToSocialHidesCcPublicFromUnauthedWeb != nil {
+ if i, err := this.GoToSocialHidesCcPublicFromUnauthedWeb.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialHidesCcPublicFromUnauthedWeb.Name()] = i
+ }
+ }
+ // Maybe serialize property "hidesToPublicFromUnauthedWeb"
+ if this.GoToSocialHidesToPublicFromUnauthedWeb != nil {
+ if i, err := this.GoToSocialHidesToPublicFromUnauthedWeb.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialHidesToPublicFromUnauthedWeb.Name()] = i
+ }
+ }
// Maybe serialize property "icon"
if this.ActivityStreamsIcon != nil {
if i, err := this.ActivityStreamsIcon.Serialize(); err != nil {
@@ -2226,6 +2300,18 @@ func (this *ActivityStreamsService) SetActivityStreamsUrl(i vocab.ActivityStream
this.ActivityStreamsUrl = i
}
+// SetGoToSocialHidesCcPublicFromUnauthedWeb sets the
+// "hidesCcPublicFromUnauthedWeb" property.
+func (this *ActivityStreamsService) SetGoToSocialHidesCcPublicFromUnauthedWeb(i vocab.GoToSocialHidesCcPublicFromUnauthedWebProperty) {
+ this.GoToSocialHidesCcPublicFromUnauthedWeb = i
+}
+
+// SetGoToSocialHidesToPublicFromUnauthedWeb sets the
+// "hidesToPublicFromUnauthedWeb" property.
+func (this *ActivityStreamsService) SetGoToSocialHidesToPublicFromUnauthedWeb(i vocab.GoToSocialHidesToPublicFromUnauthedWebProperty) {
+ this.GoToSocialHidesToPublicFromUnauthedWeb = i
+}
+
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsService) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i