summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-02-19 18:09:54 +0100
committerLibravatar GitHub <noreply@github.com>2025-02-19 18:09:54 +0100
commit96716e4f43341beb3431a7caad10d48e6ca844ae (patch)
tree49e0771a80c5ecdf2cfc42969036fa6044382209
parentadds more code comments and some small code formatting tweaks (#3799) (diff)
downloadgotosocial-96716e4f43341beb3431a7caad10d48e6ca844ae.tar.xz
[feature] Forward-compatibility with Approval objects (#3807)
* vendor * [feature] Forward-compatibility with Approval objects * vendor the thing * fix leetle bug * lil syntax tweak for beloved kimb
-rw-r--r--go.mod2
-rw-r--r--go.sum4
-rw-r--r--internal/ap/activitystreams.go5
-rw-r--r--internal/ap/interfaces.go50
-rw-r--r--internal/ap/resolve.go58
-rw-r--r--internal/federation/dereferencing/status_permitted.go291
-rw-r--r--internal/federation/federatingdb/accept.go173
-rw-r--r--internal/processing/workers/fromfediapi.go10
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_consts.go9
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_init.go9
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_json_resolver.go39
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go42
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go21
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go24
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go21
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go21
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go18
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go9
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go39
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_type_resolver.go33
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go523
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go523
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go523
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go238
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go516
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go516
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go242
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go242
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go523
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go524
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go12
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go523
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go2
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go2
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go2
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_doc.go17
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_pkg.go179
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go1640
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_doc.go17
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_pkg.go179
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go1639
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_doc.go17
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_pkg.go179
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go1639
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go2
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go81
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go81
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go85
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go85
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go85
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go80
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go80
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go79
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go81
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go83
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go34
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go85
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go85
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go85
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go85
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go81
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go85
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go81
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go81
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go85
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go81
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go83
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go85
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go81
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go34
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go34
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go80
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go81
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go79
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvedBy_interface.go9
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go200
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go200
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go200
-rw-r--r--vendor/modules.txt5
125 files changed, 20960 insertions, 2964 deletions
diff --git a/go.mod b/go.mod
index a016b955f..182d20613 100644
--- a/go.mod
+++ b/go.mod
@@ -55,7 +55,7 @@ require (
github.com/spf13/cobra v1.9.1
github.com/spf13/viper v1.19.0
github.com/stretchr/testify v1.10.0
- github.com/superseriousbusiness/activity v1.10.0-gts
+ github.com/superseriousbusiness/activity v1.11.0-gts
github.com/superseriousbusiness/httpsig v1.2.0-SSB
github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8
github.com/tdewolff/minify/v2 v2.21.3
diff --git a/go.sum b/go.sum
index 451d3b1be..c4291c73d 100644
--- a/go.sum
+++ b/go.sum
@@ -521,8 +521,8 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
-github.com/superseriousbusiness/activity v1.10.0-gts h1:uYIHU0/jDpLxj0lA3Jg24lM8p3X/Vb3J7hn3yQJR+C8=
-github.com/superseriousbusiness/activity v1.10.0-gts/go.mod h1:9l74ZCv8zw07vipNMzahq8oQZt2xPaJZ+L+gLicQntQ=
+github.com/superseriousbusiness/activity v1.11.0-gts h1:JD7x8uaKHqWXC5d55KV0n1Mktng+j374v86q5RoO3Ms=
+github.com/superseriousbusiness/activity v1.11.0-gts/go.mod h1:9l74ZCv8zw07vipNMzahq8oQZt2xPaJZ+L+gLicQntQ=
github.com/superseriousbusiness/go-jpeg-image-structure/v2 v2.0.0-20220321154430-d89a106fdabe h1:ksl2oCx/Qo8sNDc3Grb8WGKBM9nkvhCm25uvlT86azE=
github.com/superseriousbusiness/go-jpeg-image-structure/v2 v2.0.0-20220321154430-d89a106fdabe/go.mod h1:gH4P6gN1V+wmIw5o97KGaa1RgXB/tVpC2UNzijhg3E4=
github.com/superseriousbusiness/go-png-image-structure/v2 v2.0.1-SSB h1:8psprYSK1KdOSH7yQ4PbJq0YYaGQY+gzdW/B0ExDb/8=
diff --git a/internal/ap/activitystreams.go b/internal/ap/activitystreams.go
index 50955ce2c..3851d0efb 100644
--- a/internal/ap/activitystreams.go
+++ b/internal/ap/activitystreams.go
@@ -97,6 +97,11 @@ const (
// Not in the AS spec, just used internally to indicate
// that we don't *yet* know what type of Object something is.
ObjectUnknown = "Unknown"
+
+ // Extensions and unofficial additions.
+ ObjectLikeApproval = "LikeApproval"
+ ObjectReplyApproval = "ReplyApproval"
+ ObjectAnnounceApproval = "AnnounceApproval"
)
// isActivity returns whether AS type name is of an Activity (NOT IntransitiveActivity).
diff --git a/internal/ap/interfaces.go b/internal/ap/interfaces.go
index fdd5e4a0b..acc799640 100644
--- a/internal/ap/interfaces.go
+++ b/internal/ap/interfaces.go
@@ -128,16 +128,13 @@ func ToPollOptionable(t vocab.Type) (PollOptionable, bool) {
}
// IsAccept returns whether AS vocab type name
-// is something that can be cast to Accept.
+// is something that can be cast to Acceptable.
func IsAcceptable(typeName string) bool {
return typeName == ActivityAccept
}
-// ToAcceptable safely tries to cast vocab.Type as vocab.ActivityStreamsAccept.
-//
-// TODO: Add additional "Accept" types here, eg., "ApproveReply" from
-// https://codeberg.org/fediverse/fep/src/branch/main/fep/5624/fep-5624.md
-func ToAcceptable(t vocab.Type) (vocab.ActivityStreamsAccept, bool) {
+// ToAcceptable safely tries to cast vocab.Type as Acceptable.
+func ToAcceptable(t vocab.Type) (Acceptable, bool) {
acceptable, ok := t.(vocab.ActivityStreamsAccept)
if !ok || !IsAcceptable(t.GetTypeName()) {
return nil, false
@@ -145,6 +142,28 @@ func ToAcceptable(t vocab.Type) (vocab.ActivityStreamsAccept, bool) {
return acceptable, true
}
+// IsApprovable returns whether AS vocab type name
+// is something that can be cast to Approvable.
+func IsApprovable(typeName string) bool {
+ switch typeName {
+ case ObjectLikeApproval,
+ ObjectReplyApproval,
+ ObjectAnnounceApproval:
+ return true
+ default:
+ return false
+ }
+}
+
+// ToAcceptable safely tries to cast vocab.Type as Approvable.
+func ToApprovable(t vocab.Type) (Approvable, bool) {
+ approvable, ok := t.(Approvable)
+ if !ok || !IsApprovable(t.GetTypeName()) {
+ return nil, false
+ }
+ return approvable, true
+}
+
// Activityable represents the minimum activitypub interface for representing an 'activity'.
// (see: IsActivityable() for types implementing this, though you MUST make sure to check
// the typeName as this bare interface may be implementable by non-Activityable types).
@@ -247,6 +266,19 @@ type PollOptionable interface {
// interface for representing an Accept.
type Acceptable interface {
Activityable
+
+ WithTarget
+ WithResult
+}
+
+// Approvable represents the minimum activitypub interface
+// for a LikeApproval, ReplyApproval, or AnnounceApproval.
+type Approvable interface {
+ vocab.Type
+
+ WithAttributedTo
+ WithObject
+ WithTarget
}
// Attachmentable represents the minimum activitypub interface for representing a 'mediaAttachment'. (see: IsAttachmentable).
@@ -708,3 +740,9 @@ type WithApprovedBy interface {
GetGoToSocialApprovedBy() vocab.GoToSocialApprovedByProperty
SetGoToSocialApprovedBy(vocab.GoToSocialApprovedByProperty)
}
+
+// WithVotersCount represents an activity or object the result property.
+type WithResult interface {
+ GetActivityStreamsResult() vocab.ActivityStreamsResultProperty
+ SetActivityStreamsResult(vocab.ActivityStreamsResultProperty)
+}
diff --git a/internal/ap/resolve.go b/internal/ap/resolve.go
index 76a8809c3..82a242710 100644
--- a/internal/ap/resolve.go
+++ b/internal/ap/resolve.go
@@ -198,48 +198,12 @@ func ResolveCollectionPage(ctx context.Context, body io.ReadCloser) (CollectionP
return ToCollectionPageIterator(t)
}
-// ResolveAcceptable tries to resolve the given reader
-// into an ActivityStreams Acceptable representation.
-func ResolveAcceptable(
- ctx context.Context,
- body io.ReadCloser,
-) (Acceptable, error) {
- // Get "raw" map
- // destination.
- raw := getMap()
- // Release.
- defer putMap(raw)
-
- // Decode data as JSON into 'raw' map
- // and get the resolved AS vocab.Type.
- // (this handles close of given body).
- t, err := decodeType(ctx, body, raw)
- if err != nil {
- return nil, gtserror.SetWrongType(err)
- }
-
- // Attempt to cast as acceptable.
- acceptable, ok := ToAcceptable(t)
- if !ok {
- err := gtserror.Newf("cannot resolve vocab type %T as acceptable", t)
- return nil, gtserror.SetWrongType(err)
- }
-
- return acceptable, nil
-}
-
// emptydest is an empty JSON decode
// destination useful for "noop" decodes
// to check underlying reader is empty.
var emptydest = &struct{}{}
-// decodeType tries to read and parse the data
-// at provided io.ReadCloser as a JSON ActivityPub
-// type, failing if not parseable as JSON or not
-// resolveable as one of our known AS types.
-//
-// NOTE: this function handles closing
-// given body when it is finished with.
+// decodeType is the package-internal version of DecodeType.
//
// The given map pointer will also be populated with
// the 'raw' JSON data, for further processing.
@@ -284,3 +248,23 @@ func decodeType(
return t, nil
}
+
+// DecodeType tries to read and parse the data
+// at provided io.ReadCloser as a JSON ActivityPub
+// type, failing if not parseable as JSON or not
+// resolveable as one of our known AS types.
+//
+// NOTE: this function handles closing
+// given body when it is finished with.
+func DecodeType(
+ ctx context.Context,
+ body io.ReadCloser,
+) (vocab.Type, error) {
+ // Get "raw" map
+ // destination.
+ raw := getMap()
+ // Release.
+ defer putMap(raw)
+
+ return decodeType(ctx, body, raw)
+}
diff --git a/internal/federation/dereferencing/status_permitted.go b/internal/federation/dereferencing/status_permitted.go
index 5d05c5de4..86d391a59 100644
--- a/internal/federation/dereferencing/status_permitted.go
+++ b/internal/federation/dereferencing/status_permitted.go
@@ -119,10 +119,10 @@ func (d *Dereferencer) isPermittedReply(
) (bool, error) {
var (
- replyURI = reply.URI // Definitely set.
- inReplyToURI = reply.InReplyToURI // Definitely set.
- inReplyTo = reply.InReplyTo // Might not be set.
- acceptIRI = reply.ApprovedByURI // Might not be set.
+ replyURI = reply.URI // Definitely set.
+ inReplyToURI = reply.InReplyToURI // Definitely set.
+ inReplyTo = reply.InReplyTo // Might not be set.
+ approvedByURI = reply.ApprovedByURI // Might not be set.
)
// Check if we have a stored interaction request for parent status.
@@ -165,7 +165,7 @@ func (d *Dereferencer) isPermittedReply(
// If it was, and it doesn't now claim to
// be approved, then we should just reject it
// again, as nothing's changed since last time.
- if thisRejected && acceptIRI == "" {
+ if thisRejected && approvedByURI == "" {
// Nothing changed,
// still rejected.
@@ -224,16 +224,17 @@ func (d *Dereferencer) isPermittedReply(
// If this reply claims to be approved,
// validate this by dereferencing the
- // Accept and checking the return value.
+ // approval and checking the return value.
// No further checks are required.
- if acceptIRI != "" {
- return d.isPermittedByAcceptIRI(
+ if approvedByURI != "" {
+ return d.isPermittedByApprovedByIRI(
ctx,
+ gtsmodel.InteractionReply,
requestUser,
reply,
inReplyTo,
thisReq,
- acceptIRI,
+ approvedByURI,
)
}
@@ -269,7 +270,7 @@ func (d *Dereferencer) isPermittedReply(
// Reply is permitted and match was *not* made
// based on inclusion in a followers/following
// collection. Just permit the reply full stop
- // as no approval / accept URI is necessary.
+ // as no explicit approval is necessary.
return true, nil
}
@@ -285,7 +286,7 @@ func (d *Dereferencer) isPermittedReply(
// we can't verify the presence of a remote account
// in one of another remote account's collections.
//
- // It's possible we'll get an Accept from the replied-
+ // It's possible we'll get an approval from the replied-
// to account later, and we can store this reply then.
return false, nil
}
@@ -385,30 +386,36 @@ func (d *Dereferencer) unpermittedByParent(
return nil
}
-// isPermittedByAcceptIRI checks whether the given acceptIRI
-// permits the given reply to the given inReplyTo status.
-// If yes, then thisReq will be updated to reflect the
-// acceptance, if it's not nil.
-func (d *Dereferencer) isPermittedByAcceptIRI(
+// isPermittedByApprovedByIRI checks whether the given URI
+// can be dereferenced, and whether it returns either an
+// Accept activity or an approval object which permits the
+// given reply to the given inReplyTo status.
+//
+// If yes, then thisReq will be updated to
+// reflect the approval, if it's not nil.
+func (d *Dereferencer) isPermittedByApprovedByIRI(
ctx context.Context,
+ interactionType gtsmodel.InteractionType,
requestUser string,
reply *gtsmodel.Status,
inReplyTo *gtsmodel.Status,
thisReq *gtsmodel.InteractionRequest,
- acceptIRI string,
+ approvedByIRI string,
) (bool, error) {
- permitted, err := d.isValidAccept(
+ permitted, err := d.isValidApprovedByIRI(
ctx,
+ interactionType,
requestUser,
- acceptIRI,
- reply.URI,
- inReplyTo.AccountURI,
+ approvedByIRI, // approval iri
+ inReplyTo.AccountURI, // actor
+ reply.URI, // object
+ reply.InReplyToURI, // target
)
if err != nil {
// Error dereferencing means we couldn't
- // get the Accept right now or it wasn't
+ // get the approval right now or it wasn't
// valid, so we shouldn't store this status.
- err := gtserror.Newf("undereferencable ApprovedByURI: %w", err)
+ err := gtserror.Newf("undereferencable approvedByURI: %w", err)
return false, err
}
@@ -418,12 +425,12 @@ func (d *Dereferencer) isPermittedByAcceptIRI(
return false, nil
}
- // Reply is permitted by this Accept.
+ // Reply is permitted by this approval.
// If it was previously rejected or
// pending approval, clear that now.
reply.PendingApproval = util.Ptr(false)
if thisReq != nil {
- thisReq.URI = acceptIRI
+ thisReq.URI = approvedByIRI
thisReq.AcceptedAt = time.Now()
thisReq.RejectedAt = time.Time{}
err := d.state.DB.UpdateInteractionRequest(
@@ -576,7 +583,7 @@ func (d *Dereferencer) isPermittedBoost(
// permitted but matched on a collection.
//
// Check if we can dereference
- // an Accept that grants approval.
+ // an IRI that grants approval.
if status.ApprovedByURI == "" {
// Status doesn't claim to be approved.
@@ -602,18 +609,20 @@ func (d *Dereferencer) isPermittedBoost(
}
// Boost claims to be approved, check
- // this by dereferencing the Accept and
- // inspecting the return value.
- permitted, err := d.isValidAccept(
+ // this by dereferencing the approvedBy
+ // and inspecting the return value.
+ permitted, err := d.isValidApprovedByIRI(
ctx,
+ gtsmodel.InteractionAnnounce,
requestUser,
- status.ApprovedByURI,
- status.URI,
- boostOf.AccountURI,
+ status.ApprovedByURI, // approval uri
+ boostOf.AccountURI, // actor
+ status.URI, // object
+ status.BoostOfURI, // target
)
if err != nil {
// Error dereferencing means we couldn't
- // get the Accept right now or it wasn't
+ // get the approval right now or it wasn't
// valid, so we shouldn't store this status.
err := gtserror.Newf("undereferencable ApprovedByURI: %w", err)
return false, err
@@ -628,34 +637,36 @@ func (d *Dereferencer) isPermittedBoost(
return true, nil
}
-// isValidAccept dereferences the activitystreams Accept at the
-// specified IRI, and checks the Accept for validity against the
-// provided expectedObject and expectedActor.
+// isValidApprovedByIRI dereferences the activitystreams Accept or approval
+// at the specified IRI, and checks the Accept or approval for validity
+// against the provided expectedActor, expectedObject, and expectedTarget.
//
// Will return either (true, nil) if everything looked OK, an error
// if something went wrong internally during deref, or (false, nil)
-// if the dereferenced Accept did not meet expectations.
-func (d *Dereferencer) isValidAccept(
+// if the dereferenced Accept/Approval did not meet expectations.
+func (d *Dereferencer) isValidApprovedByIRI(
ctx context.Context,
+ interactionType gtsmodel.InteractionType,
requestUser string,
- acceptIRIStr string, // Eg., "https://example.org/users/someone/accepts/01J2736AWWJ3411CPR833F6D03"
- expectObjectURIStr string, // Eg., "https://some.instance.example.org/users/someone_else/statuses/01J27414TWV9F7DC39FN8ABB5R"
- expectActorURIStr string, // Eg., "https://example.org/users/someone"
+ approvedByIRIStr string, // approval uri Eg., "https://example.org/users/someone/accepts/01J2736AWWJ3411CPR833F6D03"
+ expectActorURIStr string, // actor Eg., "https://example.org/users/someone"
+ expectObjectURIStr string, // object Eg., "https://some.instance.example.org/users/someone_else/statuses/01J27414TWV9F7DC39FN8ABB5R"
+ expectTargetURIStr string, // target Eg., "https://example.org/users/someone/statuses/01JM4REQTJ1BZ1R4BPYP1W4R9E"
) (bool, error) {
l := log.
WithContext(ctx).
- WithField("acceptIRI", acceptIRIStr)
+ WithField("approvedByIRI", approvedByIRIStr)
- acceptIRI, err := url.Parse(acceptIRIStr)
+ approvedByIRI, err := url.Parse(approvedByIRIStr)
if err != nil {
// Real returnable error.
- err := gtserror.Newf("error parsing acceptIRI: %w", err)
+ err := gtserror.Newf("error parsing approvedByIRI: %w", err)
return false, err
}
- // Don't make calls to the Accept IRI
- // if it's blocked, just return false.
- blocked, err := d.state.DB.IsDomainBlocked(ctx, acceptIRI.Host)
+ // Don't make calls to the IRI if its
+ // domain is blocked, just return false.
+ blocked, err := d.state.DB.IsDomainBlocked(ctx, approvedByIRI.Host)
if err != nil {
// Real returnable error.
err := gtserror.Newf("error checking domain block: %w", err)
@@ -663,7 +674,7 @@ func (d *Dereferencer) isValidAccept(
}
if blocked {
- l.Info("Accept host is blocked")
+ l.Info("approvedByIRI host is blocked")
return false, nil
}
@@ -674,51 +685,52 @@ func (d *Dereferencer) isValidAccept(
return false, err
}
- // Make the call to resolve into an Acceptable.
+ // Make the call to the approvedByURI.
// Log any error encountered here but don't
// return it as it's not *our* error.
- rsp, err := tsport.Dereference(ctx, acceptIRI)
+ rsp, err := tsport.Dereference(ctx, approvedByIRI)
if err != nil {
- l.Errorf("error dereferencing Accept: %v", err)
+ l.Errorf("error dereferencing approvedByIRI: %v", err)
return false, nil
}
- acceptable, err := ap.ResolveAcceptable(ctx, rsp.Body)
+ // Try to parse response as an AP type.
+ t, err := ap.DecodeType(ctx, rsp.Body)
// Tidy up rsp body.
_ = rsp.Body.Close()
if err != nil {
- l.Errorf("error resolving to Accept: %v", err)
+ l.Errorf("error resolving to type: %v", err)
return false, err
}
- // Extract the URI/ID of the Accept.
- acceptID := ap.GetJSONLDId(acceptable)
- acceptIDStr := acceptID.String()
+ // Extract the URI/ID of the type.
+ approvedByID := ap.GetJSONLDId(t)
+ approvedByIDStr := approvedByID.String()
// Check whether input URI and final returned URI
// have changed (i.e. we followed some redirects).
rspURL := rsp.Request.URL
rspURLStr := rspURL.String()
- if rspURLStr != acceptIRIStr {
- // If rspURLStr != acceptIRIStr, make sure final
+ if rspURLStr != approvedByIRIStr {
+ // If rspURLStr != approvedByIRI, make sure final
// response URL is at least on the same host as
// what we expected (ie., we weren't redirected
// across domains), and make sure it's the same
// as the ID of the Accept we were returned.
switch {
- case rspURL.Host != acceptIRI.Host:
+ case rspURL.Host != approvedByIRI.Host:
l.Errorf(
- "final deref host %s did not match acceptIRI host",
+ "final deref host %s did not match approvedByIRI host",
rspURL.Host,
)
return false, nil
- case acceptIDStr != rspURLStr:
+ case approvedByIDStr != rspURLStr:
l.Errorf(
- "final deref uri %s did not match returned Accept ID %s",
- rspURLStr, acceptIDStr,
+ "final deref uri %s did not match returned ID %s",
+ rspURLStr, approvedByIDStr,
)
return false, nil
}
@@ -727,6 +739,52 @@ func (d *Dereferencer) isValidAccept(
// Response is superficially OK,
// check in more detail now.
+ // First try to parse type as Approval stamp.
+ if approvable, ok := ap.ToApprovable(t); ok {
+ return isValidApprovable(
+ ctx,
+ interactionType,
+ approvable,
+ approvedByID,
+ expectActorURIStr, // actor
+ expectObjectURIStr, // object
+ expectTargetURIStr, // target
+ )
+ }
+
+ // Fall back to parsing as a simple Accept.
+ if acceptable, ok := ap.ToAcceptable(t); ok {
+ return isValidAcceptable(
+ ctx,
+ acceptable,
+ approvedByID,
+ expectActorURIStr, // actor
+ expectObjectURIStr, // object
+ expectTargetURIStr, // target
+ )
+ }
+
+ // Type wasn't something we
+ // could do anything with!
+ l.Errorf(
+ "%T at %s not approvable or acceptable",
+ t, approvedByIRIStr,
+ )
+ return false, nil
+}
+
+func isValidAcceptable(
+ ctx context.Context,
+ acceptable ap.Acceptable,
+ acceptID *url.URL,
+ expectActorURIStr string, // actor Eg., "https://example.org/users/someone"
+ expectObjectURIStr string, // object Eg., "https://some.instance.example.org/users/someone_else/statuses/01J27414TWV9F7DC39FN8ABB5R"
+ expectTargetURIStr string, // target Eg., "https://example.org/users/someone/statuses/01JM4REQTJ1BZ1R4BPYP1W4R9E"
+) (bool, error) {
+ l := log.
+ WithContext(ctx).
+ WithField("accept", acceptID.String())
+
// Extract the actor IRI and string from Accept.
actorIRIs := ap.GetActorIRIs(acceptable)
actorIRI, actorIRIStr := extractIRI(actorIRIs)
@@ -775,6 +833,113 @@ func (d *Dereferencer) isValidAccept(
return false, nil
}
+ // If there's a Target set then verify it's
+ // what we expect it to be, ie., it should point
+ // back to the post that's being interacted with.
+ targetIRIs := ap.GetTargetIRIs(acceptable)
+ _, targetIRIStr := extractIRI(targetIRIs)
+ if targetIRIStr != "" && targetIRIStr != expectTargetURIStr {
+ l.Errorf(
+ "resolved Accept target IRI %s was not the same as expected target %s",
+ targetIRIStr, expectTargetURIStr,
+ )
+ return false, nil
+ }
+
+ // Everything looks OK.
+ return true, nil
+}
+
+func isValidApprovable(
+ ctx context.Context,
+ interactionType gtsmodel.InteractionType,
+ approvable ap.Approvable,
+ approvalID *url.URL,
+ expectActorURIStr string, // actor Eg., "https://example.org/users/someone"
+ expectObjectURIStr string, // object Eg., "https://some.instance.example.org/users/someone_else/statuses/01J27414TWV9F7DC39FN8ABB5R"
+ expectTargetURIStr string, // target Eg., "https://example.org/users/someone/statuses/01JM4REQTJ1BZ1R4BPYP1W4R9E"
+) (bool, error) {
+ l := log.
+ WithContext(ctx).
+ WithField("approval", approvalID.String())
+
+ // Check that the type of the Approval
+ // matches the interaction it's approving.
+ switch tn := approvable.GetTypeName(); {
+ case (tn == ap.ObjectLikeApproval && interactionType == gtsmodel.InteractionLike),
+ (tn == ap.ObjectReplyApproval && interactionType == gtsmodel.InteractionReply),
+ (tn == ap.ObjectAnnounceApproval && interactionType == gtsmodel.InteractionAnnounce):
+ // All good baby!
+ default:
+ // There's a mismatch.
+ l.Errorf(
+ "approval type %s cannot approve %s",
+ tn, interactionType.String(),
+ )
+ return false, nil
+ }
+
+ // Extract the actor IRI and string from Approval.
+ actorIRIs := ap.GetAttributedTo(approvable)
+ actorIRI, actorIRIStr := extractIRI(actorIRIs)
+ switch {
+ case actorIRIStr == "":
+ l.Error("Approval missing attributedTo IRI")
+ return false, nil
+
+ // Ensure the Approval actor is on
+ // the instance hosting the Approval.
+ case actorIRI.Host != approvalID.Host:
+ l.Errorf(
+ "actor %s not on the same host as Approval",
+ actorIRIStr,
+ )
+ return false, nil
+
+ // Ensure the Approval actor is who we expect
+ // it to be, and not someone else trying to
+ // do an Approval for an interaction with a
+ // statusable they don't own.
+ case actorIRIStr != expectActorURIStr:
+ l.Errorf(
+ "actor %s was not the same as expected actor %s",
+ actorIRIStr, expectActorURIStr,
+ )
+ return false, nil
+ }
+
+ // Extract the object IRI string from Approval.
+ objectIRIs := ap.GetObjectIRIs(approvable)
+ _, objectIRIStr := extractIRI(objectIRIs)
+ switch {
+ case objectIRIStr == "":
+ l.Error("missing Approval object IRI")
+ return false, nil
+
+ // Ensure the Approval Object is what we expect
+ // it to be, ie., it's approving the interaction
+ // we need it to approve, and not something else.
+ case objectIRIStr != expectObjectURIStr:
+ l.Errorf(
+ "resolved Approval object IRI %s was not the same as expected object %s",
+ objectIRIStr, expectObjectURIStr,
+ )
+ return false, nil
+ }
+
+ // If there's a Target set then verify it's
+ // what we expect it to be, ie., it should point
+ // back to the post that's being interacted with.
+ targetIRIs := ap.GetTargetIRIs(approvable)
+ _, targetIRIStr := extractIRI(targetIRIs)
+ if targetIRIStr != "" && targetIRIStr != expectTargetURIStr {
+ l.Errorf(
+ "resolved Approval target IRI %s was not the same as expected target %s",
+ targetIRIStr, expectTargetURIStr,
+ )
+ return false, nil
+ }
+
// Everything looks OK.
return true, nil
}
diff --git a/internal/federation/federatingdb/accept.go b/internal/federation/federatingdb/accept.go
index 0274fd9d7..09bbde97b 100644
--- a/internal/federation/federatingdb/accept.go
+++ b/internal/federation/federatingdb/accept.go
@@ -20,6 +20,7 @@ package federatingdb
import (
"context"
"errors"
+ "fmt"
"net/url"
"github.com/superseriousbusiness/activity/streams/vocab"
@@ -62,8 +63,8 @@ func (f *federatingDB) Accept(ctx context.Context, accept vocab.ActivityStreamsA
return nil
}
- activityID := ap.GetJSONLDId(accept)
- if activityID == nil {
+ acceptID := ap.GetJSONLDId(accept)
+ if acceptID == nil {
// We need an ID.
const text = "Accept had no id property"
return gtserror.NewErrorBadRequest(errors.New(text), text)
@@ -87,12 +88,11 @@ func (f *federatingDB) Accept(ctx context.Context, accept vocab.ActivityStreamsA
// handling the ones we know how to handle.
for _, object := range ap.ExtractObjects(accept) {
if asType := object.GetType(); asType != nil {
-
// Check and handle any vocab.Type objects.
- switch name := asType.GetTypeName(); name {
+ switch name := asType.GetTypeName(); {
// ACCEPT FOLLOW
- case ap.ActivityFollow:
+ case name == ap.ActivityFollow:
if err := f.acceptFollowType(
ctx,
asType,
@@ -102,6 +102,50 @@ func (f *federatingDB) Accept(ctx context.Context, accept vocab.ActivityStreamsA
return err
}
+ // ACCEPT TYPE-HINTED LIKE
+ //
+ // ie., a Like with just `id`
+ // and `type` properties set.
+ case name == ap.ActivityLike:
+ objIRI := ap.GetJSONLDId(asType)
+ if objIRI == nil {
+ log.Debugf(ctx, "could not retrieve id of inlined Accept object %s", name)
+ continue
+ }
+
+ if err := f.acceptLikeIRI(
+ ctx,
+ acceptID,
+ accept,
+ objIRI.String(),
+ receivingAcct,
+ requestingAcct,
+ ); err != nil {
+ return err
+ }
+
+ // ACCEPT TYPE-HINTED REPLY OR ANNOUNCE.
+ //
+ // ie., a statusable or Announce with
+ // just `id` and `type` properties set.
+ case name == ap.ActivityAnnounce || ap.IsStatusable(name):
+ objIRI := ap.GetJSONLDId(asType)
+ if objIRI == nil {
+ log.Debugf(ctx, "could not retrieve id of inlined Accept object %s", name)
+ continue
+ }
+
+ if err := f.acceptOtherIRI(
+ ctx,
+ acceptID,
+ accept,
+ objIRI,
+ receivingAcct,
+ requestingAcct,
+ ); err != nil {
+ return err
+ }
+
// UNHANDLED
default:
log.Debugf(ctx, "unhandled object type: %s", name)
@@ -127,7 +171,8 @@ func (f *federatingDB) Accept(ctx context.Context, accept vocab.ActivityStreamsA
case uris.IsLikePath(objIRI):
if err := f.acceptLikeIRI(
ctx,
- activityID.String(),
+ acceptID,
+ accept,
objIRI.String(),
receivingAcct,
requestingAcct,
@@ -135,14 +180,15 @@ func (f *federatingDB) Accept(ctx context.Context, accept vocab.ActivityStreamsA
return err
}
- // ACCEPT OTHER (reply? boost?)
+ // ACCEPT OTHER (reply? announce?)
//
// Don't check on IsStatusesPath
// as this may be a remote status.
default:
if err := f.acceptOtherIRI(
ctx,
- activityID,
+ acceptID,
+ accept,
objIRI,
receivingAcct,
requestingAcct,
@@ -292,7 +338,8 @@ func (f *federatingDB) acceptFollowIRI(
func (f *federatingDB) acceptOtherIRI(
ctx context.Context,
- activityID *url.URL,
+ acceptID *url.URL,
+ accept vocab.ActivityStreamsAccept,
objectIRI *url.URL,
receivingAcct *gtsmodel.Account,
requestingAcct *gtsmodel.Account,
@@ -309,7 +356,8 @@ func (f *federatingDB) acceptOtherIRI(
// objectIRI, proceed to accept it.
return f.acceptStoredStatus(
ctx,
- activityID,
+ acceptID,
+ accept,
status,
receivingAcct,
requestingAcct,
@@ -348,13 +396,21 @@ func (f *federatingDB) acceptOtherIRI(
// This may be a reply, or it may be a boost,
// we can't know yet without dereferencing it,
// but let the processor worry about that.
+ //
+ // TODO: do something with type hinting here.
apObjectType := ap.ObjectUnknown
+ // Extract appropriate approvedByURI from the Accept.
+ approvedByURI, err := approvedByURI(acceptID, accept)
+ if err != nil {
+ return gtserror.NewErrorForbidden(err, err.Error())
+ }
+
// Pass to the processor and let them handle side effects.
f.state.Workers.Federator.Queue.Push(&messages.FromFediAPI{
APObjectType: apObjectType,
APActivityType: ap.ActivityAccept,
- APIRI: activityID,
+ APIRI: approvedByURI,
APObject: objectIRI,
Receiving: receivingAcct,
Requesting: requestingAcct,
@@ -365,7 +421,8 @@ func (f *federatingDB) acceptOtherIRI(
func (f *federatingDB) acceptStoredStatus(
ctx context.Context,
- activityID *url.URL,
+ acceptID *url.URL,
+ accept vocab.ActivityStreamsAccept,
status *gtsmodel.Status,
receivingAcct *gtsmodel.Account,
requestingAcct *gtsmodel.Account,
@@ -391,9 +448,15 @@ func (f *federatingDB) acceptStoredStatus(
return gtserror.NewErrorForbidden(errors.New(text), text)
}
- // Mark the status as approved by this Accept URI.
+ // Extract appropriate approvedByURI from the Accept.
+ approvedByURI, err := approvedByURI(acceptID, accept)
+ if err != nil {
+ return gtserror.NewErrorForbidden(err, err.Error())
+ }
+
+ // Mark the status as approved by this URI.
status.PendingApproval = util.Ptr(false)
- status.ApprovedByURI = activityID.String()
+ status.ApprovedByURI = approvedByURI.String()
if err := f.state.DB.UpdateStatus(
ctx,
status,
@@ -428,7 +491,8 @@ func (f *federatingDB) acceptStoredStatus(
func (f *federatingDB) acceptLikeIRI(
ctx context.Context,
- activityID string,
+ acceptID *url.URL,
+ accept vocab.ActivityStreamsAccept,
objectIRI string,
receivingAcct *gtsmodel.Account,
requestingAcct *gtsmodel.Account,
@@ -482,9 +546,15 @@ func (f *federatingDB) acceptLikeIRI(
return gtserror.NewErrorForbidden(errors.New(text), text)
}
- // Mark the fave as approved by this Accept URI.
+ // Extract appropriate approvedByURI from the Accept.
+ approvedByURI, err := approvedByURI(acceptID, accept)
+ if err != nil {
+ return gtserror.NewErrorForbidden(err, err.Error())
+ }
+
+ // Mark the fave as approved by this URI.
fave.PendingApproval = util.Ptr(false)
- fave.ApprovedByURI = activityID
+ fave.ApprovedByURI = approvedByURI.String()
if err := f.state.DB.UpdateStatusFave(
ctx,
fave,
@@ -507,3 +577,72 @@ func (f *federatingDB) acceptLikeIRI(
return nil
}
+
+// approvedByURI extracts the appropriate *url.URL
+// to use as an interaction's approvedBy value by
+// checking to see if the Accept has a result URL set.
+// If that result URL exists, is an IRI (not a type),
+// and is on the same host as the Accept ID, then the
+// result URI will be returned. In all other cases,
+// the Accept ID is returned unchanged.
+//
+// Error is only returned if the result URI is set
+// but the host differs from the Accept ID host.
+//
+// TODO: This function should be updated at some point
+// to check for inlined result type, and see if type is
+// a LikeApproval, ReplyApproval, or AnnounceApproval,
+// and check the attributedTo, object, and target of
+// the approval as well. But this'll do for now.
+func approvedByURI(
+ acceptID *url.URL,
+ accept vocab.ActivityStreamsAccept,
+) (*url.URL, error) {
+ // Check if the Accept has a `result` property
+ // set on it (which should be an approval).
+ resultProp := accept.GetActivityStreamsResult()
+ if resultProp == nil {
+ // No result,
+ // use AcceptID.
+ return acceptID, nil
+ }
+
+ if resultProp.Len() != 1 {
+ // Result was unexpected
+ // length, can't use this.
+ return acceptID, nil
+ }
+
+ result := resultProp.At(0)
+ if result == nil {
+ // Result entry
+ // was nil, huh!
+ return acceptID, nil
+ }
+
+ if !result.IsIRI() {
+ // Can't handle
+ // inlined yet.
+ return acceptID, nil
+ }
+
+ resultIRI := result.GetIRI()
+ if resultIRI == nil {
+ // Result entry
+ // was nil, huh!
+ return acceptID, nil
+ }
+
+ if resultIRI.Host != acceptID.Host {
+ // What the boobs is this?
+ err := fmt.Errorf(
+ "host of result %s differed from host of Accept %s",
+ resultIRI, accept,
+ )
+ return nil, err
+ }
+
+ // Use the result IRI we've been
+ // given instead of the acceptID.
+ return resultIRI, nil
+}
diff --git a/internal/processing/workers/fromfediapi.go b/internal/processing/workers/fromfediapi.go
index cf93a5ec5..ce5b8b5d1 100644
--- a/internal/processing/workers/fromfediapi.go
+++ b/internal/processing/workers/fromfediapi.go
@@ -844,16 +844,16 @@ func (p *fediAPI) AcceptRemoteStatus(ctx context.Context, fMsg *messages.FromFed
return gtserror.Newf("%T not parseable as *url.URL", fMsg.APObject)
}
- acceptIRI := fMsg.APIRI
- if acceptIRI == nil {
- return gtserror.New("acceptIRI was nil")
+ approvedByURI := fMsg.APIRI
+ if approvedByURI == nil {
+ return gtserror.New("approvedByURI was nil")
}
// Assume we're accepting a status; create a
// barebones status for dereferencing purposes.
bareStatus := &gtsmodel.Status{
URI: objectIRI.String(),
- ApprovedByURI: acceptIRI.String(),
+ ApprovedByURI: approvedByURI.String(),
}
// Call RefreshStatus() to process the provided
@@ -872,7 +872,7 @@ func (p *fediAPI) AcceptRemoteStatus(ctx context.Context, fMsg *messages.FromFed
}
// No error means it was indeed a remote status, and the
- // given acceptIRI permitted it. Timeline and notify it.
+ // given approvedByURI permitted it. Timeline and notify it.
if err := p.surface.timelineAndNotifyStatus(ctx, status); err != nil {
log.Errorf(ctx, "error timelining and notifying status: %v", err)
}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_consts.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_consts.go
index 7400b6b15..1e379e25d 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_consts.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_consts.go
@@ -14,6 +14,9 @@ var ActivityStreamsAddName string = "Add"
// ActivityStreamsAnnounceName is the string literal of the name for the Announce type in the ActivityStreams vocabulary.
var ActivityStreamsAnnounceName string = "Announce"
+// GoToSocialAnnounceApprovalName is the string literal of the name for the AnnounceApproval type in the GoToSocial vocabulary.
+var GoToSocialAnnounceApprovalName string = "AnnounceApproval"
+
// ActivityStreamsApplicationName is the string literal of the name for the Application type in the ActivityStreams vocabulary.
var ActivityStreamsApplicationName string = "Application"
@@ -104,6 +107,9 @@ var ActivityStreamsLeaveName string = "Leave"
// ActivityStreamsLikeName is the string literal of the name for the Like type in the ActivityStreams vocabulary.
var ActivityStreamsLikeName string = "Like"
+// GoToSocialLikeApprovalName is the string literal of the name for the LikeApproval type in the GoToSocial vocabulary.
+var GoToSocialLikeApprovalName string = "LikeApproval"
+
// ActivityStreamsLinkName is the string literal of the name for the Link type in the ActivityStreams vocabulary.
var ActivityStreamsLinkName string = "Link"
@@ -167,6 +173,9 @@ var ActivityStreamsRelationshipName string = "Relationship"
// ActivityStreamsRemoveName is the string literal of the name for the Remove type in the ActivityStreams vocabulary.
var ActivityStreamsRemoveName string = "Remove"
+// GoToSocialReplyApprovalName is the string literal of the name for the ReplyApproval type in the GoToSocial vocabulary.
+var GoToSocialReplyApprovalName string = "ReplyApproval"
+
// ActivityStreamsServiceName is the string literal of the name for the Service type in the ActivityStreams vocabulary.
var ActivityStreamsServiceName string = "Service"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_init.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_init.go
index e7d130fea..abb8098b8 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_init.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_init.go
@@ -142,10 +142,13 @@ import (
propertycanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike"
propertycanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply"
propertyinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy"
+ typeannounceapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
typecanannounce "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
typecanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
+ typelikeapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typereplyapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
propertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/property_value"
typepropertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue"
propertyblurhash "github.com/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
@@ -315,10 +318,13 @@ func init() {
propertycanlike.SetManager(mgr)
propertycanreply.SetManager(mgr)
propertyinteractionpolicy.SetManager(mgr)
+ typeannounceapproval.SetManager(mgr)
typecanannounce.SetManager(mgr)
typecanlike.SetManager(mgr)
typecanreply.SetManager(mgr)
typeinteractionpolicy.SetManager(mgr)
+ typelikeapproval.SetManager(mgr)
+ typereplyapproval.SetManager(mgr)
propertyvalue.SetManager(mgr)
typepropertyvalue.SetManager(mgr)
propertyblurhash.SetManager(mgr)
@@ -389,10 +395,13 @@ func init() {
typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeview.SetTypePropertyConstructor(NewJSONLDTypeProperty)
+ typeannounceapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecanannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecanlike.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecanreply.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeinteractionpolicy.SetTypePropertyConstructor(NewJSONLDTypeProperty)
+ typelikeapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty)
+ typereplyapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typepropertyvalue.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typehashtag.SetTypePropertyConstructor(NewJSONLDTypeProperty)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_json_resolver.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_json_resolver.go
index a2d97a563..88a0a0e36 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_json_resolver.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_json_resolver.go
@@ -39,6 +39,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsAnnounce) error:
// Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialAnnounceApproval) error:
+ // Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsApplication) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsArrive) error:
@@ -99,6 +101,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsLike) error:
// Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialLikeApproval) error:
+ // Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsLink) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsListen) error:
@@ -141,6 +145,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsRemove) error:
// Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialReplyApproval) error:
+ // Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsService) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTentativeAccept) error:
@@ -311,6 +317,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
+ } else if typeString == GoToSocialAlias+"AnnounceApproval" {
+ v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap)
+ if err != nil {
+ return err
+ }
+ for _, i := range this.callbacks {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceApproval) error); ok {
+ return fn(ctx, v)
+ }
+ }
+ return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Application" {
v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap)
if err != nil {
@@ -641,6 +658,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
+ } else if typeString == GoToSocialAlias+"LikeApproval" {
+ v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap)
+ if err != nil {
+ return err
+ }
+ for _, i := range this.callbacks {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeApproval) error); ok {
+ return fn(ctx, v)
+ }
+ }
+ return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Link" {
v, err := mgr.DeserializeLinkActivityStreams()(m, aliasMap)
if err != nil {
@@ -872,6 +900,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
+ } else if typeString == GoToSocialAlias+"ReplyApproval" {
+ v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap)
+ if err != nil {
+ return err
+ }
+ for _, i := range this.callbacks {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyApproval) error); ok {
+ return fn(ctx, v)
+ }
+ }
+ return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Service" {
v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap)
if err != nil {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go
index 303a466b8..1e3e05e5a 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go
@@ -142,10 +142,13 @@ import (
propertycanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike"
propertycanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply"
propertyinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy"
+ typeannounceapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
typecanannounce "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
typecanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
+ typelikeapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typereplyapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
propertyid "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_id"
propertytype "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_type"
propertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/property_value"
@@ -289,6 +292,19 @@ func (this Manager) DeserializeAnnounceActivityStreams() func(map[string]interfa
}
}
+// DeserializeAnnounceApprovalGoToSocial returns the deserialization method for
+// the "GoToSocialAnnounceApproval" non-functional property in the vocabulary
+// "GoToSocial"
+func (this Manager) DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAnnounceApproval, error) {
+ i, err := typeannounceapproval.DeserializeAnnounceApproval(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeAnyOfPropertyActivityStreams returns the deserialization method for
// the "ActivityStreamsAnyOfProperty" non-functional property in the
// vocabulary "ActivityStreams"
@@ -1216,6 +1232,19 @@ func (this Manager) DeserializeLikeActivityStreams() func(map[string]interface{}
}
}
+// DeserializeLikeApprovalGoToSocial returns the deserialization method for the
+// "GoToSocialLikeApproval" non-functional property in the vocabulary
+// "GoToSocial"
+func (this Manager) DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialLikeApproval, error) {
+ i, err := typelikeapproval.DeserializeLikeApproval(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeLikedPropertyActivityStreams returns the deserialization method for
// the "ActivityStreamsLikedProperty" non-functional property in the
// vocabulary "ActivityStreams"
@@ -1827,6 +1856,19 @@ func (this Manager) DeserializeRepliesPropertyActivityStreams() func(map[string]
}
}
+// DeserializeReplyApprovalGoToSocial returns the deserialization method for the
+// "GoToSocialReplyApproval" non-functional property in the vocabulary
+// "GoToSocial"
+func (this Manager) DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialReplyApproval, error) {
+ i, err := typereplyapproval.DeserializeReplyApproval(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeResultPropertyActivityStreams returns the deserialization method for
// the "ActivityStreamsResultProperty" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go
index c51884735..fce24ae1f 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go
@@ -3,13 +3,22 @@
package streams
import (
+ typeannounceapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
typecanannounce "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
typecanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
+ typelikeapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typereplyapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
+// GoToSocialAnnounceApprovalIsDisjointWith returns true if AnnounceApproval is
+// disjoint with the other's type.
+func GoToSocialAnnounceApprovalIsDisjointWith(other vocab.Type) bool {
+ return typeannounceapproval.AnnounceApprovalIsDisjointWith(other)
+}
+
// GoToSocialCanAnnounceIsDisjointWith returns true if CanAnnounce is disjoint
// with the other's type.
func GoToSocialCanAnnounceIsDisjointWith(other vocab.Type) bool {
@@ -33,3 +42,15 @@ func GoToSocialCanReplyIsDisjointWith(other vocab.Type) bool {
func GoToSocialInteractionPolicyIsDisjointWith(other vocab.Type) bool {
return typeinteractionpolicy.InteractionPolicyIsDisjointWith(other)
}
+
+// GoToSocialLikeApprovalIsDisjointWith returns true if LikeApproval is disjoint
+// with the other's type.
+func GoToSocialLikeApprovalIsDisjointWith(other vocab.Type) bool {
+ return typelikeapproval.LikeApprovalIsDisjointWith(other)
+}
+
+// GoToSocialReplyApprovalIsDisjointWith returns true if ReplyApproval is disjoint
+// with the other's type.
+func GoToSocialReplyApprovalIsDisjointWith(other vocab.Type) bool {
+ return typereplyapproval.ReplyApprovalIsDisjointWith(other)
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go
index 8b9b416c5..61683c071 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go
@@ -3,13 +3,23 @@
package streams
import (
+ typeannounceapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
typecanannounce "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
typecanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
+ typelikeapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typereplyapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
+// GoToSocialAnnounceApprovalIsExtendedBy returns true if the other's type extends
+// from AnnounceApproval. Note that it returns false if the types are the
+// same; see the "IsOrExtends" variant instead.
+func GoToSocialAnnounceApprovalIsExtendedBy(other vocab.Type) bool {
+ return typeannounceapproval.AnnounceApprovalIsExtendedBy(other)
+}
+
// GoToSocialCanAnnounceIsExtendedBy returns true if the other's type extends from
// CanAnnounce. Note that it returns false if the types are the same; see the
// "IsOrExtends" variant instead.
@@ -37,3 +47,17 @@ func GoToSocialCanReplyIsExtendedBy(other vocab.Type) bool {
func GoToSocialInteractionPolicyIsExtendedBy(other vocab.Type) bool {
return typeinteractionpolicy.InteractionPolicyIsExtendedBy(other)
}
+
+// GoToSocialLikeApprovalIsExtendedBy returns true if the other's type extends
+// from LikeApproval. Note that it returns false if the types are the same;
+// see the "IsOrExtends" variant instead.
+func GoToSocialLikeApprovalIsExtendedBy(other vocab.Type) bool {
+ return typelikeapproval.LikeApprovalIsExtendedBy(other)
+}
+
+// GoToSocialReplyApprovalIsExtendedBy returns true if the other's type extends
+// from ReplyApproval. Note that it returns false if the types are the same;
+// see the "IsOrExtends" variant instead.
+func GoToSocialReplyApprovalIsExtendedBy(other vocab.Type) bool {
+ return typereplyapproval.ReplyApprovalIsExtendedBy(other)
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
index 3359b9df7..80b87ea43 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
@@ -3,13 +3,22 @@
package streams
import (
+ typeannounceapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
typecanannounce "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
typecanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
+ typelikeapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typereplyapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
+// GoToSocialGoToSocialAnnounceApprovalExtends returns true if AnnounceApproval
+// extends from the other's type.
+func GoToSocialGoToSocialAnnounceApprovalExtends(other vocab.Type) bool {
+ return typeannounceapproval.GoToSocialAnnounceApprovalExtends(other)
+}
+
// GoToSocialGoToSocialCanAnnounceExtends returns true if CanAnnounce extends from
// the other's type.
func GoToSocialGoToSocialCanAnnounceExtends(other vocab.Type) bool {
@@ -33,3 +42,15 @@ func GoToSocialGoToSocialCanReplyExtends(other vocab.Type) bool {
func GoToSocialGoToSocialInteractionPolicyExtends(other vocab.Type) bool {
return typeinteractionpolicy.GoToSocialInteractionPolicyExtends(other)
}
+
+// GoToSocialGoToSocialLikeApprovalExtends returns true if LikeApproval extends
+// from the other's type.
+func GoToSocialGoToSocialLikeApprovalExtends(other vocab.Type) bool {
+ return typelikeapproval.GoToSocialLikeApprovalExtends(other)
+}
+
+// GoToSocialGoToSocialReplyApprovalExtends returns true if ReplyApproval extends
+// from the other's type.
+func GoToSocialGoToSocialReplyApprovalExtends(other vocab.Type) bool {
+ return typereplyapproval.GoToSocialReplyApprovalExtends(other)
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go
index e4a7bdb57..1e7876683 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go
@@ -3,13 +3,22 @@
package streams
import (
+ typeannounceapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
typecanannounce "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
typecanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
+ typelikeapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typereplyapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
+// IsOrExtendsGoToSocialAnnounceApproval returns true if the other provided type
+// is the AnnounceApproval type or extends from the AnnounceApproval type.
+func IsOrExtendsGoToSocialAnnounceApproval(other vocab.Type) bool {
+ return typeannounceapproval.IsOrExtendsAnnounceApproval(other)
+}
+
// IsOrExtendsGoToSocialCanAnnounce returns true if the other provided type is the
// CanAnnounce type or extends from the CanAnnounce type.
func IsOrExtendsGoToSocialCanAnnounce(other vocab.Type) bool {
@@ -33,3 +42,15 @@ func IsOrExtendsGoToSocialCanReply(other vocab.Type) bool {
func IsOrExtendsGoToSocialInteractionPolicy(other vocab.Type) bool {
return typeinteractionpolicy.IsOrExtendsInteractionPolicy(other)
}
+
+// IsOrExtendsGoToSocialLikeApproval returns true if the other provided type is
+// the LikeApproval type or extends from the LikeApproval type.
+func IsOrExtendsGoToSocialLikeApproval(other vocab.Type) bool {
+ return typelikeapproval.IsOrExtendsLikeApproval(other)
+}
+
+// IsOrExtendsGoToSocialReplyApproval returns true if the other provided type is
+// the ReplyApproval type or extends from the ReplyApproval type.
+func IsOrExtendsGoToSocialReplyApproval(other vocab.Type) bool {
+ return typereplyapproval.IsOrExtendsReplyApproval(other)
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go
index be31b0a95..b5cb5fc23 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go
@@ -3,13 +3,21 @@
package streams
import (
+ typeannounceapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
typecanannounce "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
typecanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
+ typelikeapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typereplyapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
+// NewGoToSocialAnnounceApproval creates a new GoToSocialAnnounceApproval
+func NewGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return typeannounceapproval.NewGoToSocialAnnounceApproval()
+}
+
// NewGoToSocialCanAnnounce creates a new GoToSocialCanAnnounce
func NewGoToSocialCanAnnounce() vocab.GoToSocialCanAnnounce {
return typecanannounce.NewGoToSocialCanAnnounce()
@@ -29,3 +37,13 @@ func NewGoToSocialCanReply() vocab.GoToSocialCanReply {
func NewGoToSocialInteractionPolicy() vocab.GoToSocialInteractionPolicy {
return typeinteractionpolicy.NewGoToSocialInteractionPolicy()
}
+
+// NewGoToSocialLikeApproval creates a new GoToSocialLikeApproval
+func NewGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return typelikeapproval.NewGoToSocialLikeApproval()
+}
+
+// NewGoToSocialReplyApproval creates a new GoToSocialReplyApproval
+func NewGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return typereplyapproval.NewGoToSocialReplyApproval()
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go
index 42004e57b..173b0ce50 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go
@@ -58,6 +58,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsAnnounce) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.GoToSocialAnnounceApproval) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsApplication) error {
t = i
return nil
@@ -148,6 +151,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsLike) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.GoToSocialLikeApproval) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsLink) error {
t = i
return nil
@@ -211,6 +217,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsRemove) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.GoToSocialReplyApproval) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsService) error {
t = i
return nil
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go
index e69691f92..59bc5ce97 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go
@@ -37,6 +37,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsAnnounce) (bool, error):
// Do nothing, this predicate has a correct signature.
+ case func(context.Context, vocab.GoToSocialAnnounceApproval) (bool, error):
+ // Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsApplication) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsArrive) (bool, error):
@@ -97,6 +99,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsLike) (bool, error):
// Do nothing, this predicate has a correct signature.
+ case func(context.Context, vocab.GoToSocialLikeApproval) (bool, error):
+ // Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsLink) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsListen) (bool, error):
@@ -139,6 +143,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsRemove) (bool, error):
// Do nothing, this predicate has a correct signature.
+ case func(context.Context, vocab.GoToSocialReplyApproval) (bool, error):
+ // Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsService) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsTentativeAccept) (bool, error):
@@ -220,6 +226,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "AnnounceApproval" {
+ if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialAnnounceApproval) (bool, error)); ok {
+ if v, ok := o.(vocab.GoToSocialAnnounceApproval); ok {
+ predicatePasses, err = fn(ctx, v)
+ } else {
+ // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
+ return false, errCannotTypeAssertType
+ }
+ } else {
+ return false, ErrPredicateUnmatched
+ }
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Application" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsApplication) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsApplication); ok {
@@ -550,6 +567,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "LikeApproval" {
+ if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialLikeApproval) (bool, error)); ok {
+ if v, ok := o.(vocab.GoToSocialLikeApproval); ok {
+ predicatePasses, err = fn(ctx, v)
+ } else {
+ // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
+ return false, errCannotTypeAssertType
+ }
+ } else {
+ return false, ErrPredicateUnmatched
+ }
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Link" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsLink) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsLink); ok {
@@ -781,6 +809,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "ReplyApproval" {
+ if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialReplyApproval) (bool, error)); ok {
+ if v, ok := o.(vocab.GoToSocialReplyApproval); ok {
+ predicatePasses, err = fn(ctx, v)
+ } else {
+ // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
+ return false, errCannotTypeAssertType
+ }
+ } else {
+ return false, ErrPredicateUnmatched
+ }
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Service" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsService) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsService); ok {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_type_resolver.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_type_resolver.go
index 336d99f66..04ef8a95d 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_type_resolver.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_type_resolver.go
@@ -36,6 +36,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsAnnounce) error:
// Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialAnnounceApproval) error:
+ // Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsApplication) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsArrive) error:
@@ -96,6 +98,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsLike) error:
// Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialLikeApproval) error:
+ // Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsLink) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsListen) error:
@@ -138,6 +142,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsRemove) error:
// Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialReplyApproval) error:
+ // Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsService) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTentativeAccept) error:
@@ -207,6 +213,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "AnnounceApproval" {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceApproval) error); ok {
+ if v, ok := o.(vocab.GoToSocialAnnounceApproval); ok {
+ return fn(ctx, v)
+ } else {
+ // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
+ return errCannotTypeAssertType
+ }
+ }
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Application" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsApplication) error); ok {
if v, ok := o.(vocab.ActivityStreamsApplication); ok {
@@ -477,6 +492,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "LikeApproval" {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeApproval) error); ok {
+ if v, ok := o.(vocab.GoToSocialLikeApproval); ok {
+ return fn(ctx, v)
+ } else {
+ // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
+ return errCannotTypeAssertType
+ }
+ }
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Link" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsLink) error); ok {
if v, ok := o.(vocab.ActivityStreamsLink); ok {
@@ -666,6 +690,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "ReplyApproval" {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyApproval) error); ok {
+ if v, ok := o.(vocab.GoToSocialReplyApproval); ok {
+ return fn(ctx, v)
+ } else {
+ // This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
+ return errCannotTypeAssertType
+ }
+ }
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Service" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsService) error); ok {
if v, ok := o.(vocab.ActivityStreamsService); ok {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go
index 6e5d62e32..92880d826 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go
index a90953fc1..edd9ed13d 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go
@@ -20,6 +20,7 @@ type ActivityStreamsActorPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsActorPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsActorPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsActorPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsActorPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsActorPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsActorPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsActorPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsActorPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsActorPropertyIterator) GetActivityStreamsView() vocab.
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsActorPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsActorPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsActorPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsActorPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsActorPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsActorPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsActorPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsActorPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsActorPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsActorPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsActorPropertyIterator) SetActivityStreamsView(v vocab
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsActorPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsActorPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsActorPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsActorPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3513,6 +3651,42 @@ func (this *ActivityStreamsActorProperty) AppendActivityStreamsView(v vocab.Acti
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "actor". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsActorProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "actor". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsActorProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "actor". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsActorProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "actor"
func (this *ActivityStreamsActorProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
@@ -4531,6 +4705,57 @@ func (this *ActivityStreamsActorProperty) InsertActivityStreamsView(idx int, v v
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "actor". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "actor". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "actor".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4702,210 +4927,222 @@ func (this ActivityStreamsActorProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5706,6 +5943,48 @@ func (this *ActivityStreamsActorProperty) PrependActivityStreamsView(v vocab.Act
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "actor". Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsActorPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "actor". Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsActorPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "actor". Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsActorPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "actor".
func (this *ActivityStreamsActorProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsActorPropertyIterator{{
@@ -6529,6 +6808,45 @@ func (this *ActivityStreamsActorProperty) SetActivityStreamsView(idx int, v voca
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "actor". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "actor". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "actor".
// Panics if the index is out of bounds.
func (this *ActivityStreamsActorProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go
index b9d35ab01..5c30350de 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go
index 2db157c2a..02f7718b4 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go
@@ -20,6 +20,7 @@ type ActivityStreamsAnyOfPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsAnyOfPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsAnyOfPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAnyOfPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAnyOfPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAnyOfPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAnyOfPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAnyOfPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAnyOfPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetActivityStreamsView() vocab.
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsAnyOfPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsAnyOfPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsAnyOfPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetActivityStreamsView(v vocab
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsAnyOfPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3513,6 +3651,42 @@ func (this *ActivityStreamsAnyOfProperty) AppendActivityStreamsView(v vocab.Acti
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "anyOf". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "anyOf". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "anyOf". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "anyOf"
func (this *ActivityStreamsAnyOfProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
@@ -4531,6 +4705,57 @@ func (this *ActivityStreamsAnyOfProperty) InsertActivityStreamsView(idx int, v v
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "anyOf". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "anyOf". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "anyOf".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4702,210 +4927,222 @@ func (this ActivityStreamsAnyOfProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5706,6 +5943,48 @@ func (this *ActivityStreamsAnyOfProperty) PrependActivityStreamsView(v vocab.Act
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "anyOf". Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "anyOf". Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "anyOf". Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "anyOf".
func (this *ActivityStreamsAnyOfProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
@@ -6529,6 +6808,45 @@ func (this *ActivityStreamsAnyOfProperty) SetActivityStreamsView(idx int, v voca
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "anyOf". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "anyOf". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "anyOf".
// Panics if the index is out of bounds.
func (this *ActivityStreamsAnyOfProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go
index 6d6692266..bebfcbc2e 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go
index ad907f08f..1bad67530 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go
@@ -20,6 +20,7 @@ type ActivityStreamsAttachmentPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsAttachmentPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsAttachmentPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttachmentPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttachmentPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttachmentPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttachmentPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttachmentPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttachmentPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetActivityStreamsView() v
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsAttachmentPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsActivityStreamsView() bo
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsAttachmentPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsAttachmentPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetActivityStreamsView(v
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsAttachmentPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3522,6 +3660,42 @@ func (this *ActivityStreamsAttachmentProperty) AppendActivityStreamsView(v vocab
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "attachment". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "attachment". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "attachment". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "attachment"
func (this *ActivityStreamsAttachmentProperty) AppendIRI(v *url.URL) {
@@ -4543,6 +4717,57 @@ func (this *ActivityStreamsAttachmentProperty) InsertActivityStreamsView(idx int
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "attachment". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "attachment". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "attachment".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4714,210 +4939,222 @@ func (this ActivityStreamsAttachmentProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5718,6 +5955,48 @@ func (this *ActivityStreamsAttachmentProperty) PrependActivityStreamsView(v voca
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "attachment". Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "attachment". Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "attachment". Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "attachment".
func (this *ActivityStreamsAttachmentProperty) PrependIRI(v *url.URL) {
@@ -6542,6 +6821,45 @@ func (this *ActivityStreamsAttachmentProperty) SetActivityStreamsView(idx int, v
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "attachment". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "attachment". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "attachment". Panics if the index is out of bounds.
func (this *ActivityStreamsAttachmentProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go
index 0c287aa3c..8c7704318 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go
index 90d6c37b4..a424d6e02 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go
@@ -20,6 +20,7 @@ type ActivityStreamsAttributedToPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsAttributedToPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsAttributedToPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttributedToPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttributedToPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttributedToPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttributedToPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttributedToPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttributedToPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetActivityStreamsView()
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsAttributedToPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsActivityStreamsView()
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsAttributedToPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsAttributedToPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetActivityStreamsView(
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsAttributedToPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3558,6 +3696,42 @@ func (this *ActivityStreamsAttributedToProperty) AppendActivityStreamsView(v voc
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "attributedTo". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "attributedTo". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "attributedTo". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "attributedTo"
func (this *ActivityStreamsAttributedToProperty) AppendIRI(v *url.URL) {
@@ -4580,6 +4754,57 @@ func (this *ActivityStreamsAttributedToProperty) InsertActivityStreamsView(idx i
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "attributedTo". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "attributedTo". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property
// "attributedTo". Existing elements at that index and higher are shifted back
// once. Invalidates all iterators.
@@ -4751,210 +4976,222 @@ func (this ActivityStreamsAttributedToProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5756,6 +5993,48 @@ func (this *ActivityStreamsAttributedToProperty) PrependActivityStreamsView(v vo
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "attributedTo". Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "attributedTo". Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "attributedTo". Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "attributedTo".
func (this *ActivityStreamsAttributedToProperty) PrependIRI(v *url.URL) {
@@ -6580,6 +6859,45 @@ func (this *ActivityStreamsAttributedToProperty) SetActivityStreamsView(idx int,
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "attributedTo". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "attributedTo". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "attributedTo". Panics if the index is out of bounds.
func (this *ActivityStreamsAttributedToProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go
index ea21de001..a6f746915 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go
index 5513ef5bc..205ed5454 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go
@@ -20,6 +20,7 @@ type ActivityStreamsAudiencePropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsAudiencePropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsAudiencePropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAudiencePropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAudiencePropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAudiencePropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAudiencePropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAudiencePropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAudiencePropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsAudiencePropertyIterator) GetActivityStreamsView() voc
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsAudiencePropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsAudiencePropertyIterator) IsActivityStreamsView() bool
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsAudiencePropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsAudiencePropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetActivityStreamsView(v vo
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsAudiencePropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3522,6 +3660,42 @@ func (this *ActivityStreamsAudienceProperty) AppendActivityStreamsView(v vocab.A
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "audience". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAudienceProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "audience". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsAudienceProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "audience". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsAudienceProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "audience"
func (this *ActivityStreamsAudienceProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
@@ -4541,6 +4715,57 @@ func (this *ActivityStreamsAudienceProperty) InsertActivityStreamsView(idx int,
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "audience". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "audience". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "audience".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4712,210 +4937,222 @@ func (this ActivityStreamsAudienceProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5716,6 +5953,48 @@ func (this *ActivityStreamsAudienceProperty) PrependActivityStreamsView(v vocab.
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "audience". Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "audience". Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "audience". Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "audience".
func (this *ActivityStreamsAudienceProperty) PrependIRI(v *url.URL) {
@@ -6540,6 +6819,45 @@ func (this *ActivityStreamsAudienceProperty) SetActivityStreamsView(idx int, v v
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "audience". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "audience". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "audience". Panics if the index is out of bounds.
func (this *ActivityStreamsAudienceProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go
index 53edf0919..106cd8d4f 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go
index 483cf8888..3781758cf 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go
@@ -20,6 +20,7 @@ type ActivityStreamsBccPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsBccPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsBccPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -140,6 +143,12 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBccPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBccPropertyIterator{
activitystreamsApplicationMember: v,
@@ -290,6 +299,12 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBccPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBccPropertyIterator{
activitystreamsListenMember: v,
@@ -398,6 +413,12 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBccPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBccPropertyIterator{
activitystreamsServiceMember: v,
@@ -839,6 +860,27 @@ func (this ActivityStreamsBccPropertyIterator) GetActivityStreamsView() vocab.Ac
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsBccPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsBccPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsBccPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsBccPropertyIterator) GetIRI() *url.URL {
@@ -892,6 +934,9 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -967,6 +1012,9 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1021,6 +1069,9 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1060,6 +1111,7 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1085,6 +1137,7 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1103,6 +1156,7 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1498,6 +1552,27 @@ func (this ActivityStreamsBccPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsBccPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsBccPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsBccPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsBccPropertyIterator) IsIRI() bool {
@@ -1549,6 +1624,8 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1599,6 +1676,8 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1635,6 +1714,8 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1687,162 +1768,171 @@ func (this ActivityStreamsBccPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1872,6 +1962,8 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1922,6 +2014,8 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1958,6 +2052,8 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2387,6 +2483,27 @@ func (this *ActivityStreamsBccPropertyIterator) SetActivityStreamsView(v vocab.A
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsBccPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2448,6 +2565,10 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2548,6 +2669,10 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2620,6 +2745,10 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2669,6 +2798,7 @@ func (this *ActivityStreamsBccPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2694,6 +2824,7 @@ func (this *ActivityStreamsBccPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2712,6 +2843,7 @@ func (this *ActivityStreamsBccPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2742,6 +2874,8 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2792,6 +2926,8 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2828,6 +2964,8 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3511,6 +3649,41 @@ func (this *ActivityStreamsBccProperty) AppendActivityStreamsView(v vocab.Activi
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "bcc". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsBccProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "bcc". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "bcc". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsBccProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "bcc"
func (this *ActivityStreamsBccProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
@@ -4528,6 +4701,57 @@ func (this *ActivityStreamsBccProperty) InsertActivityStreamsView(idx int, v voc
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "bcc". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "bcc". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "bcc".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4699,210 +4923,222 @@ func (this ActivityStreamsBccProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5703,6 +5939,48 @@ func (this *ActivityStreamsBccProperty) PrependActivityStreamsView(v vocab.Activ
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "bcc". Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsBccPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "bcc". Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsBccPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "bcc". Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsBccPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "bcc".
func (this *ActivityStreamsBccProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsBccPropertyIterator{{
@@ -6526,6 +6804,45 @@ func (this *ActivityStreamsBccProperty) SetActivityStreamsView(idx int, v vocab.
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "bcc". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "bcc". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "bcc".
// Panics if the index is out of bounds.
func (this *ActivityStreamsBccProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go
index 10335c308..7ace4f2ec 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go
index fe6655df0..4112b8b8b 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go
@@ -20,6 +20,7 @@ type ActivityStreamsBtoPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsBtoPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsBtoPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -140,6 +143,12 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBtoPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBtoPropertyIterator{
activitystreamsApplicationMember: v,
@@ -290,6 +299,12 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBtoPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBtoPropertyIterator{
activitystreamsListenMember: v,
@@ -398,6 +413,12 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBtoPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBtoPropertyIterator{
activitystreamsServiceMember: v,
@@ -839,6 +860,27 @@ func (this ActivityStreamsBtoPropertyIterator) GetActivityStreamsView() vocab.Ac
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsBtoPropertyIterator) GetIRI() *url.URL {
@@ -892,6 +934,9 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -967,6 +1012,9 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1021,6 +1069,9 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1060,6 +1111,7 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1085,6 +1137,7 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1103,6 +1156,7 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1498,6 +1552,27 @@ func (this ActivityStreamsBtoPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsBtoPropertyIterator) IsIRI() bool {
@@ -1549,6 +1624,8 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1599,6 +1676,8 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1635,6 +1714,8 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1687,162 +1768,171 @@ func (this ActivityStreamsBtoPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1872,6 +1962,8 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1922,6 +2014,8 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1958,6 +2052,8 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2387,6 +2483,27 @@ func (this *ActivityStreamsBtoPropertyIterator) SetActivityStreamsView(v vocab.A
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsBtoPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2448,6 +2565,10 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2548,6 +2669,10 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2620,6 +2745,10 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2669,6 +2798,7 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2694,6 +2824,7 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2712,6 +2843,7 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2742,6 +2874,8 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2792,6 +2926,8 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2828,6 +2964,8 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3511,6 +3649,41 @@ func (this *ActivityStreamsBtoProperty) AppendActivityStreamsView(v vocab.Activi
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "bto". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsBtoProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "bto". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "bto". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsBtoProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "bto"
func (this *ActivityStreamsBtoProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
@@ -4528,6 +4701,57 @@ func (this *ActivityStreamsBtoProperty) InsertActivityStreamsView(idx int, v voc
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "bto". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "bto". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "bto".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4699,210 +4923,222 @@ func (this ActivityStreamsBtoProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5703,6 +5939,48 @@ func (this *ActivityStreamsBtoProperty) PrependActivityStreamsView(v vocab.Activ
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "bto". Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "bto". Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "bto". Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "bto".
func (this *ActivityStreamsBtoProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
@@ -6526,6 +6804,45 @@ func (this *ActivityStreamsBtoProperty) SetActivityStreamsView(idx int, v vocab.
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "bto". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "bto". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "bto".
// Panics if the index is out of bounds.
func (this *ActivityStreamsBtoProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go
index d53422a00..bd855cf50 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go
index 0b1801139..2e99468ee 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go
@@ -20,6 +20,7 @@ type ActivityStreamsCcPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsCcPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsCcPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -140,6 +143,12 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsCcPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsCcPropertyIterator{
activitystreamsApplicationMember: v,
@@ -290,6 +299,12 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsCcPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsCcPropertyIterator{
activitystreamsListenMember: v,
@@ -398,6 +413,12 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsCcPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsCcPropertyIterator{
activitystreamsServiceMember: v,
@@ -839,6 +860,27 @@ func (this ActivityStreamsCcPropertyIterator) GetActivityStreamsView() vocab.Act
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsCcPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsCcPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsCcPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsCcPropertyIterator) GetIRI() *url.URL {
@@ -892,6 +934,9 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -967,6 +1012,9 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1021,6 +1069,9 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1060,6 +1111,7 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1085,6 +1137,7 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1103,6 +1156,7 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1498,6 +1552,27 @@ func (this ActivityStreamsCcPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsCcPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsCcPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsCcPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsCcPropertyIterator) IsIRI() bool {
@@ -1549,6 +1624,8 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1599,6 +1676,8 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1635,6 +1714,8 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1687,162 +1768,171 @@ func (this ActivityStreamsCcPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1872,6 +1962,8 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1922,6 +2014,8 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1958,6 +2052,8 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2387,6 +2483,27 @@ func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsView(v vocab.Ac
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsCcPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2448,6 +2565,10 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2548,6 +2669,10 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2620,6 +2745,10 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2669,6 +2798,7 @@ func (this *ActivityStreamsCcPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2694,6 +2824,7 @@ func (this *ActivityStreamsCcPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2712,6 +2843,7 @@ func (this *ActivityStreamsCcPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2742,6 +2874,8 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2792,6 +2926,8 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2828,6 +2964,8 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3511,6 +3649,41 @@ func (this *ActivityStreamsCcProperty) AppendActivityStreamsView(v vocab.Activit
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "cc". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsCcProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "cc". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "cc". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsCcProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "cc"
func (this *ActivityStreamsCcProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
@@ -4528,6 +4701,57 @@ func (this *ActivityStreamsCcProperty) InsertActivityStreamsView(idx int, v voca
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "cc". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "cc". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "cc".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4699,210 +4923,222 @@ func (this ActivityStreamsCcProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5703,6 +5939,48 @@ func (this *ActivityStreamsCcProperty) PrependActivityStreamsView(v vocab.Activi
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "cc". Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsCcPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "cc". Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsCcPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "cc". Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsCcPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "cc".
func (this *ActivityStreamsCcProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsCcPropertyIterator{{
@@ -6526,6 +6804,45 @@ func (this *ActivityStreamsCcProperty) SetActivityStreamsView(idx int, v vocab.A
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "cc". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "cc". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "cc".
// Panics if the index is out of bounds.
func (this *ActivityStreamsCcProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go
index 3bc070d5e..2987eeef3 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go
index b0d9c0bef..d54f9aeb1 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go
@@ -27,6 +27,7 @@ type ActivityStreamsClosedPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -52,6 +53,7 @@ type ActivityStreamsClosedPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -70,6 +72,7 @@ type ActivityStreamsClosedPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -148,6 +151,12 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsClosedPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsClosedPropertyIterator{
activitystreamsApplicationMember: v,
@@ -298,6 +307,12 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsClosedPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsClosedPropertyIterator{
activitystreamsListenMember: v,
@@ -406,6 +421,12 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsClosedPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsClosedPropertyIterator{
activitystreamsServiceMember: v,
@@ -862,6 +883,27 @@ func (this ActivityStreamsClosedPropertyIterator) GetActivityStreamsView() vocab
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsClosedPropertyIterator) GetIRI() *url.URL {
@@ -915,6 +957,9 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -990,6 +1035,9 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1044,6 +1092,9 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1098,6 +1149,7 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1123,6 +1175,7 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1141,6 +1194,7 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1536,6 +1590,27 @@ func (this ActivityStreamsClosedPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsClosedPropertyIterator) IsIRI() bool {
@@ -1601,6 +1676,8 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1651,6 +1728,8 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1687,6 +1766,8 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1745,162 +1826,171 @@ func (this ActivityStreamsClosedPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 10
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 11
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 12
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 13
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 14
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 15
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 16
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 17
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 18
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 19
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 20
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 21
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 22
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 23
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 24
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 25
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 26
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 27
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 28
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 29
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 30
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 31
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 32
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 33
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 34
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 35
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 36
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 37
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 38
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 39
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 40
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 41
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 42
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 43
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 44
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 45
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 46
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 47
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 48
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 49
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 50
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 51
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 52
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 53
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 54
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 55
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 56
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 57
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 58
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 59
}
+ if this.IsActivityStreamsUpdate() {
+ return 60
+ }
+ if this.IsActivityStreamsVideo() {
+ return 61
+ }
+ if this.IsActivityStreamsView() {
+ return 62
+ }
if this.IsIRI() {
return -2
}
@@ -1934,6 +2024,8 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1984,6 +2076,8 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2020,6 +2114,8 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2449,6 +2545,27 @@ func (this *ActivityStreamsClosedPropertyIterator) SetActivityStreamsView(v voca
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsClosedPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2510,6 +2627,10 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2610,6 +2731,10 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2682,6 +2807,10 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2749,6 +2878,7 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2774,6 +2904,7 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2792,6 +2923,7 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2826,6 +2958,8 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2876,6 +3010,8 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2912,6 +3048,8 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3596,6 +3734,42 @@ func (this *ActivityStreamsClosedProperty) AppendActivityStreamsView(v vocab.Act
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "closed". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsClosedProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "closed". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsClosedProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "closed". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsClosedProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "closed"
func (this *ActivityStreamsClosedProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
@@ -4638,6 +4812,57 @@ func (this *ActivityStreamsClosedProperty) InsertActivityStreamsView(idx int, v
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "closed". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "closed". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "closed".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4853,210 +5078,222 @@ func (this ActivityStreamsClosedProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 34 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 53 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5857,6 +6094,48 @@ func (this *ActivityStreamsClosedProperty) PrependActivityStreamsView(v vocab.Ac
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "closed". Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsClosedPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "closed". Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsClosedPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "closed". Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsClosedPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "closed".
func (this *ActivityStreamsClosedProperty) PrependIRI(v *url.URL) {
@@ -6711,6 +6990,45 @@ func (this *ActivityStreamsClosedProperty) SetActivityStreamsView(idx int, v voc
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "closed". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "closed". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "closed". Panics if the index is out of bounds.
func (this *ActivityStreamsClosedProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go
index 485c1e69c..a21e07fcd 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go
index 10b1ca935..db6e61a52 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go
@@ -20,6 +20,7 @@ type ActivityStreamsContextPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsContextPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsContextPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsContextPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsContextPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsContextPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsContextPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsContextPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsContextPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsContextPropertyIterator) GetActivityStreamsView() voca
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsContextPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsContextPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsContextPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsContextPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsContextPropertyIterator) IsActivityStreamsView() bool
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsContextPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsContextPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsContextPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsContextPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsContextPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsContextPropertyIterator) SetActivityStreamsView(v voc
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsContextPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsContextPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsContextPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsContextPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3522,6 +3660,42 @@ func (this *ActivityStreamsContextProperty) AppendActivityStreamsView(v vocab.Ac
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "context". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsContextProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "context". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsContextProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "context". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsContextProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "context"
func (this *ActivityStreamsContextProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
@@ -4541,6 +4715,57 @@ func (this *ActivityStreamsContextProperty) InsertActivityStreamsView(idx int, v
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "context". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "context". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "context".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4712,210 +4937,222 @@ func (this ActivityStreamsContextProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5716,6 +5953,48 @@ func (this *ActivityStreamsContextProperty) PrependActivityStreamsView(v vocab.A
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "context". Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsContextPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "context". Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsContextPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "context". Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsContextPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "context".
func (this *ActivityStreamsContextProperty) PrependIRI(v *url.URL) {
@@ -6540,6 +6819,45 @@ func (this *ActivityStreamsContextProperty) SetActivityStreamsView(idx int, v vo
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "context". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "context". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "context". Panics if the index is out of bounds.
func (this *ActivityStreamsContextProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go
index bed40ca0e..48047d52f 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -120,6 +124,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeListenActivityStreams returns the deserialization method for
// the "ActivityStreamsListen" non-functional property in the
// vocabulary "ActivityStreams"
@@ -193,6 +201,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go
index 3d6633cc3..9e1ec3d04 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go
@@ -19,6 +19,7 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -43,6 +44,7 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMoveMember vocab.ActivityStreamsMove
activitystreamsNoteMember vocab.ActivityStreamsNote
@@ -60,6 +62,7 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -132,6 +135,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsDescribesProperty{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsApplicationMember: v,
@@ -276,6 +285,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsDescribesProperty{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsListenMember: v,
@@ -378,6 +393,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsDescribesProperty{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsServiceMember: v,
@@ -456,6 +477,7 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -480,6 +502,7 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMoveMember = nil
this.activitystreamsNoteMember = nil
@@ -497,6 +520,7 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -874,6 +898,27 @@ func (this ActivityStreamsDescribesProperty) GetActivityStreamsView() vocab.Acti
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL {
@@ -918,6 +963,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -990,6 +1038,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1041,6 +1092,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1079,6 +1133,7 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1103,6 +1158,7 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMove() ||
this.IsActivityStreamsNote() ||
@@ -1120,6 +1176,7 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1501,6 +1558,27 @@ func (this ActivityStreamsDescribesProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsDescribesProperty) IsIRI() bool {
@@ -1543,6 +1621,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1591,6 +1671,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMove() {
@@ -1625,6 +1707,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1674,156 +1758,165 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 4
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 5
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 6
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 7
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 8
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 9
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 10
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 11
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 12
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 13
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 14
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 15
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 16
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 17
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 18
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 19
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 20
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 21
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 22
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 23
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 24
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 25
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 26
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 27
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 28
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 29
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeApproval() {
return 30
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsListen() {
return 31
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 32
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 33
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 34
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 35
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 36
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 37
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 38
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 39
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 40
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 41
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 42
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 43
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 44
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 45
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 46
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 47
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 48
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 49
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 50
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 51
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 52
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 53
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 54
}
+ if this.IsActivityStreamsUpdate() {
+ return 55
+ }
+ if this.IsActivityStreamsVideo() {
+ return 56
+ }
+ if this.IsActivityStreamsView() {
+ return 57
+ }
if this.IsIRI() {
return -2
}
@@ -1851,6 +1944,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1899,6 +1994,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMove() {
@@ -1933,6 +2030,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1981,6 +2080,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2029,6 +2130,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMove() {
@@ -2063,6 +2166,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2451,6 +2556,27 @@ func (this *ActivityStreamsDescribesProperty) SetActivityStreamsView(v vocab.Act
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.Clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.Clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.Clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) {
this.Clear()
@@ -2501,6 +2627,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2597,6 +2727,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2665,6 +2799,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go
index 4850cc0aa..cfb8808bb 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -120,6 +124,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeListenActivityStreams returns the deserialization method for
// the "ActivityStreamsListen" non-functional property in the
// vocabulary "ActivityStreams"
@@ -193,6 +201,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go
index dce204fc4..ae9a55058 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go
@@ -22,6 +22,7 @@ type ActivityStreamsFormerTypePropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -46,6 +47,7 @@ type ActivityStreamsFormerTypePropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMoveMember vocab.ActivityStreamsMove
activitystreamsNoteMember vocab.ActivityStreamsNote
@@ -63,6 +65,7 @@ type ActivityStreamsFormerTypePropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -135,6 +138,12 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsFormerTypePropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsFormerTypePropertyIterator{
activitystreamsApplicationMember: v,
@@ -279,6 +288,12 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsFormerTypePropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsFormerTypePropertyIterator{
activitystreamsListenMember: v,
@@ -381,6 +396,12 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsFormerTypePropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsFormerTypePropertyIterator{
activitystreamsServiceMember: v,
@@ -816,6 +837,27 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetActivityStreamsView() v
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsFormerTypePropertyIterator) GetIRI() *url.URL {
@@ -860,6 +902,9 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -932,6 +977,9 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -983,6 +1031,9 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1028,6 +1079,7 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1052,6 +1104,7 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMove() ||
this.IsActivityStreamsNote() ||
@@ -1069,6 +1122,7 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1450,6 +1504,27 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsActivityStreamsView() bo
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsFormerTypePropertyIterator) IsIRI() bool {
@@ -1499,6 +1574,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1547,6 +1624,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMove() {
@@ -1581,6 +1660,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1633,156 +1714,165 @@ func (this ActivityStreamsFormerTypePropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 23
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 24
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 25
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 26
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 27
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 28
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 29
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 30
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeApproval() {
return 31
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsListen() {
return 32
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 33
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 34
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 35
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 36
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 37
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 38
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 39
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 40
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 41
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 42
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 43
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 44
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 45
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 46
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 47
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 48
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 49
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 50
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 51
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 52
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 53
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 54
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 55
}
+ if this.IsActivityStreamsUpdate() {
+ return 56
+ }
+ if this.IsActivityStreamsVideo() {
+ return 57
+ }
+ if this.IsActivityStreamsView() {
+ return 58
+ }
if this.IsIRI() {
return -2
}
@@ -1812,6 +1902,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1860,6 +1952,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMove() {
@@ -1894,6 +1988,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2309,6 +2405,27 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetActivityStreamsView(v
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsFormerTypePropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2359,6 +2476,10 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2455,6 +2576,10 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2523,6 +2648,10 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2580,6 +2709,7 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2604,6 +2734,7 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMoveMember = nil
this.activitystreamsNoteMember = nil
@@ -2621,6 +2752,7 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2651,6 +2783,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{},
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2699,6 +2833,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{},
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMove() {
@@ -2733,6 +2869,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{},
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3403,6 +3541,42 @@ func (this *ActivityStreamsFormerTypeProperty) AppendActivityStreamsView(v vocab
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "formerType". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "formerType". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "formerType". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "formerType"
func (this *ActivityStreamsFormerTypeProperty) AppendIRI(v *url.URL) {
@@ -4391,6 +4565,57 @@ func (this *ActivityStreamsFormerTypeProperty) InsertActivityStreamsView(idx int
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "formerType". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "formerType". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "formerType".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4563,202 +4788,214 @@ func (this ActivityStreamsFormerTypeProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5531,6 +5768,48 @@ func (this *ActivityStreamsFormerTypeProperty) PrependActivityStreamsView(v voca
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "formerType". Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "formerType". Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "formerType". Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "formerType".
func (this *ActivityStreamsFormerTypeProperty) PrependIRI(v *url.URL) {
@@ -6330,6 +6609,45 @@ func (this *ActivityStreamsFormerTypeProperty) SetActivityStreamsView(idx int, v
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "formerType". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "formerType". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "formerType". Panics if the index is out of bounds.
func (this *ActivityStreamsFormerTypeProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go
index b1751ca5f..ecc936472 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go
index 694914b3d..dd10ef9de 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go
@@ -20,6 +20,7 @@ type ActivityStreamsGeneratorPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsGeneratorPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsGeneratorPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsGeneratorPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsGeneratorPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsGeneratorPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsGeneratorPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsGeneratorPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsGeneratorPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetActivityStreamsView() vo
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsGeneratorPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsActivityStreamsView() boo
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsGeneratorPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsGeneratorPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetActivityStreamsView(v v
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsGeneratorPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3522,6 +3660,42 @@ func (this *ActivityStreamsGeneratorProperty) AppendActivityStreamsView(v vocab.
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "generator". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "generator". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "generator". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "generator"
func (this *ActivityStreamsGeneratorProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
@@ -4541,6 +4715,57 @@ func (this *ActivityStreamsGeneratorProperty) InsertActivityStreamsView(idx int,
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "generator". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "generator". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "generator".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4712,210 +4937,222 @@ func (this ActivityStreamsGeneratorProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5716,6 +5953,48 @@ func (this *ActivityStreamsGeneratorProperty) PrependActivityStreamsView(v vocab
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "generator". Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "generator". Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "generator". Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "generator".
func (this *ActivityStreamsGeneratorProperty) PrependIRI(v *url.URL) {
@@ -6540,6 +6819,45 @@ func (this *ActivityStreamsGeneratorProperty) SetActivityStreamsView(idx int, v
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "generator". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "generator". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "generator". Panics if the index is out of bounds.
func (this *ActivityStreamsGeneratorProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go
index b5db6370c..8de1ae40c 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go
index 1c5990643..1d8c666eb 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go
@@ -20,6 +20,7 @@ type ActivityStreamsInReplyToPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsInReplyToPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsInReplyToPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInReplyToPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInReplyToPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInReplyToPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInReplyToPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInReplyToPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInReplyToPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetActivityStreamsView() vo
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsInReplyToPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsActivityStreamsView() boo
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsInReplyToPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsInReplyToPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetActivityStreamsView(v v
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsInReplyToPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3522,6 +3660,42 @@ func (this *ActivityStreamsInReplyToProperty) AppendActivityStreamsView(v vocab.
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "inReplyTo". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "inReplyTo". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "inReplyTo". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "inReplyTo"
func (this *ActivityStreamsInReplyToProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
@@ -4541,6 +4715,57 @@ func (this *ActivityStreamsInReplyToProperty) InsertActivityStreamsView(idx int,
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "inReplyTo". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "inReplyTo". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "inReplyTo".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4712,210 +4937,222 @@ func (this ActivityStreamsInReplyToProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5716,6 +5953,48 @@ func (this *ActivityStreamsInReplyToProperty) PrependActivityStreamsView(v vocab
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "inReplyTo". Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "inReplyTo". Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "inReplyTo". Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "inReplyTo".
func (this *ActivityStreamsInReplyToProperty) PrependIRI(v *url.URL) {
@@ -6540,6 +6819,45 @@ func (this *ActivityStreamsInReplyToProperty) SetActivityStreamsView(idx int, v
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "inReplyTo". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "inReplyTo". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "inReplyTo". Panics if the index is out of bounds.
func (this *ActivityStreamsInReplyToProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go
index 5a0c64d26..2cbbfd60b 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go
index d81fa8c80..0fd10b633 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go
@@ -20,6 +20,7 @@ type ActivityStreamsInstrumentPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsInstrumentPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsInstrumentPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInstrumentPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInstrumentPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInstrumentPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInstrumentPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInstrumentPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInstrumentPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetActivityStreamsView() v
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsInstrumentPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsActivityStreamsView() bo
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsInstrumentPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsInstrumentPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetActivityStreamsView(v
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsInstrumentPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3522,6 +3660,42 @@ func (this *ActivityStreamsInstrumentProperty) AppendActivityStreamsView(v vocab
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "instrument". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "instrument". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "instrument". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "instrument"
func (this *ActivityStreamsInstrumentProperty) AppendIRI(v *url.URL) {
@@ -4543,6 +4717,57 @@ func (this *ActivityStreamsInstrumentProperty) InsertActivityStreamsView(idx int
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "instrument". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "instrument". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "instrument".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4714,210 +4939,222 @@ func (this ActivityStreamsInstrumentProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5718,6 +5955,48 @@ func (this *ActivityStreamsInstrumentProperty) PrependActivityStreamsView(v voca
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "instrument". Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "instrument". Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "instrument". Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "instrument".
func (this *ActivityStreamsInstrumentProperty) PrependIRI(v *url.URL) {
@@ -6542,6 +6821,45 @@ func (this *ActivityStreamsInstrumentProperty) SetActivityStreamsView(idx int, v
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "instrument". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "instrument". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "instrument". Panics if the index is out of bounds.
func (this *ActivityStreamsInstrumentProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go
index 770f94624..43dbea733 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go
index 5969389e0..088db7982 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go
@@ -20,6 +20,7 @@ type ActivityStreamsItemsPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsItemsPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsItemsPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsItemsPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsItemsPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsItemsPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsItemsPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsItemsPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsItemsPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsItemsPropertyIterator) GetActivityStreamsView() vocab.
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsItemsPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsItemsPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsItemsPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsItemsPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsItemsPropertyIterator) SetActivityStreamsView(v vocab
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsItemsPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3513,6 +3651,42 @@ func (this *ActivityStreamsItemsProperty) AppendActivityStreamsView(v vocab.Acti
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "items". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsItemsProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "items". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsItemsProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "items". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsItemsProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "items"
func (this *ActivityStreamsItemsProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
@@ -4531,6 +4705,57 @@ func (this *ActivityStreamsItemsProperty) InsertActivityStreamsView(idx int, v v
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "items". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "items". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "items".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4702,210 +4927,222 @@ func (this ActivityStreamsItemsProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5706,6 +5943,48 @@ func (this *ActivityStreamsItemsProperty) PrependActivityStreamsView(v vocab.Act
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "items". Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "items". Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "items". Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "items".
func (this *ActivityStreamsItemsProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
@@ -6529,6 +6808,45 @@ func (this *ActivityStreamsItemsProperty) SetActivityStreamsView(idx int, v voca
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "items". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "items". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "items".
// Panics if the index is out of bounds.
func (this *ActivityStreamsItemsProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go
index b5bb8b3b9..aea8eb329 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go
index a56119ff5..0584342da 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go
@@ -20,6 +20,7 @@ type ActivityStreamsLocationPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsLocationPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsLocationPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsLocationPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsLocationPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsLocationPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsLocationPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsLocationPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsLocationPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsLocationPropertyIterator) GetActivityStreamsView() voc
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsLocationPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsLocationPropertyIterator) IsActivityStreamsView() bool
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsLocationPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsLocationPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsLocationPropertyIterator) SetActivityStreamsView(v vo
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsLocationPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3522,6 +3660,42 @@ func (this *ActivityStreamsLocationProperty) AppendActivityStreamsView(v vocab.A
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "location". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsLocationProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "location". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsLocationProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "location". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsLocationProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "location"
func (this *ActivityStreamsLocationProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
@@ -4541,6 +4715,57 @@ func (this *ActivityStreamsLocationProperty) InsertActivityStreamsView(idx int,
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "location". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "location". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "location".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4712,210 +4937,222 @@ func (this ActivityStreamsLocationProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5716,6 +5953,48 @@ func (this *ActivityStreamsLocationProperty) PrependActivityStreamsView(v vocab.
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "location". Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsLocationPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "location". Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsLocationPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "location". Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsLocationPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "location".
func (this *ActivityStreamsLocationProperty) PrependIRI(v *url.URL) {
@@ -6540,6 +6819,45 @@ func (this *ActivityStreamsLocationProperty) SetActivityStreamsView(idx int, v v
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "location". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "location". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "location". Panics if the index is out of bounds.
func (this *ActivityStreamsLocationProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go
index 24de805a8..ace40faa5 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go
index 03cb585ad..0ffab6e58 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go
@@ -20,6 +20,7 @@ type ActivityStreamsObjectPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsObjectPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsObjectPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsObjectPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsObjectPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsObjectPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsObjectPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsObjectPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsObjectPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsObjectPropertyIterator) GetActivityStreamsView() vocab
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsObjectPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsObjectPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsObjectPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsObjectPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsObjectPropertyIterator) SetActivityStreamsView(v voca
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsObjectPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3513,6 +3651,42 @@ func (this *ActivityStreamsObjectProperty) AppendActivityStreamsView(v vocab.Act
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "object". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsObjectProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "object". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsObjectProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "object". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsObjectProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "object"
func (this *ActivityStreamsObjectProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
@@ -4531,6 +4705,57 @@ func (this *ActivityStreamsObjectProperty) InsertActivityStreamsView(idx int, v
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "object". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "object". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "object".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4702,210 +4927,222 @@ func (this ActivityStreamsObjectProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5706,6 +5943,48 @@ func (this *ActivityStreamsObjectProperty) PrependActivityStreamsView(v vocab.Ac
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "object". Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsObjectPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "object". Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsObjectPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "object". Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsObjectPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "object".
func (this *ActivityStreamsObjectProperty) PrependIRI(v *url.URL) {
@@ -6530,6 +6809,45 @@ func (this *ActivityStreamsObjectProperty) SetActivityStreamsView(idx int, v voc
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "object". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "object". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "object". Panics if the index is out of bounds.
func (this *ActivityStreamsObjectProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go
index c1feafb7a..9648ffdb2 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go
index 438d2fc5b..53fe906b9 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go
@@ -20,6 +20,7 @@ type ActivityStreamsOneOfPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsOneOfPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsOneOfPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOneOfPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOneOfPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOneOfPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOneOfPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOneOfPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOneOfPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsOneOfPropertyIterator) GetActivityStreamsView() vocab.
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsOneOfPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsOneOfPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsOneOfPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsOneOfPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetActivityStreamsView(v vocab
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsOneOfPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3513,6 +3651,42 @@ func (this *ActivityStreamsOneOfProperty) AppendActivityStreamsView(v vocab.Acti
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "oneOf". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOneOfProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "oneOf". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsOneOfProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "oneOf". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsOneOfProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "oneOf"
func (this *ActivityStreamsOneOfProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
@@ -4531,6 +4705,57 @@ func (this *ActivityStreamsOneOfProperty) InsertActivityStreamsView(idx int, v v
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "oneOf". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "oneOf". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "oneOf".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4702,210 +4927,222 @@ func (this ActivityStreamsOneOfProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5706,6 +5943,48 @@ func (this *ActivityStreamsOneOfProperty) PrependActivityStreamsView(v vocab.Act
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "oneOf". Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "oneOf". Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "oneOf". Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "oneOf".
func (this *ActivityStreamsOneOfProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
@@ -6529,6 +6808,45 @@ func (this *ActivityStreamsOneOfProperty) SetActivityStreamsView(idx int, v voca
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "oneOf". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "oneOf". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "oneOf".
// Panics if the index is out of bounds.
func (this *ActivityStreamsOneOfProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go
index e6c16e922..d4e921b26 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go
index d15265516..d180d49fb 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go
@@ -20,6 +20,7 @@ type ActivityStreamsOrderedItemsPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsOrderedItemsPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsOrderedItemsPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOrderedItemsPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOrderedItemsPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOrderedItemsPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetActivityStreamsView()
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsOrderedItemsPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsActivityStreamsView()
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsOrderedItemsPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetActivityStreamsView(
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsOrderedItemsPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3558,6 +3696,42 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendActivityStreamsView(v voc
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "orderedItems". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "orderedItems". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "orderedItems". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "orderedItems"
func (this *ActivityStreamsOrderedItemsProperty) AppendIRI(v *url.URL) {
@@ -4580,6 +4754,57 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertActivityStreamsView(idx i
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "orderedItems". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "orderedItems". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property
// "orderedItems". Existing elements at that index and higher are shifted back
// once. Invalidates all iterators.
@@ -4751,210 +4976,222 @@ func (this ActivityStreamsOrderedItemsProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5756,6 +5993,48 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependActivityStreamsView(v vo
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "orderedItems". Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "orderedItems". Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "orderedItems". Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "orderedItems".
func (this *ActivityStreamsOrderedItemsProperty) PrependIRI(v *url.URL) {
@@ -6580,6 +6859,45 @@ func (this *ActivityStreamsOrderedItemsProperty) SetActivityStreamsView(idx int,
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "orderedItems". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "orderedItems". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "orderedItems". Panics if the index is out of bounds.
func (this *ActivityStreamsOrderedItemsProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go
index 70c65b77d..230b16b2c 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go
index ce2b20ca9..279a9a291 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go
@@ -20,6 +20,7 @@ type ActivityStreamsOriginPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsOriginPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsOriginPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOriginPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOriginPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOriginPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOriginPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOriginPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOriginPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsOriginPropertyIterator) GetActivityStreamsView() vocab
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsOriginPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsOriginPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsOriginPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsOriginPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsOriginPropertyIterator) SetActivityStreamsView(v voca
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsOriginPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3513,6 +3651,42 @@ func (this *ActivityStreamsOriginProperty) AppendActivityStreamsView(v vocab.Act
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "origin". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOriginProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "origin". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsOriginProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "origin". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsOriginProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "origin"
func (this *ActivityStreamsOriginProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
@@ -4531,6 +4705,57 @@ func (this *ActivityStreamsOriginProperty) InsertActivityStreamsView(idx int, v
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "origin". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "origin". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "origin".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4702,210 +4927,222 @@ func (this ActivityStreamsOriginProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5706,6 +5943,48 @@ func (this *ActivityStreamsOriginProperty) PrependActivityStreamsView(v vocab.Ac
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "origin". Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsOriginPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "origin". Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsOriginPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "origin". Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsOriginPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "origin".
func (this *ActivityStreamsOriginProperty) PrependIRI(v *url.URL) {
@@ -6530,6 +6809,45 @@ func (this *ActivityStreamsOriginProperty) SetActivityStreamsView(idx int, v voc
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "origin". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "origin". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "origin". Panics if the index is out of bounds.
func (this *ActivityStreamsOriginProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go
index 2cb23bc64..d1bcd0e2b 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go
index 7093fa009..a4df197af 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go
@@ -20,6 +20,7 @@ type ActivityStreamsPreviewPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsPreviewPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsPreviewPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsPreviewPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsPreviewPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsPreviewPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsPreviewPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsPreviewPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsPreviewPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsPreviewPropertyIterator) GetActivityStreamsView() voca
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsPreviewPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsPreviewPropertyIterator) IsActivityStreamsView() bool
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsPreviewPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsPreviewPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetActivityStreamsView(v voc
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsPreviewPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3522,6 +3660,42 @@ func (this *ActivityStreamsPreviewProperty) AppendActivityStreamsView(v vocab.Ac
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "preview". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsPreviewProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "preview". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsPreviewProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "preview". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsPreviewProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "preview"
func (this *ActivityStreamsPreviewProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
@@ -4541,6 +4715,57 @@ func (this *ActivityStreamsPreviewProperty) InsertActivityStreamsView(idx int, v
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "preview". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "preview". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "preview".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4712,210 +4937,222 @@ func (this ActivityStreamsPreviewProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5716,6 +5953,48 @@ func (this *ActivityStreamsPreviewProperty) PrependActivityStreamsView(v vocab.A
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "preview". Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "preview". Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "preview". Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "preview".
func (this *ActivityStreamsPreviewProperty) PrependIRI(v *url.URL) {
@@ -6540,6 +6819,45 @@ func (this *ActivityStreamsPreviewProperty) SetActivityStreamsView(idx int, v vo
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "preview". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "preview". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "preview". Panics if the index is out of bounds.
func (this *ActivityStreamsPreviewProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go
index c82ba4ab0..24b496983 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -120,6 +124,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeListenActivityStreams returns the deserialization method for
// the "ActivityStreamsListen" non-functional property in the
// vocabulary "ActivityStreams"
@@ -193,6 +201,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go
index 6adecdbfa..18a0bd53e 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go
@@ -19,6 +19,7 @@ type ActivityStreamsRelationshipPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -43,6 +44,7 @@ type ActivityStreamsRelationshipPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMoveMember vocab.ActivityStreamsMove
activitystreamsNoteMember vocab.ActivityStreamsNote
@@ -60,6 +62,7 @@ type ActivityStreamsRelationshipPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -132,6 +135,12 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsRelationshipPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsRelationshipPropertyIterator{
activitystreamsApplicationMember: v,
@@ -276,6 +285,12 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsRelationshipPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsRelationshipPropertyIterator{
activitystreamsListenMember: v,
@@ -378,6 +393,12 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsRelationshipPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsRelationshipPropertyIterator{
activitystreamsServiceMember: v,
@@ -805,6 +826,27 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetActivityStreamsView()
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsRelationshipPropertyIterator) GetIRI() *url.URL {
@@ -849,6 +891,9 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -921,6 +966,9 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -972,6 +1020,9 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1010,6 +1061,7 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1034,6 +1086,7 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMove() ||
this.IsActivityStreamsNote() ||
@@ -1051,6 +1104,7 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1432,6 +1486,27 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsActivityStreamsView()
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsRelationshipPropertyIterator) IsIRI() bool {
@@ -1474,6 +1549,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1522,6 +1599,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMove() {
@@ -1556,6 +1635,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1605,156 +1686,165 @@ func (this ActivityStreamsRelationshipPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 4
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 5
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 6
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 7
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 8
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 9
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 10
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 11
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 12
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 13
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 14
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 15
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 16
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 17
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 18
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 19
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 20
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 21
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 22
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 23
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 24
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 25
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 26
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 27
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 28
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 29
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeApproval() {
return 30
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsListen() {
return 31
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 32
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 33
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 34
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 35
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 36
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 37
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 38
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 39
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 40
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 41
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 42
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 43
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 44
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 45
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 46
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 47
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 48
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 49
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 50
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 51
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 52
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 53
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 54
}
+ if this.IsActivityStreamsUpdate() {
+ return 55
+ }
+ if this.IsActivityStreamsVideo() {
+ return 56
+ }
+ if this.IsActivityStreamsView() {
+ return 57
+ }
if this.IsIRI() {
return -2
}
@@ -1782,6 +1872,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1830,6 +1922,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMove() {
@@ -1864,6 +1958,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2279,6 +2375,27 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetActivityStreamsView(
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsRelationshipPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2329,6 +2446,10 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2425,6 +2546,10 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2493,6 +2618,10 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2541,6 +2670,7 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2565,6 +2695,7 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMoveMember = nil
this.activitystreamsNoteMember = nil
@@ -2582,6 +2713,7 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2610,6 +2742,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2658,6 +2792,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMove() {
@@ -2692,6 +2828,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3397,6 +3535,42 @@ func (this *ActivityStreamsRelationshipProperty) AppendActivityStreamsView(v voc
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "relationship". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "relationship". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "relationship". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "relationship"
func (this *ActivityStreamsRelationshipProperty) AppendIRI(v *url.URL) {
@@ -4374,6 +4548,57 @@ func (this *ActivityStreamsRelationshipProperty) InsertActivityStreamsView(idx i
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "relationship". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "relationship". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property
// "relationship". Existing elements at that index and higher are shifted back
// once. Invalidates all iterators.
@@ -4524,202 +4749,214 @@ func (this ActivityStreamsRelationshipProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 5 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 6 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 6 {
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5493,6 +5730,48 @@ func (this *ActivityStreamsRelationshipProperty) PrependActivityStreamsView(v vo
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "relationship". Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "relationship". Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "relationship". Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "relationship".
func (this *ActivityStreamsRelationshipProperty) PrependIRI(v *url.URL) {
@@ -6277,6 +6556,45 @@ func (this *ActivityStreamsRelationshipProperty) SetActivityStreamsView(idx int,
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "relationship". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "relationship". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "relationship". Panics if the index is out of bounds.
func (this *ActivityStreamsRelationshipProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go
index 46a869513..f4461212e 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go
index 15b868d14..30a85d147 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go
@@ -20,6 +20,7 @@ type ActivityStreamsResultPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsResultPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsResultPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsResultPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsResultPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsResultPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsResultPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsResultPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsResultPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsResultPropertyIterator) GetActivityStreamsView() vocab
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsResultPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsResultPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsResultPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsResultPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsResultPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsResultPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsResultPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsResultPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsResultPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsResultPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsResultPropertyIterator) SetActivityStreamsView(v voca
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsResultPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsResultPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsResultPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsResultPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3513,6 +3651,42 @@ func (this *ActivityStreamsResultProperty) AppendActivityStreamsView(v vocab.Act
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "result". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsResultProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "result". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsResultProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "result". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsResultProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "result"
func (this *ActivityStreamsResultProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
@@ -4531,6 +4705,57 @@ func (this *ActivityStreamsResultProperty) InsertActivityStreamsView(idx int, v
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "result". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "result". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "result".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4702,210 +4927,222 @@ func (this ActivityStreamsResultProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5706,6 +5943,48 @@ func (this *ActivityStreamsResultProperty) PrependActivityStreamsView(v vocab.Ac
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "result". Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsResultPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "result". Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsResultPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "result". Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsResultPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "result".
func (this *ActivityStreamsResultProperty) PrependIRI(v *url.URL) {
@@ -6530,6 +6809,45 @@ func (this *ActivityStreamsResultProperty) SetActivityStreamsView(idx int, v voc
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "result". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "result". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "result". Panics if the index is out of bounds.
func (this *ActivityStreamsResultProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go
index ea054037a..832bbf6ac 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go
index 9b972dc36..83353386b 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go
@@ -20,6 +20,7 @@ type ActivityStreamsSourceProperty struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsSourceProperty struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsSourceProperty struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSourceProperty{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSourceProperty{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSourceProperty{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsServiceMember: v,
@@ -478,6 +499,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -503,6 +525,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -521,6 +544,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -912,6 +936,27 @@ func (this ActivityStreamsSourceProperty) GetActivityStreamsView() vocab.Activit
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsSourceProperty) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsSourceProperty) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetIRI() *url.URL {
@@ -965,6 +1010,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1040,6 +1088,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1094,6 +1145,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1133,6 +1187,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1158,6 +1213,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1176,6 +1232,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1571,6 +1628,27 @@ func (this ActivityStreamsSourceProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsSourceProperty) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsSourceProperty) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsSourceProperty) IsIRI() bool {
@@ -1622,6 +1700,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1672,6 +1752,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1708,6 +1790,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1760,162 +1844,171 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1945,6 +2038,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1995,6 +2090,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2031,6 +2128,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2081,6 +2180,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2131,6 +2232,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2167,6 +2270,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2569,6 +2674,27 @@ func (this *ActivityStreamsSourceProperty) SetActivityStreamsView(v vocab.Activi
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.Clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.Clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.Clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) {
this.Clear()
@@ -2630,6 +2756,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2730,6 +2860,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2802,6 +2936,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go
index 1a5522d56..c24483cea 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go
index 300d95ed5..5df94878e 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go
@@ -20,6 +20,7 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSubjectProperty{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSubjectProperty{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSubjectProperty{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsServiceMember: v,
@@ -478,6 +499,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -503,6 +525,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -521,6 +544,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -912,6 +936,27 @@ func (this ActivityStreamsSubjectProperty) GetActivityStreamsView() vocab.Activi
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL {
@@ -965,6 +1010,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1040,6 +1088,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1094,6 +1145,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1133,6 +1187,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1158,6 +1213,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1176,6 +1232,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1571,6 +1628,27 @@ func (this ActivityStreamsSubjectProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsSubjectProperty) IsIRI() bool {
@@ -1622,6 +1700,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1672,6 +1752,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1708,6 +1790,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1760,162 +1844,171 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1945,6 +2038,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1995,6 +2090,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2031,6 +2128,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2081,6 +2180,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2131,6 +2232,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2167,6 +2270,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2569,6 +2674,27 @@ func (this *ActivityStreamsSubjectProperty) SetActivityStreamsView(v vocab.Activ
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.Clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.Clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.Clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) {
this.Clear()
@@ -2630,6 +2756,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2730,6 +2860,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2802,6 +2936,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go
index 16eef045c..e9a8d81e8 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go
index 2d5d7609d..5d49bd938 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go
@@ -20,6 +20,7 @@ type ActivityStreamsTagPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsTagPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsTagPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -140,6 +143,12 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTagPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTagPropertyIterator{
activitystreamsApplicationMember: v,
@@ -290,6 +299,12 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTagPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTagPropertyIterator{
activitystreamsListenMember: v,
@@ -398,6 +413,12 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTagPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTagPropertyIterator{
activitystreamsServiceMember: v,
@@ -839,6 +860,27 @@ func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsView() vocab.Ac
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsTagPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsTagPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsTagPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsTagPropertyIterator) GetIRI() *url.URL {
@@ -892,6 +934,9 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -967,6 +1012,9 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1021,6 +1069,9 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1060,6 +1111,7 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1085,6 +1137,7 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1103,6 +1156,7 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1498,6 +1552,27 @@ func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsTagPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsTagPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsTagPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsTagPropertyIterator) IsIRI() bool {
@@ -1549,6 +1624,8 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1599,6 +1676,8 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1635,6 +1714,8 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1687,162 +1768,171 @@ func (this ActivityStreamsTagPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1872,6 +1962,8 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1922,6 +2014,8 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1958,6 +2052,8 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2387,6 +2483,27 @@ func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsView(v vocab.A
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsTagPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2448,6 +2565,10 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2548,6 +2669,10 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2620,6 +2745,10 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2669,6 +2798,7 @@ func (this *ActivityStreamsTagPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2694,6 +2824,7 @@ func (this *ActivityStreamsTagPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2712,6 +2843,7 @@ func (this *ActivityStreamsTagPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2742,6 +2874,8 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2792,6 +2926,8 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2828,6 +2964,8 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3511,6 +3649,41 @@ func (this *ActivityStreamsTagProperty) AppendActivityStreamsView(v vocab.Activi
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "tag". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsTagProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "tag". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "tag". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsTagProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "tag"
func (this *ActivityStreamsTagProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
@@ -4528,6 +4701,57 @@ func (this *ActivityStreamsTagProperty) InsertActivityStreamsView(idx int, v voc
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "tag". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "tag". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "tag".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4699,210 +4923,222 @@ func (this ActivityStreamsTagProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5703,6 +5939,48 @@ func (this *ActivityStreamsTagProperty) PrependActivityStreamsView(v vocab.Activ
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "tag". Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsTagPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "tag". Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsTagPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "tag". Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsTagPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "tag".
func (this *ActivityStreamsTagProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
@@ -6526,6 +6804,45 @@ func (this *ActivityStreamsTagProperty) SetActivityStreamsView(idx int, v vocab.
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "tag". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "tag". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "tag".
// Panics if the index is out of bounds.
func (this *ActivityStreamsTagProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go
index d2db7b8fd..dfed9cfba 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go
index 60b01cf53..6328a181f 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go
@@ -20,6 +20,7 @@ type ActivityStreamsTargetPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsTargetPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsTargetPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -141,6 +144,12 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTargetPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTargetPropertyIterator{
activitystreamsApplicationMember: v,
@@ -291,6 +300,12 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTargetPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTargetPropertyIterator{
activitystreamsListenMember: v,
@@ -399,6 +414,12 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTargetPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTargetPropertyIterator{
activitystreamsServiceMember: v,
@@ -840,6 +861,27 @@ func (this ActivityStreamsTargetPropertyIterator) GetActivityStreamsView() vocab
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsTargetPropertyIterator) GetIRI() *url.URL {
@@ -893,6 +935,9 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -968,6 +1013,9 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1022,6 +1070,9 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1061,6 +1112,7 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1086,6 +1138,7 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1104,6 +1157,7 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1499,6 +1553,27 @@ func (this ActivityStreamsTargetPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsTargetPropertyIterator) IsIRI() bool {
@@ -1550,6 +1625,8 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1600,6 +1677,8 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1636,6 +1715,8 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1688,162 +1769,171 @@ func (this ActivityStreamsTargetPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1873,6 +1963,8 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1923,6 +2015,8 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1959,6 +2053,8 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2388,6 +2484,27 @@ func (this *ActivityStreamsTargetPropertyIterator) SetActivityStreamsView(v voca
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsTargetPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2449,6 +2566,10 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2549,6 +2670,10 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2621,6 +2746,10 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2670,6 +2799,7 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2695,6 +2825,7 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2713,6 +2844,7 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2743,6 +2875,8 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2793,6 +2927,8 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2829,6 +2965,8 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3513,6 +3651,42 @@ func (this *ActivityStreamsTargetProperty) AppendActivityStreamsView(v vocab.Act
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "target". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsTargetProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "target". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsTargetProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "target". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsTargetProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "target"
func (this *ActivityStreamsTargetProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
@@ -4531,6 +4705,57 @@ func (this *ActivityStreamsTargetProperty) InsertActivityStreamsView(idx int, v
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "target". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "target". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "target".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4702,210 +4927,222 @@ func (this ActivityStreamsTargetProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5706,6 +5943,48 @@ func (this *ActivityStreamsTargetProperty) PrependActivityStreamsView(v vocab.Ac
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "target". Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsTargetPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "target". Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsTargetPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "target". Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsTargetPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "target".
func (this *ActivityStreamsTargetProperty) PrependIRI(v *url.URL) {
@@ -6530,6 +6809,45 @@ func (this *ActivityStreamsTargetProperty) SetActivityStreamsView(idx int, v voc
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "target". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "target". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "target". Panics if the index is out of bounds.
func (this *ActivityStreamsTargetProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go
index e602b1a7c..0d6e923f0 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go
@@ -25,6 +25,10 @@ type privateManager interface {
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error)
+ // DeserializeAnnounceApprovalGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceApproval" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -123,6 +127,10 @@ type privateManager interface {
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error)
+ // DeserializeLikeApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialLikeApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -204,6 +212,10 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
+ // DeserializeReplyApprovalGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyApproval" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go
index c5bfa27e2..bf57a8b6e 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go
@@ -20,6 +20,7 @@ type ActivityStreamsToPropertyIterator struct {
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
+ gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -45,6 +46,7 @@ type ActivityStreamsToPropertyIterator struct {
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
activitystreamsLikeMember vocab.ActivityStreamsLike
+ gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -63,6 +65,7 @@ type ActivityStreamsToPropertyIterator struct {
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
+ gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -140,6 +143,12 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsToPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsToPropertyIterator{
activitystreamsApplicationMember: v,
@@ -290,6 +299,12 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsToPropertyIterator{
+ alias: alias,
+ gotosocialLikeApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsToPropertyIterator{
activitystreamsListenMember: v,
@@ -398,6 +413,12 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st
alias: alias,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyApprovalGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsToPropertyIterator{
+ alias: alias,
+ gotosocialReplyApprovalMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsToPropertyIterator{
activitystreamsServiceMember: v,
@@ -839,6 +860,27 @@ func (this ActivityStreamsToPropertyIterator) GetActivityStreamsView() vocab.Act
return this.activitystreamsViewMember
}
+// GetGoToSocialAnnounceApproval returns the value of this property. When
+// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
+// will return an arbitrary value.
+func (this ActivityStreamsToPropertyIterator) GetGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
+ return this.gotosocialAnnounceApprovalMember
+}
+
+// GetGoToSocialLikeApproval returns the value of this property. When
+// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
+// return an arbitrary value.
+func (this ActivityStreamsToPropertyIterator) GetGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
+ return this.gotosocialLikeApprovalMember
+}
+
+// GetGoToSocialReplyApproval returns the value of this property. When
+// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
+// return an arbitrary value.
+func (this ActivityStreamsToPropertyIterator) GetGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
+ return this.gotosocialReplyApprovalMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsToPropertyIterator) GetIRI() *url.URL {
@@ -892,6 +934,9 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
+ if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -967,6 +1012,9 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
+ if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1021,6 +1069,9 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
+ if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1060,6 +1111,7 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool {
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsActivityStreamsAnnounce() ||
+ this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1085,6 +1137,7 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool {
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsActivityStreamsLike() ||
+ this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1103,6 +1156,7 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool {
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
+ this.IsGoToSocialReplyApproval() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1498,6 +1552,27 @@ func (this ActivityStreamsToPropertyIterator) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
+// IsGoToSocialAnnounceApproval returns true if this property has a type of
+// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
+// SetGoToSocialAnnounceApproval methods to access and set this property.
+func (this ActivityStreamsToPropertyIterator) IsGoToSocialAnnounceApproval() bool {
+ return this.gotosocialAnnounceApprovalMember != nil
+}
+
+// IsGoToSocialLikeApproval returns true if this property has a type of
+// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+// SetGoToSocialLikeApproval methods to access and set this property.
+func (this ActivityStreamsToPropertyIterator) IsGoToSocialLikeApproval() bool {
+ return this.gotosocialLikeApprovalMember != nil
+}
+
+// IsGoToSocialReplyApproval returns true if this property has a type of
+// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+// SetGoToSocialReplyApproval methods to access and set this property.
+func (this ActivityStreamsToPropertyIterator) IsGoToSocialReplyApproval() bool {
+ return this.gotosocialReplyApprovalMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsToPropertyIterator) IsIRI() bool {
@@ -1549,6 +1624,8 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1599,6 +1676,8 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
+ } else if this.IsGoToSocialLikeApproval() {
+ child = this.GetGoToSocialLikeApproval().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1635,6 +1714,8 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
+ } else if this.IsGoToSocialReplyApproval() {
+ child = this.GetGoToSocialReplyApproval().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1687,162 +1768,171 @@ func (this ActivityStreamsToPropertyIterator) KindIndex() int {
if this.IsActivityStreamsAnnounce() {
return 5
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsArrive() {
+ if this.IsActivityStreamsApplication() {
return 7
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsArrive() {
return 8
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 9
}
- if this.IsActivityStreamsBlock() {
+ if this.IsActivityStreamsAudio() {
return 10
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsBlock() {
return 11
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsCollection() {
return 12
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollectionPage() {
return 13
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCreate() {
return 14
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsDelete() {
return 15
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDislike() {
return 16
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDocument() {
return 17
}
- if this.IsActivityStreamsEvent() {
+ if this.IsTootEmoji() {
return 18
}
- if this.IsActivityStreamsFlag() {
+ if this.IsActivityStreamsEvent() {
return 19
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsFlag() {
return 20
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFollow() {
return 21
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsGroup() {
return 22
}
- if this.IsTootIdentityProof() {
+ if this.IsTootHashtag() {
return 23
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootIdentityProof() {
return 24
}
- if this.IsActivityStreamsImage() {
+ if this.IsActivityStreamsIgnore() {
return 25
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsImage() {
return 26
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsInvite() {
return 28
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsJoin() {
return 29
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 30
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 31
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 32
}
- if this.IsActivityStreamsMove() {
+ if this.IsActivityStreamsListen() {
return 33
}
- if this.IsActivityStreamsNote() {
+ if this.IsActivityStreamsMention() {
return 34
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsMove() {
return 35
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsNote() {
return 36
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsOffer() {
return 37
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsOrderedCollection() {
return 38
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrganization() {
return 40
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsPage() {
return 41
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsPerson() {
return 42
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPlace() {
return 43
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsProfile() {
return 44
}
- if this.IsActivityStreamsRead() {
+ if this.IsSchemaPropertyValue() {
return 45
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsQuestion() {
return 46
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsActivityStreamsRead() {
return 47
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsReject() {
return 48
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsRelationship() {
return 49
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRemove() {
return 50
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsGoToSocialReplyApproval() {
return 51
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsActivityStreamsService() {
return 52
}
- if this.IsActivityStreamsTravel() {
+ if this.IsActivityStreamsTentativeAccept() {
return 53
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsTentativeReject() {
return 54
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTombstone() {
return 55
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTravel() {
return 56
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsUndo() {
return 57
}
+ if this.IsActivityStreamsUpdate() {
+ return 58
+ }
+ if this.IsActivityStreamsVideo() {
+ return 59
+ }
+ if this.IsActivityStreamsView() {
+ return 60
+ }
if this.IsIRI() {
return -2
}
@@ -1872,6 +1962,8 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -1922,6 +2014,8 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -1958,6 +2052,8 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2387,6 +2483,27 @@ func (this *ActivityStreamsToPropertyIterator) SetActivityStreamsView(v vocab.Ac
this.activitystreamsViewMember = v
}
+// SetGoToSocialAnnounceApproval sets the value of this property. Calling
+// IsGoToSocialAnnounceApproval afterwards returns true.
+func (this *ActivityStreamsToPropertyIterator) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.clear()
+ this.gotosocialAnnounceApprovalMember = v
+}
+
+// SetGoToSocialLikeApproval sets the value of this property. Calling
+// IsGoToSocialLikeApproval afterwards returns true.
+func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.clear()
+ this.gotosocialLikeApprovalMember = v
+}
+
+// SetGoToSocialReplyApproval sets the value of this property. Calling
+// IsGoToSocialReplyApproval afterwards returns true.
+func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.clear()
+ this.gotosocialReplyApprovalMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsToPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2448,6 +2565,10 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsAnnounce(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceApproval); ok {
+ this.SetGoToSocialAnnounceApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2548,6 +2669,10 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLike(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeApproval); ok {
+ this.SetGoToSocialLikeApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2620,6 +2745,10 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyApproval); ok {
+ this.SetGoToSocialReplyApproval(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2669,6 +2798,7 @@ func (this *ActivityStreamsToPropertyIterator) clear() {
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.activitystreamsAnnounceMember = nil
+ this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2694,6 +2824,7 @@ func (this *ActivityStreamsToPropertyIterator) clear() {
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.activitystreamsLikeMember = nil
+ this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -2712,6 +2843,7 @@ func (this *ActivityStreamsToPropertyIterator) clear() {
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
+ this.gotosocialReplyApprovalMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2742,6 +2874,8 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
+ } else if this.IsGoToSocialAnnounceApproval() {
+ return this.GetGoToSocialAnnounceApproval().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2792,6 +2926,8 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
+ } else if this.IsGoToSocialLikeApproval() {
+ return this.GetGoToSocialLikeApproval().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2828,6 +2964,8 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
+ } else if this.IsGoToSocialReplyApproval() {
+ return this.GetGoToSocialReplyApproval().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3511,6 +3649,41 @@ func (this *ActivityStreamsToProperty) AppendActivityStreamsView(v vocab.Activit
})
}
+// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to the back
+// of a list of the property "to". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsToProperty) AppendGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
+// of the property "to". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsToProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
+// list of the property "to". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsToProperty) AppendGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "to"
func (this *ActivityStreamsToProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
@@ -4528,6 +4701,57 @@ func (this *ActivityStreamsToProperty) InsertActivityStreamsView(idx int, v voca
}
}
+// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval 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) InsertGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
+// index for a property "to". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) InsertGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
+// index for a property "to". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) InsertGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "to".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -4699,210 +4923,222 @@ func (this ActivityStreamsToProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsAnnounce()
return lhs.LessThan(rhs)
} else if idx1 == 6 {
+ lhs := this.properties[i].GetGoToSocialAnnounceApproval()
+ rhs := this.properties[j].GetGoToSocialAnnounceApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 7 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 7 {
+ } else if idx1 == 8 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 32 {
+ lhs := this.properties[i].GetGoToSocialLikeApproval()
+ rhs := this.properties[j].GetGoToSocialLikeApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 51 {
+ lhs := this.properties[i].GetGoToSocialReplyApproval()
+ rhs := this.properties[j].GetGoToSocialReplyApproval()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -5703,6 +5939,48 @@ func (this *ActivityStreamsToProperty) PrependActivityStreamsView(v vocab.Activi
}
}
+// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to the
+// front of a list of the property "to". Invalidates all iterators.
+func (this *ActivityStreamsToProperty) PrependGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
+ this.properties = append([]*ActivityStreamsToPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
+// list of the property "to". Invalidates all iterators.
+func (this *ActivityStreamsToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
+ this.properties = append([]*ActivityStreamsToPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
+// list of the property "to". Invalidates all iterators.
+func (this *ActivityStreamsToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
+ this.properties = append([]*ActivityStreamsToPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "to".
func (this *ActivityStreamsToProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsToPropertyIterator{{
@@ -6526,6 +6804,45 @@ func (this *ActivityStreamsToProperty) SetActivityStreamsView(idx int, v vocab.A
}
}
+// SetGoToSocialAnnounceApproval sets a AnnounceApproval 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) SetGoToSocialAnnounceApproval(idx int, v vocab.GoToSocialAnnounceApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
+// index for the property "to". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsToProperty) SetGoToSocialLikeApproval(idx int, v vocab.GoToSocialLikeApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
+// index for the property "to". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsToProperty) SetGoToSocialReplyApproval(idx int, v vocab.GoToSocialReplyApproval) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyApprovalMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "to".
// Panics if the index is out of bounds.
func (this *ActivityStreamsToProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go
index 103c9b66d..3e8578a28 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go
@@ -199,7 +199,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", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
+ disjointWith := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go
index 351d8511b..46d73ec72 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go
@@ -197,7 +197,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", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
+ disjointWith := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go
index b03c6a3b3..68d7a63be 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go
@@ -396,7 +396,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", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
+ extensions := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
for _, ext := range extensions {
if ext == other.GetTypeName() {
return true
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_doc.go
new file mode 100644
index 000000000..2c764f2e0
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package typeannounceapproval contains the implementation for the
+// AnnounceApproval type. All applications are strongly encouraged to use the
+// interface instead of this concrete definition. The interfaces allow
+// applications to consume only the types and properties needed and be
+// independent of the go-fed implementation if another alternative
+// implementation is created. This package is code-generated and subject to
+// the same license as the go-fed tool used to generate it.
+//
+// This package is independent of other types' and properties' implementations
+// by having a Manager injected into it to act as a factory for the concrete
+// implementations. The implementations have been generated into their own
+// separate subpackages for each vocabulary.
+//
+// Strongly consider using the interfaces instead of this package.
+package typeannounceapproval
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_pkg.go
new file mode 100644
index 000000000..3ac4a4eb6
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_pkg.go
@@ -0,0 +1,179 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typeannounceapproval
+
+import vocab "github.com/superseriousbusiness/activity/streams/vocab"
+
+var mgr privateManager
+
+var typePropertyConstructor func() vocab.JSONLDTypeProperty
+
+// privateManager abstracts the code-generated manager that provides access to
+// concrete implementations.
+type privateManager interface {
+ // DeserializeAltitudePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsAltitudeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
+ // DeserializeAttachmentPropertyActivityStreams returns the
+ // deserialization method for the "ActivityStreamsAttachmentProperty"
+ // non-functional property in the vocabulary "ActivityStreams"
+ DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
+ // DeserializeAttributedToPropertyActivityStreams returns the
+ // deserialization method for the
+ // "ActivityStreamsAttributedToProperty" non-functional property in
+ // the vocabulary "ActivityStreams"
+ DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
+ // DeserializeAudiencePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsAudienceProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
+ // DeserializeBccPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsBccProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
+ // DeserializeBtoPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsBtoProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
+ // DeserializeCcPropertyActivityStreams returns the deserialization method
+ // for the "ActivityStreamsCcProperty" non-functional property in the
+ // vocabulary "ActivityStreams"
+ DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
+ // DeserializeContentPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsContentProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
+ // DeserializeContextPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsContextProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
+ // DeserializeDurationPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsDurationProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
+ // DeserializeEndTimePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsEndTimeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
+ // DeserializeGeneratorPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsGeneratorProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
+ // DeserializeIconPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsIconProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
+ // DeserializeIdPropertyJSONLD returns the deserialization method for the
+ // "JSONLDIdProperty" non-functional property in the vocabulary
+ // "JSONLD"
+ DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
+ // DeserializeImagePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsImageProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
+ // DeserializeInReplyToPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsInReplyToProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
+ // DeserializeLikesPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsLikesProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
+ // DeserializeLocationPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsLocationProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
+ // DeserializeMediaTypePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsMediaTypeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
+ // DeserializeNamePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsNameProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
+ // DeserializeObjectPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsObjectProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
+ // DeserializePreviewPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsPreviewProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
+ // DeserializePublishedPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsPublishedProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
+ // DeserializeRepliesPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsRepliesProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
+ // DeserializeSensitivePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSensitiveProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
+ // DeserializeSharesPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSharesProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
+ // DeserializeSourcePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSourceProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
+ // DeserializeStartTimePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsStartTimeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
+ // DeserializeSummaryPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSummaryProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
+ // DeserializeTagPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsTagProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
+ // DeserializeToPropertyActivityStreams returns the deserialization method
+ // for the "ActivityStreamsToProperty" non-functional property in the
+ // vocabulary "ActivityStreams"
+ DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
+ // DeserializeTypePropertyJSONLD returns the deserialization method for
+ // the "JSONLDTypeProperty" non-functional property in the vocabulary
+ // "JSONLD"
+ DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
+ // DeserializeUpdatedPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsUpdatedProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
+ // DeserializeUrlPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsUrlProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
+}
+
+// jsonldContexter is a private interface to determine the JSON-LD contexts and
+// aliases needed for functional and non-functional properties. It is a helper
+// interface for this implementation.
+type jsonldContexter interface {
+ // JSONLDContext returns the JSONLD URIs required in the context string
+ // for this property and the specific values that are set. The value
+ // in the map is the alias used to import the property's value or
+ // values.
+ JSONLDContext() map[string]string
+}
+
+// SetManager sets the manager package-global variable. For internal use only, do
+// not use as part of Application behavior. Must be called at golang init time.
+func SetManager(m privateManager) {
+ mgr = m
+}
+
+// SetTypePropertyConstructor sets the "type" property's constructor in the
+// package-global variable. For internal use only, do not use as part of
+// Application behavior. Must be called at golang init time. Permits
+// ActivityStreams types to correctly set their "type" property at
+// construction time, so users don't have to remember to do so each time. It
+// is dependency injected so other go-fed compatible implementations could
+// inject their own type.
+func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
+ typePropertyConstructor = f
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go
new file mode 100644
index 000000000..d94ed6b32
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go
@@ -0,0 +1,1640 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typeannounceapproval
+
+import (
+ "fmt"
+ vocab "github.com/superseriousbusiness/activity/streams/vocab"
+ "strings"
+)
+
+type GoToSocialAnnounceApproval struct {
+ ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty
+ ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty
+ ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty
+ ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty
+ ActivityStreamsBcc vocab.ActivityStreamsBccProperty
+ ActivityStreamsBto vocab.ActivityStreamsBtoProperty
+ ActivityStreamsCc vocab.ActivityStreamsCcProperty
+ ActivityStreamsContent vocab.ActivityStreamsContentProperty
+ ActivityStreamsContext vocab.ActivityStreamsContextProperty
+ ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
+ ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
+ ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
+ ActivityStreamsIcon vocab.ActivityStreamsIconProperty
+ JSONLDId vocab.JSONLDIdProperty
+ ActivityStreamsImage vocab.ActivityStreamsImageProperty
+ ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
+ ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
+ ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
+ ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty
+ ActivityStreamsName vocab.ActivityStreamsNameProperty
+ ActivityStreamsObject vocab.ActivityStreamsObjectProperty
+ ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty
+ ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty
+ ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty
+ ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty
+ ActivityStreamsShares vocab.ActivityStreamsSharesProperty
+ ActivityStreamsSource vocab.ActivityStreamsSourceProperty
+ ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
+ ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
+ ActivityStreamsTag vocab.ActivityStreamsTagProperty
+ ActivityStreamsTo vocab.ActivityStreamsToProperty
+ JSONLDType vocab.JSONLDTypeProperty
+ ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
+ ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
+ alias string
+ unknown map[string]interface{}
+}
+
+// AnnounceApprovalIsDisjointWith returns true if the other provided type is
+// disjoint with the AnnounceApproval type.
+func AnnounceApprovalIsDisjointWith(other vocab.Type) bool {
+ disjointWith := []string{"Hashtag", "Link", "Mention"}
+ for _, disjoint := range disjointWith {
+ if disjoint == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// AnnounceApprovalIsExtendedBy returns true if the other provided type extends
+// from the AnnounceApproval type. Note that it returns false if the types are
+// the same; see the "IsOrExtendsAnnounceApproval" variant instead.
+func AnnounceApprovalIsExtendedBy(other vocab.Type) bool {
+ // Shortcut implementation: is not extended by anything.
+ return false
+}
+
+// DeserializeAnnounceApproval creates a AnnounceApproval from a map
+// representation that has been unmarshalled from a text or binary format.
+func DeserializeAnnounceApproval(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialAnnounceApproval, error) {
+ alias := ""
+ aliasPrefix := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ aliasPrefix = a + ":"
+ }
+ this := &GoToSocialAnnounceApproval{
+ alias: alias,
+ unknown: make(map[string]interface{}),
+ }
+ if typeValue, ok := m["type"]; !ok {
+ return nil, fmt.Errorf("no \"type\" property in map")
+ } else if typeString, ok := typeValue.(string); ok {
+ typeName := strings.TrimPrefix(typeString, aliasPrefix)
+ if typeName != "AnnounceApproval" {
+ return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "AnnounceApproval", typeName)
+ }
+ // Fall through, success in finding a proper Type
+ } else if arrType, ok := typeValue.([]interface{}); ok {
+ found := false
+ for _, elemVal := range arrType {
+ if typeString, ok := elemVal.(string); ok && strings.TrimPrefix(typeString, aliasPrefix) == "AnnounceApproval" {
+ found = true
+ break
+ }
+ }
+ if !found {
+ return nil, fmt.Errorf("could not find a \"type\" property of value %q", "AnnounceApproval")
+ }
+ // Fall through, success in finding a proper Type
+ } else {
+ return nil, fmt.Errorf("\"type\" property is unrecognized type: %T", typeValue)
+ }
+ // Begin: Known property deserialization
+ if p, err := mgr.DeserializeAltitudePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAltitude = p
+ }
+ if p, err := mgr.DeserializeAttachmentPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAttachment = p
+ }
+ if p, err := mgr.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAttributedTo = p
+ }
+ if p, err := mgr.DeserializeAudiencePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAudience = p
+ }
+ if p, err := mgr.DeserializeBccPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsBcc = p
+ }
+ if p, err := mgr.DeserializeBtoPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsBto = p
+ }
+ if p, err := mgr.DeserializeCcPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsCc = p
+ }
+ if p, err := mgr.DeserializeContentPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsContent = p
+ }
+ if p, err := mgr.DeserializeContextPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsContext = p
+ }
+ if p, err := mgr.DeserializeDurationPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsDuration = p
+ }
+ if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsEndTime = p
+ }
+ if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsGenerator = p
+ }
+ if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsIcon = p
+ }
+ if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.JSONLDId = p
+ }
+ if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsImage = p
+ }
+ if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsInReplyTo = p
+ }
+ if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsLikes = p
+ }
+ if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsLocation = p
+ }
+ if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsMediaType = p
+ }
+ if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsName = p
+ }
+ if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsObject = p
+ }
+ if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsPreview = p
+ }
+ if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsPublished = p
+ }
+ if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsReplies = p
+ }
+ if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsSensitive = p
+ }
+ if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsShares = p
+ }
+ if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsSource = p
+ }
+ if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsStartTime = p
+ }
+ if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsSummary = p
+ }
+ if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsTag = p
+ }
+ if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsTo = p
+ }
+ if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.JSONLDType = p
+ }
+ if p, err := mgr.DeserializeUpdatedPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsUpdated = p
+ }
+ if p, err := mgr.DeserializeUrlPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsUrl = p
+ }
+ // End: Known property deserialization
+
+ // Begin: Unknown deserialization
+ for k, v := range m {
+ // Begin: Code that ensures a property name is unknown
+ if k == "altitude" {
+ continue
+ } else if k == "attachment" {
+ continue
+ } else if k == "attributedTo" {
+ continue
+ } else if k == "audience" {
+ continue
+ } else if k == "bcc" {
+ continue
+ } else if k == "bto" {
+ continue
+ } else if k == "cc" {
+ continue
+ } else if k == "content" {
+ continue
+ } else if k == "contentMap" {
+ continue
+ } else if k == "context" {
+ continue
+ } else if k == "duration" {
+ continue
+ } else if k == "endTime" {
+ continue
+ } else if k == "generator" {
+ continue
+ } else if k == "icon" {
+ continue
+ } else if k == "id" {
+ continue
+ } else if k == "image" {
+ continue
+ } else if k == "inReplyTo" {
+ continue
+ } else if k == "likes" {
+ continue
+ } else if k == "location" {
+ continue
+ } else if k == "mediaType" {
+ continue
+ } else if k == "name" {
+ continue
+ } else if k == "nameMap" {
+ continue
+ } else if k == "object" {
+ continue
+ } else if k == "preview" {
+ continue
+ } else if k == "published" {
+ continue
+ } else if k == "replies" {
+ continue
+ } else if k == "sensitive" {
+ continue
+ } else if k == "shares" {
+ continue
+ } else if k == "source" {
+ continue
+ } else if k == "startTime" {
+ continue
+ } else if k == "summary" {
+ continue
+ } else if k == "summaryMap" {
+ continue
+ } else if k == "tag" {
+ continue
+ } else if k == "to" {
+ continue
+ } else if k == "type" {
+ continue
+ } else if k == "updated" {
+ continue
+ } else if k == "url" {
+ continue
+ } // End: Code that ensures a property name is unknown
+
+ this.unknown[k] = v
+ }
+ // End: Unknown deserialization
+
+ return this, nil
+}
+
+// GoToSocialAnnounceApprovalExtends returns true if the AnnounceApproval type
+// extends from the other type.
+func GoToSocialAnnounceApprovalExtends(other vocab.Type) bool {
+ extensions := []string{"Object"}
+ for _, ext := range extensions {
+ if ext == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// IsOrExtendsAnnounceApproval returns true if the other provided type is the
+// AnnounceApproval type or extends from the AnnounceApproval type.
+func IsOrExtendsAnnounceApproval(other vocab.Type) bool {
+ if other.GetTypeName() == "AnnounceApproval" {
+ return true
+ }
+ return AnnounceApprovalIsExtendedBy(other)
+}
+
+// NewGoToSocialAnnounceApproval creates a new AnnounceApproval type
+func NewGoToSocialAnnounceApproval() *GoToSocialAnnounceApproval {
+ typeProp := typePropertyConstructor()
+ typeProp.AppendXMLSchemaString("AnnounceApproval")
+ return &GoToSocialAnnounceApproval{
+ JSONLDType: typeProp,
+ alias: "",
+ unknown: make(map[string]interface{}),
+ }
+}
+
+// GetActivityStreamsAltitude returns the "altitude" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty {
+ return this.ActivityStreamsAltitude
+}
+
+// GetActivityStreamsAttachment returns the "attachment" property if it exists,
+// and nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty {
+ return this.ActivityStreamsAttachment
+}
+
+// GetActivityStreamsAttributedTo returns the "attributedTo" property if it
+// exists, and nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty {
+ return this.ActivityStreamsAttributedTo
+}
+
+// GetActivityStreamsAudience returns the "audience" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty {
+ return this.ActivityStreamsAudience
+}
+
+// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty {
+ return this.ActivityStreamsBcc
+}
+
+// GetActivityStreamsBto returns the "bto" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty {
+ return this.ActivityStreamsBto
+}
+
+// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty {
+ return this.ActivityStreamsCc
+}
+
+// GetActivityStreamsContent returns the "content" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty {
+ return this.ActivityStreamsContent
+}
+
+// GetActivityStreamsContext returns the "context" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty {
+ return this.ActivityStreamsContext
+}
+
+// GetActivityStreamsDuration returns the "duration" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty {
+ return this.ActivityStreamsDuration
+}
+
+// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty {
+ return this.ActivityStreamsEndTime
+}
+
+// GetActivityStreamsGenerator returns the "generator" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty {
+ return this.ActivityStreamsGenerator
+}
+
+// GetActivityStreamsIcon returns the "icon" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty {
+ return this.ActivityStreamsIcon
+}
+
+// GetActivityStreamsImage returns the "image" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty {
+ return this.ActivityStreamsImage
+}
+
+// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty {
+ return this.ActivityStreamsInReplyTo
+}
+
+// GetActivityStreamsLikes returns the "likes" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty {
+ return this.ActivityStreamsLikes
+}
+
+// GetActivityStreamsLocation returns the "location" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty {
+ return this.ActivityStreamsLocation
+}
+
+// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty {
+ return this.ActivityStreamsMediaType
+}
+
+// GetActivityStreamsName returns the "name" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsName() vocab.ActivityStreamsNameProperty {
+ return this.ActivityStreamsName
+}
+
+// GetActivityStreamsObject returns the "object" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty {
+ return this.ActivityStreamsObject
+}
+
+// GetActivityStreamsPreview returns the "preview" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty {
+ return this.ActivityStreamsPreview
+}
+
+// GetActivityStreamsPublished returns the "published" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty {
+ return this.ActivityStreamsPublished
+}
+
+// GetActivityStreamsReplies returns the "replies" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty {
+ return this.ActivityStreamsReplies
+}
+
+// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty {
+ return this.ActivityStreamsSensitive
+}
+
+// GetActivityStreamsShares returns the "shares" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty {
+ return this.ActivityStreamsShares
+}
+
+// GetActivityStreamsSource returns the "source" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty {
+ return this.ActivityStreamsSource
+}
+
+// GetActivityStreamsStartTime returns the "startTime" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty {
+ return this.ActivityStreamsStartTime
+}
+
+// GetActivityStreamsSummary returns the "summary" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty {
+ return this.ActivityStreamsSummary
+}
+
+// GetActivityStreamsTag returns the "tag" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty {
+ return this.ActivityStreamsTag
+}
+
+// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsTo() vocab.ActivityStreamsToProperty {
+ return this.ActivityStreamsTo
+}
+
+// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty {
+ return this.ActivityStreamsUpdated
+}
+
+// GetActivityStreamsUrl returns the "url" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceApproval) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty {
+ return this.ActivityStreamsUrl
+}
+
+// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceApproval) GetJSONLDId() vocab.JSONLDIdProperty {
+ return this.JSONLDId
+}
+
+// GetJSONLDType returns the "type" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceApproval) GetJSONLDType() vocab.JSONLDTypeProperty {
+ return this.JSONLDType
+}
+
+// GetTypeName returns the name of this type.
+func (this GoToSocialAnnounceApproval) GetTypeName() string {
+ return "AnnounceApproval"
+}
+
+// GetUnknownProperties returns the unknown properties for the AnnounceApproval
+// type. Note that this should not be used by app developers. It is only used
+// to help determine which implementation is LessThan the other. Developers
+// who are creating a different implementation of this type's interface can
+// use this method in their LessThan implementation, but routine ActivityPub
+// applications should not use this to bypass the code generation tool.
+func (this GoToSocialAnnounceApproval) GetUnknownProperties() map[string]interface{} {
+ return this.unknown
+}
+
+// IsExtending returns true if the AnnounceApproval type extends from the other
+// type.
+func (this GoToSocialAnnounceApproval) IsExtending(other vocab.Type) bool {
+ return GoToSocialAnnounceApprovalExtends(other)
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// type and the specific properties that are set. The value in the map is the
+// alias used to import the type and its properties.
+func (this GoToSocialAnnounceApproval) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsAttachment, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsAttributedTo, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsAudience, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsBcc, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsBto, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsCc, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsContent, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
+ m = this.helperJSONLDContext(this.JSONLDId, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsName, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsObject, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPreview, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPublished, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsReplies, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsShares, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsSource, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
+ m = this.helperJSONLDContext(this.JSONLDType, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
+
+ return m
+}
+
+// LessThan computes if this AnnounceApproval is lesser, with an arbitrary but
+// stable determination.
+func (this GoToSocialAnnounceApproval) LessThan(o vocab.GoToSocialAnnounceApproval) bool {
+ // Begin: Compare known properties
+ // Compare property "altitude"
+ if lhs, rhs := this.ActivityStreamsAltitude, o.GetActivityStreamsAltitude(); 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 "attachment"
+ if lhs, rhs := this.ActivityStreamsAttachment, o.GetActivityStreamsAttachment(); 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 "attributedTo"
+ if lhs, rhs := this.ActivityStreamsAttributedTo, o.GetActivityStreamsAttributedTo(); 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 "audience"
+ if lhs, rhs := this.ActivityStreamsAudience, o.GetActivityStreamsAudience(); 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 "bcc"
+ if lhs, rhs := this.ActivityStreamsBcc, o.GetActivityStreamsBcc(); 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 "bto"
+ if lhs, rhs := this.ActivityStreamsBto, o.GetActivityStreamsBto(); 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 "cc"
+ if lhs, rhs := this.ActivityStreamsCc, o.GetActivityStreamsCc(); 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 "content"
+ if lhs, rhs := this.ActivityStreamsContent, o.GetActivityStreamsContent(); 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 "context"
+ if lhs, rhs := this.ActivityStreamsContext, o.GetActivityStreamsContext(); 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 "duration"
+ if lhs, rhs := this.ActivityStreamsDuration, o.GetActivityStreamsDuration(); 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 "endTime"
+ if lhs, rhs := this.ActivityStreamsEndTime, o.GetActivityStreamsEndTime(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
+ // Compare property "generator"
+ if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ 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) {
+ 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 "id"
+ if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); 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 "image"
+ if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); 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 "inReplyTo"
+ if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); 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 "likes"
+ if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); 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 "location"
+ if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); 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 "mediaType"
+ if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); 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 "name"
+ if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); 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 "object"
+ if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); 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 "preview"
+ if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); 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 "published"
+ if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); 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 "replies"
+ if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); 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 "sensitive"
+ if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); 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 "shares"
+ if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); 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 "source"
+ if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); 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 "startTime"
+ if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); 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 "summary"
+ if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); 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 "tag"
+ if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); 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 "to"
+ if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); 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 "type"
+ if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); 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 "updated"
+ if lhs, rhs := this.ActivityStreamsUpdated, o.GetActivityStreamsUpdated(); 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 "url"
+ if lhs, rhs := this.ActivityStreamsUrl, o.GetActivityStreamsUrl(); 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
+ // End: Compare known properties
+
+ // Begin: Compare unknown properties (only by number of them)
+ if len(this.unknown) < len(o.GetUnknownProperties()) {
+ return true
+ } else if len(o.GetUnknownProperties()) < len(this.unknown) {
+ return false
+ } // End: Compare unknown properties (only by number of them)
+
+ // All properties are the same.
+ return false
+}
+
+// Serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format.
+func (this GoToSocialAnnounceApproval) Serialize() (map[string]interface{}, error) {
+ m := make(map[string]interface{})
+ typeName := "AnnounceApproval"
+ if len(this.alias) > 0 {
+ typeName = this.alias + ":" + "AnnounceApproval"
+ }
+ m["type"] = typeName
+ // Begin: Serialize known properties
+ // Maybe serialize property "altitude"
+ if this.ActivityStreamsAltitude != nil {
+ if i, err := this.ActivityStreamsAltitude.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAltitude.Name()] = i
+ }
+ }
+ // Maybe serialize property "attachment"
+ if this.ActivityStreamsAttachment != nil {
+ if i, err := this.ActivityStreamsAttachment.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAttachment.Name()] = i
+ }
+ }
+ // Maybe serialize property "attributedTo"
+ if this.ActivityStreamsAttributedTo != nil {
+ if i, err := this.ActivityStreamsAttributedTo.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAttributedTo.Name()] = i
+ }
+ }
+ // Maybe serialize property "audience"
+ if this.ActivityStreamsAudience != nil {
+ if i, err := this.ActivityStreamsAudience.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAudience.Name()] = i
+ }
+ }
+ // Maybe serialize property "bcc"
+ if this.ActivityStreamsBcc != nil {
+ if i, err := this.ActivityStreamsBcc.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsBcc.Name()] = i
+ }
+ }
+ // Maybe serialize property "bto"
+ if this.ActivityStreamsBto != nil {
+ if i, err := this.ActivityStreamsBto.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsBto.Name()] = i
+ }
+ }
+ // Maybe serialize property "cc"
+ if this.ActivityStreamsCc != nil {
+ if i, err := this.ActivityStreamsCc.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsCc.Name()] = i
+ }
+ }
+ // Maybe serialize property "content"
+ if this.ActivityStreamsContent != nil {
+ if i, err := this.ActivityStreamsContent.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsContent.Name()] = i
+ }
+ }
+ // Maybe serialize property "context"
+ if this.ActivityStreamsContext != nil {
+ if i, err := this.ActivityStreamsContext.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsContext.Name()] = i
+ }
+ }
+ // Maybe serialize property "duration"
+ if this.ActivityStreamsDuration != nil {
+ if i, err := this.ActivityStreamsDuration.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsDuration.Name()] = i
+ }
+ }
+ // Maybe serialize property "endTime"
+ if this.ActivityStreamsEndTime != nil {
+ if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsEndTime.Name()] = i
+ }
+ }
+ // Maybe serialize property "generator"
+ if this.ActivityStreamsGenerator != nil {
+ if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsGenerator.Name()] = i
+ }
+ }
+ // Maybe serialize property "icon"
+ if this.ActivityStreamsIcon != nil {
+ if i, err := this.ActivityStreamsIcon.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsIcon.Name()] = i
+ }
+ }
+ // Maybe serialize property "id"
+ if this.JSONLDId != nil {
+ if i, err := this.JSONLDId.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.JSONLDId.Name()] = i
+ }
+ }
+ // Maybe serialize property "image"
+ if this.ActivityStreamsImage != nil {
+ if i, err := this.ActivityStreamsImage.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsImage.Name()] = i
+ }
+ }
+ // Maybe serialize property "inReplyTo"
+ if this.ActivityStreamsInReplyTo != nil {
+ if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsInReplyTo.Name()] = i
+ }
+ }
+ // Maybe serialize property "likes"
+ if this.ActivityStreamsLikes != nil {
+ if i, err := this.ActivityStreamsLikes.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsLikes.Name()] = i
+ }
+ }
+ // Maybe serialize property "location"
+ if this.ActivityStreamsLocation != nil {
+ if i, err := this.ActivityStreamsLocation.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsLocation.Name()] = i
+ }
+ }
+ // Maybe serialize property "mediaType"
+ if this.ActivityStreamsMediaType != nil {
+ if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsMediaType.Name()] = i
+ }
+ }
+ // Maybe serialize property "name"
+ if this.ActivityStreamsName != nil {
+ if i, err := this.ActivityStreamsName.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsName.Name()] = i
+ }
+ }
+ // Maybe serialize property "object"
+ if this.ActivityStreamsObject != nil {
+ if i, err := this.ActivityStreamsObject.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsObject.Name()] = i
+ }
+ }
+ // Maybe serialize property "preview"
+ if this.ActivityStreamsPreview != nil {
+ if i, err := this.ActivityStreamsPreview.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsPreview.Name()] = i
+ }
+ }
+ // Maybe serialize property "published"
+ if this.ActivityStreamsPublished != nil {
+ if i, err := this.ActivityStreamsPublished.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsPublished.Name()] = i
+ }
+ }
+ // Maybe serialize property "replies"
+ if this.ActivityStreamsReplies != nil {
+ if i, err := this.ActivityStreamsReplies.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsReplies.Name()] = i
+ }
+ }
+ // Maybe serialize property "sensitive"
+ if this.ActivityStreamsSensitive != nil {
+ if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsSensitive.Name()] = i
+ }
+ }
+ // Maybe serialize property "shares"
+ if this.ActivityStreamsShares != nil {
+ if i, err := this.ActivityStreamsShares.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsShares.Name()] = i
+ }
+ }
+ // Maybe serialize property "source"
+ if this.ActivityStreamsSource != nil {
+ if i, err := this.ActivityStreamsSource.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsSource.Name()] = i
+ }
+ }
+ // Maybe serialize property "startTime"
+ if this.ActivityStreamsStartTime != nil {
+ if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsStartTime.Name()] = i
+ }
+ }
+ // Maybe serialize property "summary"
+ if this.ActivityStreamsSummary != nil {
+ if i, err := this.ActivityStreamsSummary.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsSummary.Name()] = i
+ }
+ }
+ // Maybe serialize property "tag"
+ if this.ActivityStreamsTag != nil {
+ if i, err := this.ActivityStreamsTag.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsTag.Name()] = i
+ }
+ }
+ // Maybe serialize property "to"
+ if this.ActivityStreamsTo != nil {
+ if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsTo.Name()] = i
+ }
+ }
+ // Maybe serialize property "type"
+ if this.JSONLDType != nil {
+ if i, err := this.JSONLDType.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.JSONLDType.Name()] = i
+ }
+ }
+ // Maybe serialize property "updated"
+ if this.ActivityStreamsUpdated != nil {
+ if i, err := this.ActivityStreamsUpdated.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsUpdated.Name()] = i
+ }
+ }
+ // Maybe serialize property "url"
+ if this.ActivityStreamsUrl != nil {
+ if i, err := this.ActivityStreamsUrl.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsUrl.Name()] = i
+ }
+ }
+ // End: Serialize known properties
+
+ // Begin: Serialize unknown properties
+ for k, v := range this.unknown {
+ // To be safe, ensure we aren't overwriting a known property
+ if _, has := m[k]; !has {
+ m[k] = v
+ }
+ }
+ // End: Serialize unknown properties
+
+ return m, nil
+}
+
+// SetActivityStreamsAltitude sets the "altitude" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) {
+ this.ActivityStreamsAltitude = i
+}
+
+// SetActivityStreamsAttachment sets the "attachment" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) {
+ this.ActivityStreamsAttachment = i
+}
+
+// SetActivityStreamsAttributedTo sets the "attributedTo" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) {
+ this.ActivityStreamsAttributedTo = i
+}
+
+// SetActivityStreamsAudience sets the "audience" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) {
+ this.ActivityStreamsAudience = i
+}
+
+// SetActivityStreamsBcc sets the "bcc" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) {
+ this.ActivityStreamsBcc = i
+}
+
+// SetActivityStreamsBto sets the "bto" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) {
+ this.ActivityStreamsBto = i
+}
+
+// SetActivityStreamsCc sets the "cc" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) {
+ this.ActivityStreamsCc = i
+}
+
+// SetActivityStreamsContent sets the "content" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) {
+ this.ActivityStreamsContent = i
+}
+
+// SetActivityStreamsContext sets the "context" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) {
+ this.ActivityStreamsContext = i
+}
+
+// SetActivityStreamsDuration sets the "duration" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) {
+ this.ActivityStreamsDuration = i
+}
+
+// SetActivityStreamsEndTime sets the "endTime" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) {
+ this.ActivityStreamsEndTime = i
+}
+
+// SetActivityStreamsGenerator sets the "generator" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) {
+ this.ActivityStreamsGenerator = i
+}
+
+// SetActivityStreamsIcon sets the "icon" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) {
+ this.ActivityStreamsIcon = i
+}
+
+// SetActivityStreamsImage sets the "image" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) {
+ this.ActivityStreamsImage = i
+}
+
+// SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) {
+ this.ActivityStreamsInReplyTo = i
+}
+
+// SetActivityStreamsLikes sets the "likes" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) {
+ this.ActivityStreamsLikes = i
+}
+
+// SetActivityStreamsLocation sets the "location" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) {
+ this.ActivityStreamsLocation = i
+}
+
+// SetActivityStreamsMediaType sets the "mediaType" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) {
+ this.ActivityStreamsMediaType = i
+}
+
+// SetActivityStreamsName sets the "name" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) {
+ this.ActivityStreamsName = i
+}
+
+// SetActivityStreamsObject sets the "object" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) {
+ this.ActivityStreamsObject = i
+}
+
+// SetActivityStreamsPreview sets the "preview" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) {
+ this.ActivityStreamsPreview = i
+}
+
+// SetActivityStreamsPublished sets the "published" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) {
+ this.ActivityStreamsPublished = i
+}
+
+// SetActivityStreamsReplies sets the "replies" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) {
+ this.ActivityStreamsReplies = i
+}
+
+// SetActivityStreamsSensitive sets the "sensitive" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) {
+ this.ActivityStreamsSensitive = i
+}
+
+// SetActivityStreamsShares sets the "shares" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) {
+ this.ActivityStreamsShares = i
+}
+
+// SetActivityStreamsSource sets the "source" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) {
+ this.ActivityStreamsSource = i
+}
+
+// SetActivityStreamsStartTime sets the "startTime" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) {
+ this.ActivityStreamsStartTime = i
+}
+
+// SetActivityStreamsSummary sets the "summary" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) {
+ this.ActivityStreamsSummary = i
+}
+
+// SetActivityStreamsTag sets the "tag" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) {
+ this.ActivityStreamsTag = i
+}
+
+// SetActivityStreamsTo sets the "to" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) {
+ this.ActivityStreamsTo = i
+}
+
+// SetActivityStreamsUpdated sets the "updated" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) {
+ this.ActivityStreamsUpdated = i
+}
+
+// SetActivityStreamsUrl sets the "url" property.
+func (this *GoToSocialAnnounceApproval) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) {
+ this.ActivityStreamsUrl = i
+}
+
+// SetJSONLDId sets the "id" property.
+func (this *GoToSocialAnnounceApproval) SetJSONLDId(i vocab.JSONLDIdProperty) {
+ this.JSONLDId = i
+}
+
+// SetJSONLDType sets the "type" property.
+func (this *GoToSocialAnnounceApproval) SetJSONLDType(i vocab.JSONLDTypeProperty) {
+ this.JSONLDType = i
+}
+
+// VocabularyURI returns the vocabulary's URI as a string.
+func (this GoToSocialAnnounceApproval) VocabularyURI() string {
+ return "https://gotosocial.org/ns"
+}
+
+// helperJSONLDContext obtains the context uris and their aliases from a property,
+// if it is not nil.
+func (this GoToSocialAnnounceApproval) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string {
+ if i == nil {
+ return toMerge
+ }
+ for k, v := range i.JSONLDContext() {
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ toMerge[k] = v
+ }
+ return toMerge
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_doc.go
new file mode 100644
index 000000000..ba2aa3d93
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package typelikeapproval contains the implementation for the LikeApproval type.
+// All applications are strongly encouraged to use the interface instead of
+// this concrete definition. The interfaces allow applications to consume only
+// the types and properties needed and be independent of the go-fed
+// implementation if another alternative implementation is created. This
+// package is code-generated and subject to the same license as the go-fed
+// tool used to generate it.
+//
+// This package is independent of other types' and properties' implementations
+// by having a Manager injected into it to act as a factory for the concrete
+// implementations. The implementations have been generated into their own
+// separate subpackages for each vocabulary.
+//
+// Strongly consider using the interfaces instead of this package.
+package typelikeapproval
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_pkg.go
new file mode 100644
index 000000000..257786c91
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_pkg.go
@@ -0,0 +1,179 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typelikeapproval
+
+import vocab "github.com/superseriousbusiness/activity/streams/vocab"
+
+var mgr privateManager
+
+var typePropertyConstructor func() vocab.JSONLDTypeProperty
+
+// privateManager abstracts the code-generated manager that provides access to
+// concrete implementations.
+type privateManager interface {
+ // DeserializeAltitudePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsAltitudeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
+ // DeserializeAttachmentPropertyActivityStreams returns the
+ // deserialization method for the "ActivityStreamsAttachmentProperty"
+ // non-functional property in the vocabulary "ActivityStreams"
+ DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
+ // DeserializeAttributedToPropertyActivityStreams returns the
+ // deserialization method for the
+ // "ActivityStreamsAttributedToProperty" non-functional property in
+ // the vocabulary "ActivityStreams"
+ DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
+ // DeserializeAudiencePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsAudienceProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
+ // DeserializeBccPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsBccProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
+ // DeserializeBtoPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsBtoProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
+ // DeserializeCcPropertyActivityStreams returns the deserialization method
+ // for the "ActivityStreamsCcProperty" non-functional property in the
+ // vocabulary "ActivityStreams"
+ DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
+ // DeserializeContentPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsContentProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
+ // DeserializeContextPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsContextProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
+ // DeserializeDurationPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsDurationProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
+ // DeserializeEndTimePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsEndTimeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
+ // DeserializeGeneratorPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsGeneratorProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
+ // DeserializeIconPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsIconProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
+ // DeserializeIdPropertyJSONLD returns the deserialization method for the
+ // "JSONLDIdProperty" non-functional property in the vocabulary
+ // "JSONLD"
+ DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
+ // DeserializeImagePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsImageProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
+ // DeserializeInReplyToPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsInReplyToProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
+ // DeserializeLikesPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsLikesProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
+ // DeserializeLocationPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsLocationProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
+ // DeserializeMediaTypePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsMediaTypeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
+ // DeserializeNamePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsNameProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
+ // DeserializeObjectPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsObjectProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
+ // DeserializePreviewPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsPreviewProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
+ // DeserializePublishedPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsPublishedProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
+ // DeserializeRepliesPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsRepliesProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
+ // DeserializeSensitivePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSensitiveProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
+ // DeserializeSharesPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSharesProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
+ // DeserializeSourcePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSourceProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
+ // DeserializeStartTimePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsStartTimeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
+ // DeserializeSummaryPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSummaryProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
+ // DeserializeTagPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsTagProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
+ // DeserializeToPropertyActivityStreams returns the deserialization method
+ // for the "ActivityStreamsToProperty" non-functional property in the
+ // vocabulary "ActivityStreams"
+ DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
+ // DeserializeTypePropertyJSONLD returns the deserialization method for
+ // the "JSONLDTypeProperty" non-functional property in the vocabulary
+ // "JSONLD"
+ DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
+ // DeserializeUpdatedPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsUpdatedProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
+ // DeserializeUrlPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsUrlProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
+}
+
+// jsonldContexter is a private interface to determine the JSON-LD contexts and
+// aliases needed for functional and non-functional properties. It is a helper
+// interface for this implementation.
+type jsonldContexter interface {
+ // JSONLDContext returns the JSONLD URIs required in the context string
+ // for this property and the specific values that are set. The value
+ // in the map is the alias used to import the property's value or
+ // values.
+ JSONLDContext() map[string]string
+}
+
+// SetManager sets the manager package-global variable. For internal use only, do
+// not use as part of Application behavior. Must be called at golang init time.
+func SetManager(m privateManager) {
+ mgr = m
+}
+
+// SetTypePropertyConstructor sets the "type" property's constructor in the
+// package-global variable. For internal use only, do not use as part of
+// Application behavior. Must be called at golang init time. Permits
+// ActivityStreams types to correctly set their "type" property at
+// construction time, so users don't have to remember to do so each time. It
+// is dependency injected so other go-fed compatible implementations could
+// inject their own type.
+func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
+ typePropertyConstructor = f
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go
new file mode 100644
index 000000000..5004d2c0a
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go
@@ -0,0 +1,1639 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typelikeapproval
+
+import (
+ "fmt"
+ vocab "github.com/superseriousbusiness/activity/streams/vocab"
+ "strings"
+)
+
+type GoToSocialLikeApproval struct {
+ ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty
+ ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty
+ ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty
+ ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty
+ ActivityStreamsBcc vocab.ActivityStreamsBccProperty
+ ActivityStreamsBto vocab.ActivityStreamsBtoProperty
+ ActivityStreamsCc vocab.ActivityStreamsCcProperty
+ ActivityStreamsContent vocab.ActivityStreamsContentProperty
+ ActivityStreamsContext vocab.ActivityStreamsContextProperty
+ ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
+ ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
+ ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
+ ActivityStreamsIcon vocab.ActivityStreamsIconProperty
+ JSONLDId vocab.JSONLDIdProperty
+ ActivityStreamsImage vocab.ActivityStreamsImageProperty
+ ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
+ ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
+ ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
+ ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty
+ ActivityStreamsName vocab.ActivityStreamsNameProperty
+ ActivityStreamsObject vocab.ActivityStreamsObjectProperty
+ ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty
+ ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty
+ ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty
+ ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty
+ ActivityStreamsShares vocab.ActivityStreamsSharesProperty
+ ActivityStreamsSource vocab.ActivityStreamsSourceProperty
+ ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
+ ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
+ ActivityStreamsTag vocab.ActivityStreamsTagProperty
+ ActivityStreamsTo vocab.ActivityStreamsToProperty
+ JSONLDType vocab.JSONLDTypeProperty
+ ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
+ ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
+ alias string
+ unknown map[string]interface{}
+}
+
+// DeserializeLikeApproval creates a LikeApproval from a map representation that
+// has been unmarshalled from a text or binary format.
+func DeserializeLikeApproval(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialLikeApproval, error) {
+ alias := ""
+ aliasPrefix := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ aliasPrefix = a + ":"
+ }
+ this := &GoToSocialLikeApproval{
+ alias: alias,
+ unknown: make(map[string]interface{}),
+ }
+ if typeValue, ok := m["type"]; !ok {
+ return nil, fmt.Errorf("no \"type\" property in map")
+ } else if typeString, ok := typeValue.(string); ok {
+ typeName := strings.TrimPrefix(typeString, aliasPrefix)
+ if typeName != "LikeApproval" {
+ return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "LikeApproval", typeName)
+ }
+ // Fall through, success in finding a proper Type
+ } else if arrType, ok := typeValue.([]interface{}); ok {
+ found := false
+ for _, elemVal := range arrType {
+ if typeString, ok := elemVal.(string); ok && strings.TrimPrefix(typeString, aliasPrefix) == "LikeApproval" {
+ found = true
+ break
+ }
+ }
+ if !found {
+ return nil, fmt.Errorf("could not find a \"type\" property of value %q", "LikeApproval")
+ }
+ // Fall through, success in finding a proper Type
+ } else {
+ return nil, fmt.Errorf("\"type\" property is unrecognized type: %T", typeValue)
+ }
+ // Begin: Known property deserialization
+ if p, err := mgr.DeserializeAltitudePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAltitude = p
+ }
+ if p, err := mgr.DeserializeAttachmentPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAttachment = p
+ }
+ if p, err := mgr.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAttributedTo = p
+ }
+ if p, err := mgr.DeserializeAudiencePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAudience = p
+ }
+ if p, err := mgr.DeserializeBccPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsBcc = p
+ }
+ if p, err := mgr.DeserializeBtoPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsBto = p
+ }
+ if p, err := mgr.DeserializeCcPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsCc = p
+ }
+ if p, err := mgr.DeserializeContentPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsContent = p
+ }
+ if p, err := mgr.DeserializeContextPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsContext = p
+ }
+ if p, err := mgr.DeserializeDurationPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsDuration = p
+ }
+ if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsEndTime = p
+ }
+ if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsGenerator = p
+ }
+ if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsIcon = p
+ }
+ if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.JSONLDId = p
+ }
+ if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsImage = p
+ }
+ if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsInReplyTo = p
+ }
+ if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsLikes = p
+ }
+ if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsLocation = p
+ }
+ if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsMediaType = p
+ }
+ if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsName = p
+ }
+ if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsObject = p
+ }
+ if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsPreview = p
+ }
+ if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsPublished = p
+ }
+ if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsReplies = p
+ }
+ if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsSensitive = p
+ }
+ if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsShares = p
+ }
+ if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsSource = p
+ }
+ if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsStartTime = p
+ }
+ if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsSummary = p
+ }
+ if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsTag = p
+ }
+ if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsTo = p
+ }
+ if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.JSONLDType = p
+ }
+ if p, err := mgr.DeserializeUpdatedPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsUpdated = p
+ }
+ if p, err := mgr.DeserializeUrlPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsUrl = p
+ }
+ // End: Known property deserialization
+
+ // Begin: Unknown deserialization
+ for k, v := range m {
+ // Begin: Code that ensures a property name is unknown
+ if k == "altitude" {
+ continue
+ } else if k == "attachment" {
+ continue
+ } else if k == "attributedTo" {
+ continue
+ } else if k == "audience" {
+ continue
+ } else if k == "bcc" {
+ continue
+ } else if k == "bto" {
+ continue
+ } else if k == "cc" {
+ continue
+ } else if k == "content" {
+ continue
+ } else if k == "contentMap" {
+ continue
+ } else if k == "context" {
+ continue
+ } else if k == "duration" {
+ continue
+ } else if k == "endTime" {
+ continue
+ } else if k == "generator" {
+ continue
+ } else if k == "icon" {
+ continue
+ } else if k == "id" {
+ continue
+ } else if k == "image" {
+ continue
+ } else if k == "inReplyTo" {
+ continue
+ } else if k == "likes" {
+ continue
+ } else if k == "location" {
+ continue
+ } else if k == "mediaType" {
+ continue
+ } else if k == "name" {
+ continue
+ } else if k == "nameMap" {
+ continue
+ } else if k == "object" {
+ continue
+ } else if k == "preview" {
+ continue
+ } else if k == "published" {
+ continue
+ } else if k == "replies" {
+ continue
+ } else if k == "sensitive" {
+ continue
+ } else if k == "shares" {
+ continue
+ } else if k == "source" {
+ continue
+ } else if k == "startTime" {
+ continue
+ } else if k == "summary" {
+ continue
+ } else if k == "summaryMap" {
+ continue
+ } else if k == "tag" {
+ continue
+ } else if k == "to" {
+ continue
+ } else if k == "type" {
+ continue
+ } else if k == "updated" {
+ continue
+ } else if k == "url" {
+ continue
+ } // End: Code that ensures a property name is unknown
+
+ this.unknown[k] = v
+ }
+ // End: Unknown deserialization
+
+ return this, nil
+}
+
+// GoToSocialLikeApprovalExtends returns true if the LikeApproval type extends
+// from the other type.
+func GoToSocialLikeApprovalExtends(other vocab.Type) bool {
+ extensions := []string{"Object"}
+ for _, ext := range extensions {
+ if ext == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// IsOrExtendsLikeApproval returns true if the other provided type is the
+// LikeApproval type or extends from the LikeApproval type.
+func IsOrExtendsLikeApproval(other vocab.Type) bool {
+ if other.GetTypeName() == "LikeApproval" {
+ return true
+ }
+ return LikeApprovalIsExtendedBy(other)
+}
+
+// LikeApprovalIsDisjointWith returns true if the other provided type is disjoint
+// with the LikeApproval type.
+func LikeApprovalIsDisjointWith(other vocab.Type) bool {
+ disjointWith := []string{"Hashtag", "Link", "Mention"}
+ for _, disjoint := range disjointWith {
+ if disjoint == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// LikeApprovalIsExtendedBy returns true if the other provided type extends from
+// the LikeApproval type. Note that it returns false if the types are the
+// same; see the "IsOrExtendsLikeApproval" variant instead.
+func LikeApprovalIsExtendedBy(other vocab.Type) bool {
+ // Shortcut implementation: is not extended by anything.
+ return false
+}
+
+// NewGoToSocialLikeApproval creates a new LikeApproval type
+func NewGoToSocialLikeApproval() *GoToSocialLikeApproval {
+ typeProp := typePropertyConstructor()
+ typeProp.AppendXMLSchemaString("LikeApproval")
+ return &GoToSocialLikeApproval{
+ JSONLDType: typeProp,
+ alias: "",
+ unknown: make(map[string]interface{}),
+ }
+}
+
+// GetActivityStreamsAltitude returns the "altitude" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty {
+ return this.ActivityStreamsAltitude
+}
+
+// GetActivityStreamsAttachment returns the "attachment" property if it exists,
+// and nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty {
+ return this.ActivityStreamsAttachment
+}
+
+// GetActivityStreamsAttributedTo returns the "attributedTo" property if it
+// exists, and nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty {
+ return this.ActivityStreamsAttributedTo
+}
+
+// GetActivityStreamsAudience returns the "audience" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty {
+ return this.ActivityStreamsAudience
+}
+
+// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty {
+ return this.ActivityStreamsBcc
+}
+
+// GetActivityStreamsBto returns the "bto" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty {
+ return this.ActivityStreamsBto
+}
+
+// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty {
+ return this.ActivityStreamsCc
+}
+
+// GetActivityStreamsContent returns the "content" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty {
+ return this.ActivityStreamsContent
+}
+
+// GetActivityStreamsContext returns the "context" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty {
+ return this.ActivityStreamsContext
+}
+
+// GetActivityStreamsDuration returns the "duration" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty {
+ return this.ActivityStreamsDuration
+}
+
+// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty {
+ return this.ActivityStreamsEndTime
+}
+
+// GetActivityStreamsGenerator returns the "generator" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty {
+ return this.ActivityStreamsGenerator
+}
+
+// GetActivityStreamsIcon returns the "icon" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty {
+ return this.ActivityStreamsIcon
+}
+
+// GetActivityStreamsImage returns the "image" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty {
+ return this.ActivityStreamsImage
+}
+
+// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty {
+ return this.ActivityStreamsInReplyTo
+}
+
+// GetActivityStreamsLikes returns the "likes" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty {
+ return this.ActivityStreamsLikes
+}
+
+// GetActivityStreamsLocation returns the "location" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty {
+ return this.ActivityStreamsLocation
+}
+
+// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty {
+ return this.ActivityStreamsMediaType
+}
+
+// GetActivityStreamsName returns the "name" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsName() vocab.ActivityStreamsNameProperty {
+ return this.ActivityStreamsName
+}
+
+// GetActivityStreamsObject returns the "object" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty {
+ return this.ActivityStreamsObject
+}
+
+// GetActivityStreamsPreview returns the "preview" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty {
+ return this.ActivityStreamsPreview
+}
+
+// GetActivityStreamsPublished returns the "published" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty {
+ return this.ActivityStreamsPublished
+}
+
+// GetActivityStreamsReplies returns the "replies" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty {
+ return this.ActivityStreamsReplies
+}
+
+// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty {
+ return this.ActivityStreamsSensitive
+}
+
+// GetActivityStreamsShares returns the "shares" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty {
+ return this.ActivityStreamsShares
+}
+
+// GetActivityStreamsSource returns the "source" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty {
+ return this.ActivityStreamsSource
+}
+
+// GetActivityStreamsStartTime returns the "startTime" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty {
+ return this.ActivityStreamsStartTime
+}
+
+// GetActivityStreamsSummary returns the "summary" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty {
+ return this.ActivityStreamsSummary
+}
+
+// GetActivityStreamsTag returns the "tag" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty {
+ return this.ActivityStreamsTag
+}
+
+// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsTo() vocab.ActivityStreamsToProperty {
+ return this.ActivityStreamsTo
+}
+
+// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty {
+ return this.ActivityStreamsUpdated
+}
+
+// GetActivityStreamsUrl returns the "url" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeApproval) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty {
+ return this.ActivityStreamsUrl
+}
+
+// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+func (this GoToSocialLikeApproval) GetJSONLDId() vocab.JSONLDIdProperty {
+ return this.JSONLDId
+}
+
+// GetJSONLDType returns the "type" property if it exists, and nil otherwise.
+func (this GoToSocialLikeApproval) GetJSONLDType() vocab.JSONLDTypeProperty {
+ return this.JSONLDType
+}
+
+// GetTypeName returns the name of this type.
+func (this GoToSocialLikeApproval) GetTypeName() string {
+ return "LikeApproval"
+}
+
+// GetUnknownProperties returns the unknown properties for the LikeApproval type.
+// Note that this should not be used by app developers. It is only used to
+// help determine which implementation is LessThan the other. Developers who
+// are creating a different implementation of this type's interface can use
+// this method in their LessThan implementation, but routine ActivityPub
+// applications should not use this to bypass the code generation tool.
+func (this GoToSocialLikeApproval) GetUnknownProperties() map[string]interface{} {
+ return this.unknown
+}
+
+// IsExtending returns true if the LikeApproval type extends from the other type.
+func (this GoToSocialLikeApproval) IsExtending(other vocab.Type) bool {
+ return GoToSocialLikeApprovalExtends(other)
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// type and the specific properties that are set. The value in the map is the
+// alias used to import the type and its properties.
+func (this GoToSocialLikeApproval) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsAttachment, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsAttributedTo, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsAudience, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsBcc, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsBto, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsCc, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsContent, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
+ m = this.helperJSONLDContext(this.JSONLDId, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsName, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsObject, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPreview, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPublished, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsReplies, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsShares, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsSource, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
+ m = this.helperJSONLDContext(this.JSONLDType, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
+
+ return m
+}
+
+// LessThan computes if this LikeApproval is lesser, with an arbitrary but stable
+// determination.
+func (this GoToSocialLikeApproval) LessThan(o vocab.GoToSocialLikeApproval) bool {
+ // Begin: Compare known properties
+ // Compare property "altitude"
+ if lhs, rhs := this.ActivityStreamsAltitude, o.GetActivityStreamsAltitude(); 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 "attachment"
+ if lhs, rhs := this.ActivityStreamsAttachment, o.GetActivityStreamsAttachment(); 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 "attributedTo"
+ if lhs, rhs := this.ActivityStreamsAttributedTo, o.GetActivityStreamsAttributedTo(); 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 "audience"
+ if lhs, rhs := this.ActivityStreamsAudience, o.GetActivityStreamsAudience(); 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 "bcc"
+ if lhs, rhs := this.ActivityStreamsBcc, o.GetActivityStreamsBcc(); 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 "bto"
+ if lhs, rhs := this.ActivityStreamsBto, o.GetActivityStreamsBto(); 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 "cc"
+ if lhs, rhs := this.ActivityStreamsCc, o.GetActivityStreamsCc(); 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 "content"
+ if lhs, rhs := this.ActivityStreamsContent, o.GetActivityStreamsContent(); 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 "context"
+ if lhs, rhs := this.ActivityStreamsContext, o.GetActivityStreamsContext(); 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 "duration"
+ if lhs, rhs := this.ActivityStreamsDuration, o.GetActivityStreamsDuration(); 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 "endTime"
+ if lhs, rhs := this.ActivityStreamsEndTime, o.GetActivityStreamsEndTime(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
+ // Compare property "generator"
+ if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ 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) {
+ 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 "id"
+ if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); 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 "image"
+ if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); 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 "inReplyTo"
+ if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); 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 "likes"
+ if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); 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 "location"
+ if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); 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 "mediaType"
+ if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); 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 "name"
+ if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); 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 "object"
+ if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); 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 "preview"
+ if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); 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 "published"
+ if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); 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 "replies"
+ if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); 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 "sensitive"
+ if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); 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 "shares"
+ if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); 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 "source"
+ if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); 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 "startTime"
+ if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); 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 "summary"
+ if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); 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 "tag"
+ if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); 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 "to"
+ if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); 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 "type"
+ if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); 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 "updated"
+ if lhs, rhs := this.ActivityStreamsUpdated, o.GetActivityStreamsUpdated(); 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 "url"
+ if lhs, rhs := this.ActivityStreamsUrl, o.GetActivityStreamsUrl(); 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
+ // End: Compare known properties
+
+ // Begin: Compare unknown properties (only by number of them)
+ if len(this.unknown) < len(o.GetUnknownProperties()) {
+ return true
+ } else if len(o.GetUnknownProperties()) < len(this.unknown) {
+ return false
+ } // End: Compare unknown properties (only by number of them)
+
+ // All properties are the same.
+ return false
+}
+
+// Serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format.
+func (this GoToSocialLikeApproval) Serialize() (map[string]interface{}, error) {
+ m := make(map[string]interface{})
+ typeName := "LikeApproval"
+ if len(this.alias) > 0 {
+ typeName = this.alias + ":" + "LikeApproval"
+ }
+ m["type"] = typeName
+ // Begin: Serialize known properties
+ // Maybe serialize property "altitude"
+ if this.ActivityStreamsAltitude != nil {
+ if i, err := this.ActivityStreamsAltitude.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAltitude.Name()] = i
+ }
+ }
+ // Maybe serialize property "attachment"
+ if this.ActivityStreamsAttachment != nil {
+ if i, err := this.ActivityStreamsAttachment.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAttachment.Name()] = i
+ }
+ }
+ // Maybe serialize property "attributedTo"
+ if this.ActivityStreamsAttributedTo != nil {
+ if i, err := this.ActivityStreamsAttributedTo.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAttributedTo.Name()] = i
+ }
+ }
+ // Maybe serialize property "audience"
+ if this.ActivityStreamsAudience != nil {
+ if i, err := this.ActivityStreamsAudience.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAudience.Name()] = i
+ }
+ }
+ // Maybe serialize property "bcc"
+ if this.ActivityStreamsBcc != nil {
+ if i, err := this.ActivityStreamsBcc.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsBcc.Name()] = i
+ }
+ }
+ // Maybe serialize property "bto"
+ if this.ActivityStreamsBto != nil {
+ if i, err := this.ActivityStreamsBto.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsBto.Name()] = i
+ }
+ }
+ // Maybe serialize property "cc"
+ if this.ActivityStreamsCc != nil {
+ if i, err := this.ActivityStreamsCc.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsCc.Name()] = i
+ }
+ }
+ // Maybe serialize property "content"
+ if this.ActivityStreamsContent != nil {
+ if i, err := this.ActivityStreamsContent.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsContent.Name()] = i
+ }
+ }
+ // Maybe serialize property "context"
+ if this.ActivityStreamsContext != nil {
+ if i, err := this.ActivityStreamsContext.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsContext.Name()] = i
+ }
+ }
+ // Maybe serialize property "duration"
+ if this.ActivityStreamsDuration != nil {
+ if i, err := this.ActivityStreamsDuration.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsDuration.Name()] = i
+ }
+ }
+ // Maybe serialize property "endTime"
+ if this.ActivityStreamsEndTime != nil {
+ if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsEndTime.Name()] = i
+ }
+ }
+ // Maybe serialize property "generator"
+ if this.ActivityStreamsGenerator != nil {
+ if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsGenerator.Name()] = i
+ }
+ }
+ // Maybe serialize property "icon"
+ if this.ActivityStreamsIcon != nil {
+ if i, err := this.ActivityStreamsIcon.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsIcon.Name()] = i
+ }
+ }
+ // Maybe serialize property "id"
+ if this.JSONLDId != nil {
+ if i, err := this.JSONLDId.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.JSONLDId.Name()] = i
+ }
+ }
+ // Maybe serialize property "image"
+ if this.ActivityStreamsImage != nil {
+ if i, err := this.ActivityStreamsImage.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsImage.Name()] = i
+ }
+ }
+ // Maybe serialize property "inReplyTo"
+ if this.ActivityStreamsInReplyTo != nil {
+ if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsInReplyTo.Name()] = i
+ }
+ }
+ // Maybe serialize property "likes"
+ if this.ActivityStreamsLikes != nil {
+ if i, err := this.ActivityStreamsLikes.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsLikes.Name()] = i
+ }
+ }
+ // Maybe serialize property "location"
+ if this.ActivityStreamsLocation != nil {
+ if i, err := this.ActivityStreamsLocation.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsLocation.Name()] = i
+ }
+ }
+ // Maybe serialize property "mediaType"
+ if this.ActivityStreamsMediaType != nil {
+ if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsMediaType.Name()] = i
+ }
+ }
+ // Maybe serialize property "name"
+ if this.ActivityStreamsName != nil {
+ if i, err := this.ActivityStreamsName.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsName.Name()] = i
+ }
+ }
+ // Maybe serialize property "object"
+ if this.ActivityStreamsObject != nil {
+ if i, err := this.ActivityStreamsObject.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsObject.Name()] = i
+ }
+ }
+ // Maybe serialize property "preview"
+ if this.ActivityStreamsPreview != nil {
+ if i, err := this.ActivityStreamsPreview.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsPreview.Name()] = i
+ }
+ }
+ // Maybe serialize property "published"
+ if this.ActivityStreamsPublished != nil {
+ if i, err := this.ActivityStreamsPublished.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsPublished.Name()] = i
+ }
+ }
+ // Maybe serialize property "replies"
+ if this.ActivityStreamsReplies != nil {
+ if i, err := this.ActivityStreamsReplies.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsReplies.Name()] = i
+ }
+ }
+ // Maybe serialize property "sensitive"
+ if this.ActivityStreamsSensitive != nil {
+ if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsSensitive.Name()] = i
+ }
+ }
+ // Maybe serialize property "shares"
+ if this.ActivityStreamsShares != nil {
+ if i, err := this.ActivityStreamsShares.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsShares.Name()] = i
+ }
+ }
+ // Maybe serialize property "source"
+ if this.ActivityStreamsSource != nil {
+ if i, err := this.ActivityStreamsSource.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsSource.Name()] = i
+ }
+ }
+ // Maybe serialize property "startTime"
+ if this.ActivityStreamsStartTime != nil {
+ if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsStartTime.Name()] = i
+ }
+ }
+ // Maybe serialize property "summary"
+ if this.ActivityStreamsSummary != nil {
+ if i, err := this.ActivityStreamsSummary.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsSummary.Name()] = i
+ }
+ }
+ // Maybe serialize property "tag"
+ if this.ActivityStreamsTag != nil {
+ if i, err := this.ActivityStreamsTag.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsTag.Name()] = i
+ }
+ }
+ // Maybe serialize property "to"
+ if this.ActivityStreamsTo != nil {
+ if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsTo.Name()] = i
+ }
+ }
+ // Maybe serialize property "type"
+ if this.JSONLDType != nil {
+ if i, err := this.JSONLDType.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.JSONLDType.Name()] = i
+ }
+ }
+ // Maybe serialize property "updated"
+ if this.ActivityStreamsUpdated != nil {
+ if i, err := this.ActivityStreamsUpdated.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsUpdated.Name()] = i
+ }
+ }
+ // Maybe serialize property "url"
+ if this.ActivityStreamsUrl != nil {
+ if i, err := this.ActivityStreamsUrl.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsUrl.Name()] = i
+ }
+ }
+ // End: Serialize known properties
+
+ // Begin: Serialize unknown properties
+ for k, v := range this.unknown {
+ // To be safe, ensure we aren't overwriting a known property
+ if _, has := m[k]; !has {
+ m[k] = v
+ }
+ }
+ // End: Serialize unknown properties
+
+ return m, nil
+}
+
+// SetActivityStreamsAltitude sets the "altitude" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) {
+ this.ActivityStreamsAltitude = i
+}
+
+// SetActivityStreamsAttachment sets the "attachment" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) {
+ this.ActivityStreamsAttachment = i
+}
+
+// SetActivityStreamsAttributedTo sets the "attributedTo" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) {
+ this.ActivityStreamsAttributedTo = i
+}
+
+// SetActivityStreamsAudience sets the "audience" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) {
+ this.ActivityStreamsAudience = i
+}
+
+// SetActivityStreamsBcc sets the "bcc" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) {
+ this.ActivityStreamsBcc = i
+}
+
+// SetActivityStreamsBto sets the "bto" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) {
+ this.ActivityStreamsBto = i
+}
+
+// SetActivityStreamsCc sets the "cc" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) {
+ this.ActivityStreamsCc = i
+}
+
+// SetActivityStreamsContent sets the "content" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) {
+ this.ActivityStreamsContent = i
+}
+
+// SetActivityStreamsContext sets the "context" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) {
+ this.ActivityStreamsContext = i
+}
+
+// SetActivityStreamsDuration sets the "duration" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) {
+ this.ActivityStreamsDuration = i
+}
+
+// SetActivityStreamsEndTime sets the "endTime" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) {
+ this.ActivityStreamsEndTime = i
+}
+
+// SetActivityStreamsGenerator sets the "generator" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) {
+ this.ActivityStreamsGenerator = i
+}
+
+// SetActivityStreamsIcon sets the "icon" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) {
+ this.ActivityStreamsIcon = i
+}
+
+// SetActivityStreamsImage sets the "image" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) {
+ this.ActivityStreamsImage = i
+}
+
+// SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) {
+ this.ActivityStreamsInReplyTo = i
+}
+
+// SetActivityStreamsLikes sets the "likes" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) {
+ this.ActivityStreamsLikes = i
+}
+
+// SetActivityStreamsLocation sets the "location" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) {
+ this.ActivityStreamsLocation = i
+}
+
+// SetActivityStreamsMediaType sets the "mediaType" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) {
+ this.ActivityStreamsMediaType = i
+}
+
+// SetActivityStreamsName sets the "name" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) {
+ this.ActivityStreamsName = i
+}
+
+// SetActivityStreamsObject sets the "object" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) {
+ this.ActivityStreamsObject = i
+}
+
+// SetActivityStreamsPreview sets the "preview" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) {
+ this.ActivityStreamsPreview = i
+}
+
+// SetActivityStreamsPublished sets the "published" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) {
+ this.ActivityStreamsPublished = i
+}
+
+// SetActivityStreamsReplies sets the "replies" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) {
+ this.ActivityStreamsReplies = i
+}
+
+// SetActivityStreamsSensitive sets the "sensitive" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) {
+ this.ActivityStreamsSensitive = i
+}
+
+// SetActivityStreamsShares sets the "shares" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) {
+ this.ActivityStreamsShares = i
+}
+
+// SetActivityStreamsSource sets the "source" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) {
+ this.ActivityStreamsSource = i
+}
+
+// SetActivityStreamsStartTime sets the "startTime" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) {
+ this.ActivityStreamsStartTime = i
+}
+
+// SetActivityStreamsSummary sets the "summary" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) {
+ this.ActivityStreamsSummary = i
+}
+
+// SetActivityStreamsTag sets the "tag" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) {
+ this.ActivityStreamsTag = i
+}
+
+// SetActivityStreamsTo sets the "to" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) {
+ this.ActivityStreamsTo = i
+}
+
+// SetActivityStreamsUpdated sets the "updated" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) {
+ this.ActivityStreamsUpdated = i
+}
+
+// SetActivityStreamsUrl sets the "url" property.
+func (this *GoToSocialLikeApproval) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) {
+ this.ActivityStreamsUrl = i
+}
+
+// SetJSONLDId sets the "id" property.
+func (this *GoToSocialLikeApproval) SetJSONLDId(i vocab.JSONLDIdProperty) {
+ this.JSONLDId = i
+}
+
+// SetJSONLDType sets the "type" property.
+func (this *GoToSocialLikeApproval) SetJSONLDType(i vocab.JSONLDTypeProperty) {
+ this.JSONLDType = i
+}
+
+// VocabularyURI returns the vocabulary's URI as a string.
+func (this GoToSocialLikeApproval) VocabularyURI() string {
+ return "https://gotosocial.org/ns"
+}
+
+// helperJSONLDContext obtains the context uris and their aliases from a property,
+// if it is not nil.
+func (this GoToSocialLikeApproval) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string {
+ if i == nil {
+ return toMerge
+ }
+ for k, v := range i.JSONLDContext() {
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ toMerge[k] = v
+ }
+ return toMerge
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_doc.go
new file mode 100644
index 000000000..1fcd77550
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package typereplyapproval contains the implementation for the ReplyApproval
+// type. All applications are strongly encouraged to use the interface instead
+// of this concrete definition. The interfaces allow applications to consume
+// only the types and properties needed and be independent of the go-fed
+// implementation if another alternative implementation is created. This
+// package is code-generated and subject to the same license as the go-fed
+// tool used to generate it.
+//
+// This package is independent of other types' and properties' implementations
+// by having a Manager injected into it to act as a factory for the concrete
+// implementations. The implementations have been generated into their own
+// separate subpackages for each vocabulary.
+//
+// Strongly consider using the interfaces instead of this package.
+package typereplyapproval
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_pkg.go
new file mode 100644
index 000000000..3ca14a76b
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_pkg.go
@@ -0,0 +1,179 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typereplyapproval
+
+import vocab "github.com/superseriousbusiness/activity/streams/vocab"
+
+var mgr privateManager
+
+var typePropertyConstructor func() vocab.JSONLDTypeProperty
+
+// privateManager abstracts the code-generated manager that provides access to
+// concrete implementations.
+type privateManager interface {
+ // DeserializeAltitudePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsAltitudeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
+ // DeserializeAttachmentPropertyActivityStreams returns the
+ // deserialization method for the "ActivityStreamsAttachmentProperty"
+ // non-functional property in the vocabulary "ActivityStreams"
+ DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
+ // DeserializeAttributedToPropertyActivityStreams returns the
+ // deserialization method for the
+ // "ActivityStreamsAttributedToProperty" non-functional property in
+ // the vocabulary "ActivityStreams"
+ DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
+ // DeserializeAudiencePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsAudienceProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
+ // DeserializeBccPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsBccProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
+ // DeserializeBtoPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsBtoProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
+ // DeserializeCcPropertyActivityStreams returns the deserialization method
+ // for the "ActivityStreamsCcProperty" non-functional property in the
+ // vocabulary "ActivityStreams"
+ DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
+ // DeserializeContentPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsContentProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
+ // DeserializeContextPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsContextProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
+ // DeserializeDurationPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsDurationProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
+ // DeserializeEndTimePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsEndTimeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
+ // DeserializeGeneratorPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsGeneratorProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
+ // DeserializeIconPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsIconProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
+ // DeserializeIdPropertyJSONLD returns the deserialization method for the
+ // "JSONLDIdProperty" non-functional property in the vocabulary
+ // "JSONLD"
+ DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
+ // DeserializeImagePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsImageProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
+ // DeserializeInReplyToPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsInReplyToProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
+ // DeserializeLikesPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsLikesProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
+ // DeserializeLocationPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsLocationProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
+ // DeserializeMediaTypePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsMediaTypeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
+ // DeserializeNamePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsNameProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
+ // DeserializeObjectPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsObjectProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
+ // DeserializePreviewPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsPreviewProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
+ // DeserializePublishedPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsPublishedProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
+ // DeserializeRepliesPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsRepliesProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
+ // DeserializeSensitivePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSensitiveProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
+ // DeserializeSharesPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSharesProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
+ // DeserializeSourcePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSourceProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
+ // DeserializeStartTimePropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsStartTimeProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
+ // DeserializeSummaryPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsSummaryProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
+ // DeserializeTagPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsTagProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
+ // DeserializeToPropertyActivityStreams returns the deserialization method
+ // for the "ActivityStreamsToProperty" non-functional property in the
+ // vocabulary "ActivityStreams"
+ DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
+ // DeserializeTypePropertyJSONLD returns the deserialization method for
+ // the "JSONLDTypeProperty" non-functional property in the vocabulary
+ // "JSONLD"
+ DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
+ // DeserializeUpdatedPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsUpdatedProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
+ // DeserializeUrlPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsUrlProperty" non-functional property
+ // in the vocabulary "ActivityStreams"
+ DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
+}
+
+// jsonldContexter is a private interface to determine the JSON-LD contexts and
+// aliases needed for functional and non-functional properties. It is a helper
+// interface for this implementation.
+type jsonldContexter interface {
+ // JSONLDContext returns the JSONLD URIs required in the context string
+ // for this property and the specific values that are set. The value
+ // in the map is the alias used to import the property's value or
+ // values.
+ JSONLDContext() map[string]string
+}
+
+// SetManager sets the manager package-global variable. For internal use only, do
+// not use as part of Application behavior. Must be called at golang init time.
+func SetManager(m privateManager) {
+ mgr = m
+}
+
+// SetTypePropertyConstructor sets the "type" property's constructor in the
+// package-global variable. For internal use only, do not use as part of
+// Application behavior. Must be called at golang init time. Permits
+// ActivityStreams types to correctly set their "type" property at
+// construction time, so users don't have to remember to do so each time. It
+// is dependency injected so other go-fed compatible implementations could
+// inject their own type.
+func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
+ typePropertyConstructor = f
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go
new file mode 100644
index 000000000..890c1d67f
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go
@@ -0,0 +1,1639 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typereplyapproval
+
+import (
+ "fmt"
+ vocab "github.com/superseriousbusiness/activity/streams/vocab"
+ "strings"
+)
+
+type GoToSocialReplyApproval struct {
+ ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty
+ ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty
+ ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty
+ ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty
+ ActivityStreamsBcc vocab.ActivityStreamsBccProperty
+ ActivityStreamsBto vocab.ActivityStreamsBtoProperty
+ ActivityStreamsCc vocab.ActivityStreamsCcProperty
+ ActivityStreamsContent vocab.ActivityStreamsContentProperty
+ ActivityStreamsContext vocab.ActivityStreamsContextProperty
+ ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
+ ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
+ ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
+ ActivityStreamsIcon vocab.ActivityStreamsIconProperty
+ JSONLDId vocab.JSONLDIdProperty
+ ActivityStreamsImage vocab.ActivityStreamsImageProperty
+ ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
+ ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
+ ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
+ ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty
+ ActivityStreamsName vocab.ActivityStreamsNameProperty
+ ActivityStreamsObject vocab.ActivityStreamsObjectProperty
+ ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty
+ ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty
+ ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty
+ ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty
+ ActivityStreamsShares vocab.ActivityStreamsSharesProperty
+ ActivityStreamsSource vocab.ActivityStreamsSourceProperty
+ ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
+ ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
+ ActivityStreamsTag vocab.ActivityStreamsTagProperty
+ ActivityStreamsTo vocab.ActivityStreamsToProperty
+ JSONLDType vocab.JSONLDTypeProperty
+ ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
+ ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
+ alias string
+ unknown map[string]interface{}
+}
+
+// DeserializeReplyApproval creates a ReplyApproval from a map representation that
+// has been unmarshalled from a text or binary format.
+func DeserializeReplyApproval(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialReplyApproval, error) {
+ alias := ""
+ aliasPrefix := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ aliasPrefix = a + ":"
+ }
+ this := &GoToSocialReplyApproval{
+ alias: alias,
+ unknown: make(map[string]interface{}),
+ }
+ if typeValue, ok := m["type"]; !ok {
+ return nil, fmt.Errorf("no \"type\" property in map")
+ } else if typeString, ok := typeValue.(string); ok {
+ typeName := strings.TrimPrefix(typeString, aliasPrefix)
+ if typeName != "ReplyApproval" {
+ return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "ReplyApproval", typeName)
+ }
+ // Fall through, success in finding a proper Type
+ } else if arrType, ok := typeValue.([]interface{}); ok {
+ found := false
+ for _, elemVal := range arrType {
+ if typeString, ok := elemVal.(string); ok && strings.TrimPrefix(typeString, aliasPrefix) == "ReplyApproval" {
+ found = true
+ break
+ }
+ }
+ if !found {
+ return nil, fmt.Errorf("could not find a \"type\" property of value %q", "ReplyApproval")
+ }
+ // Fall through, success in finding a proper Type
+ } else {
+ return nil, fmt.Errorf("\"type\" property is unrecognized type: %T", typeValue)
+ }
+ // Begin: Known property deserialization
+ if p, err := mgr.DeserializeAltitudePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAltitude = p
+ }
+ if p, err := mgr.DeserializeAttachmentPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAttachment = p
+ }
+ if p, err := mgr.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAttributedTo = p
+ }
+ if p, err := mgr.DeserializeAudiencePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsAudience = p
+ }
+ if p, err := mgr.DeserializeBccPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsBcc = p
+ }
+ if p, err := mgr.DeserializeBtoPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsBto = p
+ }
+ if p, err := mgr.DeserializeCcPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsCc = p
+ }
+ if p, err := mgr.DeserializeContentPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsContent = p
+ }
+ if p, err := mgr.DeserializeContextPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsContext = p
+ }
+ if p, err := mgr.DeserializeDurationPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsDuration = p
+ }
+ if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsEndTime = p
+ }
+ if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsGenerator = p
+ }
+ if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsIcon = p
+ }
+ if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.JSONLDId = p
+ }
+ if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsImage = p
+ }
+ if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsInReplyTo = p
+ }
+ if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsLikes = p
+ }
+ if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsLocation = p
+ }
+ if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsMediaType = p
+ }
+ if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsName = p
+ }
+ if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsObject = p
+ }
+ if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsPreview = p
+ }
+ if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsPublished = p
+ }
+ if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsReplies = p
+ }
+ if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsSensitive = p
+ }
+ if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsShares = p
+ }
+ if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsSource = p
+ }
+ if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsStartTime = p
+ }
+ if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsSummary = p
+ }
+ if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsTag = p
+ }
+ if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsTo = p
+ }
+ if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.JSONLDType = p
+ }
+ if p, err := mgr.DeserializeUpdatedPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsUpdated = p
+ }
+ if p, err := mgr.DeserializeUrlPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsUrl = p
+ }
+ // End: Known property deserialization
+
+ // Begin: Unknown deserialization
+ for k, v := range m {
+ // Begin: Code that ensures a property name is unknown
+ if k == "altitude" {
+ continue
+ } else if k == "attachment" {
+ continue
+ } else if k == "attributedTo" {
+ continue
+ } else if k == "audience" {
+ continue
+ } else if k == "bcc" {
+ continue
+ } else if k == "bto" {
+ continue
+ } else if k == "cc" {
+ continue
+ } else if k == "content" {
+ continue
+ } else if k == "contentMap" {
+ continue
+ } else if k == "context" {
+ continue
+ } else if k == "duration" {
+ continue
+ } else if k == "endTime" {
+ continue
+ } else if k == "generator" {
+ continue
+ } else if k == "icon" {
+ continue
+ } else if k == "id" {
+ continue
+ } else if k == "image" {
+ continue
+ } else if k == "inReplyTo" {
+ continue
+ } else if k == "likes" {
+ continue
+ } else if k == "location" {
+ continue
+ } else if k == "mediaType" {
+ continue
+ } else if k == "name" {
+ continue
+ } else if k == "nameMap" {
+ continue
+ } else if k == "object" {
+ continue
+ } else if k == "preview" {
+ continue
+ } else if k == "published" {
+ continue
+ } else if k == "replies" {
+ continue
+ } else if k == "sensitive" {
+ continue
+ } else if k == "shares" {
+ continue
+ } else if k == "source" {
+ continue
+ } else if k == "startTime" {
+ continue
+ } else if k == "summary" {
+ continue
+ } else if k == "summaryMap" {
+ continue
+ } else if k == "tag" {
+ continue
+ } else if k == "to" {
+ continue
+ } else if k == "type" {
+ continue
+ } else if k == "updated" {
+ continue
+ } else if k == "url" {
+ continue
+ } // End: Code that ensures a property name is unknown
+
+ this.unknown[k] = v
+ }
+ // End: Unknown deserialization
+
+ return this, nil
+}
+
+// GoToSocialReplyApprovalExtends returns true if the ReplyApproval type extends
+// from the other type.
+func GoToSocialReplyApprovalExtends(other vocab.Type) bool {
+ extensions := []string{"Object"}
+ for _, ext := range extensions {
+ if ext == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// IsOrExtendsReplyApproval returns true if the other provided type is the
+// ReplyApproval type or extends from the ReplyApproval type.
+func IsOrExtendsReplyApproval(other vocab.Type) bool {
+ if other.GetTypeName() == "ReplyApproval" {
+ return true
+ }
+ return ReplyApprovalIsExtendedBy(other)
+}
+
+// NewGoToSocialReplyApproval creates a new ReplyApproval type
+func NewGoToSocialReplyApproval() *GoToSocialReplyApproval {
+ typeProp := typePropertyConstructor()
+ typeProp.AppendXMLSchemaString("ReplyApproval")
+ return &GoToSocialReplyApproval{
+ JSONLDType: typeProp,
+ alias: "",
+ unknown: make(map[string]interface{}),
+ }
+}
+
+// ReplyApprovalIsDisjointWith returns true if the other provided type is disjoint
+// with the ReplyApproval type.
+func ReplyApprovalIsDisjointWith(other vocab.Type) bool {
+ disjointWith := []string{"Hashtag", "Link", "Mention"}
+ for _, disjoint := range disjointWith {
+ if disjoint == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// ReplyApprovalIsExtendedBy returns true if the other provided type extends from
+// the ReplyApproval type. Note that it returns false if the types are the
+// same; see the "IsOrExtendsReplyApproval" variant instead.
+func ReplyApprovalIsExtendedBy(other vocab.Type) bool {
+ // Shortcut implementation: is not extended by anything.
+ return false
+}
+
+// GetActivityStreamsAltitude returns the "altitude" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty {
+ return this.ActivityStreamsAltitude
+}
+
+// GetActivityStreamsAttachment returns the "attachment" property if it exists,
+// and nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty {
+ return this.ActivityStreamsAttachment
+}
+
+// GetActivityStreamsAttributedTo returns the "attributedTo" property if it
+// exists, and nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty {
+ return this.ActivityStreamsAttributedTo
+}
+
+// GetActivityStreamsAudience returns the "audience" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty {
+ return this.ActivityStreamsAudience
+}
+
+// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty {
+ return this.ActivityStreamsBcc
+}
+
+// GetActivityStreamsBto returns the "bto" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty {
+ return this.ActivityStreamsBto
+}
+
+// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty {
+ return this.ActivityStreamsCc
+}
+
+// GetActivityStreamsContent returns the "content" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty {
+ return this.ActivityStreamsContent
+}
+
+// GetActivityStreamsContext returns the "context" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty {
+ return this.ActivityStreamsContext
+}
+
+// GetActivityStreamsDuration returns the "duration" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty {
+ return this.ActivityStreamsDuration
+}
+
+// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty {
+ return this.ActivityStreamsEndTime
+}
+
+// GetActivityStreamsGenerator returns the "generator" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty {
+ return this.ActivityStreamsGenerator
+}
+
+// GetActivityStreamsIcon returns the "icon" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty {
+ return this.ActivityStreamsIcon
+}
+
+// GetActivityStreamsImage returns the "image" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty {
+ return this.ActivityStreamsImage
+}
+
+// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty {
+ return this.ActivityStreamsInReplyTo
+}
+
+// GetActivityStreamsLikes returns the "likes" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty {
+ return this.ActivityStreamsLikes
+}
+
+// GetActivityStreamsLocation returns the "location" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty {
+ return this.ActivityStreamsLocation
+}
+
+// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty {
+ return this.ActivityStreamsMediaType
+}
+
+// GetActivityStreamsName returns the "name" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsName() vocab.ActivityStreamsNameProperty {
+ return this.ActivityStreamsName
+}
+
+// GetActivityStreamsObject returns the "object" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty {
+ return this.ActivityStreamsObject
+}
+
+// GetActivityStreamsPreview returns the "preview" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty {
+ return this.ActivityStreamsPreview
+}
+
+// GetActivityStreamsPublished returns the "published" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty {
+ return this.ActivityStreamsPublished
+}
+
+// GetActivityStreamsReplies returns the "replies" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty {
+ return this.ActivityStreamsReplies
+}
+
+// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty {
+ return this.ActivityStreamsSensitive
+}
+
+// GetActivityStreamsShares returns the "shares" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty {
+ return this.ActivityStreamsShares
+}
+
+// GetActivityStreamsSource returns the "source" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty {
+ return this.ActivityStreamsSource
+}
+
+// GetActivityStreamsStartTime returns the "startTime" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty {
+ return this.ActivityStreamsStartTime
+}
+
+// GetActivityStreamsSummary returns the "summary" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty {
+ return this.ActivityStreamsSummary
+}
+
+// GetActivityStreamsTag returns the "tag" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty {
+ return this.ActivityStreamsTag
+}
+
+// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsTo() vocab.ActivityStreamsToProperty {
+ return this.ActivityStreamsTo
+}
+
+// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty {
+ return this.ActivityStreamsUpdated
+}
+
+// GetActivityStreamsUrl returns the "url" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyApproval) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty {
+ return this.ActivityStreamsUrl
+}
+
+// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+func (this GoToSocialReplyApproval) GetJSONLDId() vocab.JSONLDIdProperty {
+ return this.JSONLDId
+}
+
+// GetJSONLDType returns the "type" property if it exists, and nil otherwise.
+func (this GoToSocialReplyApproval) GetJSONLDType() vocab.JSONLDTypeProperty {
+ return this.JSONLDType
+}
+
+// GetTypeName returns the name of this type.
+func (this GoToSocialReplyApproval) GetTypeName() string {
+ return "ReplyApproval"
+}
+
+// GetUnknownProperties returns the unknown properties for the ReplyApproval type.
+// Note that this should not be used by app developers. It is only used to
+// help determine which implementation is LessThan the other. Developers who
+// are creating a different implementation of this type's interface can use
+// this method in their LessThan implementation, but routine ActivityPub
+// applications should not use this to bypass the code generation tool.
+func (this GoToSocialReplyApproval) GetUnknownProperties() map[string]interface{} {
+ return this.unknown
+}
+
+// IsExtending returns true if the ReplyApproval type extends from the other type.
+func (this GoToSocialReplyApproval) IsExtending(other vocab.Type) bool {
+ return GoToSocialReplyApprovalExtends(other)
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// type and the specific properties that are set. The value in the map is the
+// alias used to import the type and its properties.
+func (this GoToSocialReplyApproval) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsAttachment, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsAttributedTo, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsAudience, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsBcc, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsBto, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsCc, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsContent, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
+ m = this.helperJSONLDContext(this.JSONLDId, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsName, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsObject, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPreview, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPublished, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsReplies, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsShares, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsSource, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
+ m = this.helperJSONLDContext(this.JSONLDType, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
+
+ return m
+}
+
+// LessThan computes if this ReplyApproval is lesser, with an arbitrary but stable
+// determination.
+func (this GoToSocialReplyApproval) LessThan(o vocab.GoToSocialReplyApproval) bool {
+ // Begin: Compare known properties
+ // Compare property "altitude"
+ if lhs, rhs := this.ActivityStreamsAltitude, o.GetActivityStreamsAltitude(); 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 "attachment"
+ if lhs, rhs := this.ActivityStreamsAttachment, o.GetActivityStreamsAttachment(); 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 "attributedTo"
+ if lhs, rhs := this.ActivityStreamsAttributedTo, o.GetActivityStreamsAttributedTo(); 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 "audience"
+ if lhs, rhs := this.ActivityStreamsAudience, o.GetActivityStreamsAudience(); 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 "bcc"
+ if lhs, rhs := this.ActivityStreamsBcc, o.GetActivityStreamsBcc(); 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 "bto"
+ if lhs, rhs := this.ActivityStreamsBto, o.GetActivityStreamsBto(); 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 "cc"
+ if lhs, rhs := this.ActivityStreamsCc, o.GetActivityStreamsCc(); 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 "content"
+ if lhs, rhs := this.ActivityStreamsContent, o.GetActivityStreamsContent(); 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 "context"
+ if lhs, rhs := this.ActivityStreamsContext, o.GetActivityStreamsContext(); 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 "duration"
+ if lhs, rhs := this.ActivityStreamsDuration, o.GetActivityStreamsDuration(); 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 "endTime"
+ if lhs, rhs := this.ActivityStreamsEndTime, o.GetActivityStreamsEndTime(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
+ // Compare property "generator"
+ if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ 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) {
+ 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 "id"
+ if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); 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 "image"
+ if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); 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 "inReplyTo"
+ if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); 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 "likes"
+ if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); 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 "location"
+ if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); 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 "mediaType"
+ if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); 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 "name"
+ if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); 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 "object"
+ if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); 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 "preview"
+ if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); 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 "published"
+ if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); 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 "replies"
+ if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); 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 "sensitive"
+ if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); 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 "shares"
+ if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); 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 "source"
+ if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); 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 "startTime"
+ if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); 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 "summary"
+ if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); 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 "tag"
+ if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); 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 "to"
+ if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); 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 "type"
+ if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); 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 "updated"
+ if lhs, rhs := this.ActivityStreamsUpdated, o.GetActivityStreamsUpdated(); 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 "url"
+ if lhs, rhs := this.ActivityStreamsUrl, o.GetActivityStreamsUrl(); 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
+ // End: Compare known properties
+
+ // Begin: Compare unknown properties (only by number of them)
+ if len(this.unknown) < len(o.GetUnknownProperties()) {
+ return true
+ } else if len(o.GetUnknownProperties()) < len(this.unknown) {
+ return false
+ } // End: Compare unknown properties (only by number of them)
+
+ // All properties are the same.
+ return false
+}
+
+// Serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format.
+func (this GoToSocialReplyApproval) Serialize() (map[string]interface{}, error) {
+ m := make(map[string]interface{})
+ typeName := "ReplyApproval"
+ if len(this.alias) > 0 {
+ typeName = this.alias + ":" + "ReplyApproval"
+ }
+ m["type"] = typeName
+ // Begin: Serialize known properties
+ // Maybe serialize property "altitude"
+ if this.ActivityStreamsAltitude != nil {
+ if i, err := this.ActivityStreamsAltitude.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAltitude.Name()] = i
+ }
+ }
+ // Maybe serialize property "attachment"
+ if this.ActivityStreamsAttachment != nil {
+ if i, err := this.ActivityStreamsAttachment.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAttachment.Name()] = i
+ }
+ }
+ // Maybe serialize property "attributedTo"
+ if this.ActivityStreamsAttributedTo != nil {
+ if i, err := this.ActivityStreamsAttributedTo.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAttributedTo.Name()] = i
+ }
+ }
+ // Maybe serialize property "audience"
+ if this.ActivityStreamsAudience != nil {
+ if i, err := this.ActivityStreamsAudience.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsAudience.Name()] = i
+ }
+ }
+ // Maybe serialize property "bcc"
+ if this.ActivityStreamsBcc != nil {
+ if i, err := this.ActivityStreamsBcc.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsBcc.Name()] = i
+ }
+ }
+ // Maybe serialize property "bto"
+ if this.ActivityStreamsBto != nil {
+ if i, err := this.ActivityStreamsBto.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsBto.Name()] = i
+ }
+ }
+ // Maybe serialize property "cc"
+ if this.ActivityStreamsCc != nil {
+ if i, err := this.ActivityStreamsCc.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsCc.Name()] = i
+ }
+ }
+ // Maybe serialize property "content"
+ if this.ActivityStreamsContent != nil {
+ if i, err := this.ActivityStreamsContent.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsContent.Name()] = i
+ }
+ }
+ // Maybe serialize property "context"
+ if this.ActivityStreamsContext != nil {
+ if i, err := this.ActivityStreamsContext.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsContext.Name()] = i
+ }
+ }
+ // Maybe serialize property "duration"
+ if this.ActivityStreamsDuration != nil {
+ if i, err := this.ActivityStreamsDuration.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsDuration.Name()] = i
+ }
+ }
+ // Maybe serialize property "endTime"
+ if this.ActivityStreamsEndTime != nil {
+ if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsEndTime.Name()] = i
+ }
+ }
+ // Maybe serialize property "generator"
+ if this.ActivityStreamsGenerator != nil {
+ if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsGenerator.Name()] = i
+ }
+ }
+ // Maybe serialize property "icon"
+ if this.ActivityStreamsIcon != nil {
+ if i, err := this.ActivityStreamsIcon.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsIcon.Name()] = i
+ }
+ }
+ // Maybe serialize property "id"
+ if this.JSONLDId != nil {
+ if i, err := this.JSONLDId.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.JSONLDId.Name()] = i
+ }
+ }
+ // Maybe serialize property "image"
+ if this.ActivityStreamsImage != nil {
+ if i, err := this.ActivityStreamsImage.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsImage.Name()] = i
+ }
+ }
+ // Maybe serialize property "inReplyTo"
+ if this.ActivityStreamsInReplyTo != nil {
+ if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsInReplyTo.Name()] = i
+ }
+ }
+ // Maybe serialize property "likes"
+ if this.ActivityStreamsLikes != nil {
+ if i, err := this.ActivityStreamsLikes.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsLikes.Name()] = i
+ }
+ }
+ // Maybe serialize property "location"
+ if this.ActivityStreamsLocation != nil {
+ if i, err := this.ActivityStreamsLocation.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsLocation.Name()] = i
+ }
+ }
+ // Maybe serialize property "mediaType"
+ if this.ActivityStreamsMediaType != nil {
+ if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsMediaType.Name()] = i
+ }
+ }
+ // Maybe serialize property "name"
+ if this.ActivityStreamsName != nil {
+ if i, err := this.ActivityStreamsName.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsName.Name()] = i
+ }
+ }
+ // Maybe serialize property "object"
+ if this.ActivityStreamsObject != nil {
+ if i, err := this.ActivityStreamsObject.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsObject.Name()] = i
+ }
+ }
+ // Maybe serialize property "preview"
+ if this.ActivityStreamsPreview != nil {
+ if i, err := this.ActivityStreamsPreview.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsPreview.Name()] = i
+ }
+ }
+ // Maybe serialize property "published"
+ if this.ActivityStreamsPublished != nil {
+ if i, err := this.ActivityStreamsPublished.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsPublished.Name()] = i
+ }
+ }
+ // Maybe serialize property "replies"
+ if this.ActivityStreamsReplies != nil {
+ if i, err := this.ActivityStreamsReplies.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsReplies.Name()] = i
+ }
+ }
+ // Maybe serialize property "sensitive"
+ if this.ActivityStreamsSensitive != nil {
+ if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsSensitive.Name()] = i
+ }
+ }
+ // Maybe serialize property "shares"
+ if this.ActivityStreamsShares != nil {
+ if i, err := this.ActivityStreamsShares.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsShares.Name()] = i
+ }
+ }
+ // Maybe serialize property "source"
+ if this.ActivityStreamsSource != nil {
+ if i, err := this.ActivityStreamsSource.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsSource.Name()] = i
+ }
+ }
+ // Maybe serialize property "startTime"
+ if this.ActivityStreamsStartTime != nil {
+ if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsStartTime.Name()] = i
+ }
+ }
+ // Maybe serialize property "summary"
+ if this.ActivityStreamsSummary != nil {
+ if i, err := this.ActivityStreamsSummary.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsSummary.Name()] = i
+ }
+ }
+ // Maybe serialize property "tag"
+ if this.ActivityStreamsTag != nil {
+ if i, err := this.ActivityStreamsTag.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsTag.Name()] = i
+ }
+ }
+ // Maybe serialize property "to"
+ if this.ActivityStreamsTo != nil {
+ if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsTo.Name()] = i
+ }
+ }
+ // Maybe serialize property "type"
+ if this.JSONLDType != nil {
+ if i, err := this.JSONLDType.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.JSONLDType.Name()] = i
+ }
+ }
+ // Maybe serialize property "updated"
+ if this.ActivityStreamsUpdated != nil {
+ if i, err := this.ActivityStreamsUpdated.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsUpdated.Name()] = i
+ }
+ }
+ // Maybe serialize property "url"
+ if this.ActivityStreamsUrl != nil {
+ if i, err := this.ActivityStreamsUrl.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsUrl.Name()] = i
+ }
+ }
+ // End: Serialize known properties
+
+ // Begin: Serialize unknown properties
+ for k, v := range this.unknown {
+ // To be safe, ensure we aren't overwriting a known property
+ if _, has := m[k]; !has {
+ m[k] = v
+ }
+ }
+ // End: Serialize unknown properties
+
+ return m, nil
+}
+
+// SetActivityStreamsAltitude sets the "altitude" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) {
+ this.ActivityStreamsAltitude = i
+}
+
+// SetActivityStreamsAttachment sets the "attachment" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) {
+ this.ActivityStreamsAttachment = i
+}
+
+// SetActivityStreamsAttributedTo sets the "attributedTo" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) {
+ this.ActivityStreamsAttributedTo = i
+}
+
+// SetActivityStreamsAudience sets the "audience" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) {
+ this.ActivityStreamsAudience = i
+}
+
+// SetActivityStreamsBcc sets the "bcc" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) {
+ this.ActivityStreamsBcc = i
+}
+
+// SetActivityStreamsBto sets the "bto" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) {
+ this.ActivityStreamsBto = i
+}
+
+// SetActivityStreamsCc sets the "cc" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) {
+ this.ActivityStreamsCc = i
+}
+
+// SetActivityStreamsContent sets the "content" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) {
+ this.ActivityStreamsContent = i
+}
+
+// SetActivityStreamsContext sets the "context" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) {
+ this.ActivityStreamsContext = i
+}
+
+// SetActivityStreamsDuration sets the "duration" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) {
+ this.ActivityStreamsDuration = i
+}
+
+// SetActivityStreamsEndTime sets the "endTime" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) {
+ this.ActivityStreamsEndTime = i
+}
+
+// SetActivityStreamsGenerator sets the "generator" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) {
+ this.ActivityStreamsGenerator = i
+}
+
+// SetActivityStreamsIcon sets the "icon" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) {
+ this.ActivityStreamsIcon = i
+}
+
+// SetActivityStreamsImage sets the "image" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) {
+ this.ActivityStreamsImage = i
+}
+
+// SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) {
+ this.ActivityStreamsInReplyTo = i
+}
+
+// SetActivityStreamsLikes sets the "likes" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) {
+ this.ActivityStreamsLikes = i
+}
+
+// SetActivityStreamsLocation sets the "location" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) {
+ this.ActivityStreamsLocation = i
+}
+
+// SetActivityStreamsMediaType sets the "mediaType" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) {
+ this.ActivityStreamsMediaType = i
+}
+
+// SetActivityStreamsName sets the "name" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) {
+ this.ActivityStreamsName = i
+}
+
+// SetActivityStreamsObject sets the "object" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) {
+ this.ActivityStreamsObject = i
+}
+
+// SetActivityStreamsPreview sets the "preview" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) {
+ this.ActivityStreamsPreview = i
+}
+
+// SetActivityStreamsPublished sets the "published" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) {
+ this.ActivityStreamsPublished = i
+}
+
+// SetActivityStreamsReplies sets the "replies" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) {
+ this.ActivityStreamsReplies = i
+}
+
+// SetActivityStreamsSensitive sets the "sensitive" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) {
+ this.ActivityStreamsSensitive = i
+}
+
+// SetActivityStreamsShares sets the "shares" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) {
+ this.ActivityStreamsShares = i
+}
+
+// SetActivityStreamsSource sets the "source" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) {
+ this.ActivityStreamsSource = i
+}
+
+// SetActivityStreamsStartTime sets the "startTime" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) {
+ this.ActivityStreamsStartTime = i
+}
+
+// SetActivityStreamsSummary sets the "summary" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) {
+ this.ActivityStreamsSummary = i
+}
+
+// SetActivityStreamsTag sets the "tag" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) {
+ this.ActivityStreamsTag = i
+}
+
+// SetActivityStreamsTo sets the "to" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) {
+ this.ActivityStreamsTo = i
+}
+
+// SetActivityStreamsUpdated sets the "updated" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) {
+ this.ActivityStreamsUpdated = i
+}
+
+// SetActivityStreamsUrl sets the "url" property.
+func (this *GoToSocialReplyApproval) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) {
+ this.ActivityStreamsUrl = i
+}
+
+// SetJSONLDId sets the "id" property.
+func (this *GoToSocialReplyApproval) SetJSONLDId(i vocab.JSONLDIdProperty) {
+ this.JSONLDId = i
+}
+
+// SetJSONLDType sets the "type" property.
+func (this *GoToSocialReplyApproval) SetJSONLDType(i vocab.JSONLDTypeProperty) {
+ this.JSONLDType = i
+}
+
+// VocabularyURI returns the vocabulary's URI as a string.
+func (this GoToSocialReplyApproval) VocabularyURI() string {
+ return "https://gotosocial.org/ns"
+}
+
+// helperJSONLDContext obtains the context uris and their aliases from a property,
+// if it is not nil.
+func (this GoToSocialReplyApproval) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string {
+ if i == nil {
+ return toMerge
+ }
+ for k, v := range i.JSONLDContext() {
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ toMerge[k] = v
+ }
+ return toMerge
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go
index 8cb8b993c..9cea5ba87 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go
@@ -181,7 +181,7 @@ func DeserializeHashtag(m map[string]interface{}, aliasMap map[string]string) (*
// HashtagIsDisjointWith returns true if the other provided type is disjoint with
// the Hashtag type.
func HashtagIsDisjointWith(other vocab.Type) bool {
- disjointWith := []string{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
+ disjointWith := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go
index 937c139a7..5168a22d6 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsActorPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsActorPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsActorPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -959,6 +993,18 @@ type ActivityStreamsActorProperty interface {
// the property "actor". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "actor". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "actor". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "actor". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "actor"
AppendIRI(v *url.URL)
@@ -1218,6 +1264,19 @@ type ActivityStreamsActorProperty interface {
// for a property "actor". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "actor". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "actor". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "actor". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "actor". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1432,6 +1491,16 @@ type ActivityStreamsActorProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "actor". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "actor". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "actor". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "actor". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "actor".
PrependIRI(v *url.URL)
@@ -1677,6 +1746,18 @@ type ActivityStreamsActorProperty interface {
// for the property "actor". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "actor". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "actor". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "actor". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "actor". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go
index f18df4448..4c968c76a 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsAnyOfPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsAnyOfPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsAnyOfPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -940,6 +974,18 @@ type ActivityStreamsAnyOfProperty interface {
// the property "anyOf". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "anyOf". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "anyOf". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "anyOf". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "anyOf"
AppendIRI(v *url.URL)
@@ -1199,6 +1245,19 @@ type ActivityStreamsAnyOfProperty interface {
// for a property "anyOf". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "anyOf". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "anyOf". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "anyOf". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "anyOf". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1413,6 +1472,16 @@ type ActivityStreamsAnyOfProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "anyOf". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "anyOf". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "anyOf". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "anyOf". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "anyOf".
PrependIRI(v *url.URL)
@@ -1658,6 +1727,18 @@ type ActivityStreamsAnyOfProperty interface {
// for the property "anyOf". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "anyOf". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "anyOf". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "anyOf". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "anyOf". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go
index 2e0db9e94..0bcfbbfd7 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsAttachmentPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsAttachmentPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsAttachmentPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -935,6 +969,18 @@ type ActivityStreamsAttachmentProperty interface {
// the property "attachment". Invalidates iterators that are
// traversing using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "attachment". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "attachment". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "attachment". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "attachment"
AppendIRI(v *url.URL)
@@ -1199,6 +1245,21 @@ type ActivityStreamsAttachmentProperty interface {
// for a property "attachment". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "attachment". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "attachment". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "attachment". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "attachment". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -1419,6 +1480,18 @@ type ActivityStreamsAttachmentProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "attachment". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "attachment". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "attachment". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "attachment". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "attachment".
PrependIRI(v *url.URL)
@@ -1664,6 +1737,18 @@ type ActivityStreamsAttachmentProperty interface {
// for the property "attachment". Panics if the index is out of
// bounds. Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "attachment". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "attachment". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "attachment". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "attachment". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go
index c94d802a7..153e864a4 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsAttributedToPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsAttributedToPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsAttributedToPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -951,6 +985,18 @@ type ActivityStreamsAttributedToProperty interface {
// the property "attributedTo". Invalidates iterators that are
// traversing using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "attributedTo". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "attributedTo". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "attributedTo". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "attributedTo"
AppendIRI(v *url.URL)
@@ -1215,6 +1261,21 @@ type ActivityStreamsAttributedToProperty interface {
// for a property "attributedTo". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "attributedTo". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "attributedTo". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "attributedTo". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "attributedTo". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -1435,6 +1496,18 @@ type ActivityStreamsAttributedToProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "attributedTo". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "attributedTo". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "attributedTo". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "attributedTo". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "attributedTo".
PrependIRI(v *url.URL)
@@ -1680,6 +1753,18 @@ type ActivityStreamsAttributedToProperty interface {
// for the property "attributedTo". Panics if the index is out of
// bounds. Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "attributedTo". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "attributedTo". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "attributedTo". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "attributedTo". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go
index 00adde1c5..46a2205d9 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsAudiencePropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsAudiencePropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsAudiencePropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -935,6 +969,18 @@ type ActivityStreamsAudienceProperty interface {
// the property "audience". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "audience". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "audience". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "audience". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "audience"
AppendIRI(v *url.URL)
@@ -1199,6 +1245,21 @@ type ActivityStreamsAudienceProperty interface {
// for a property "audience". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "audience". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "audience". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "audience". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "audience". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1418,6 +1479,18 @@ type ActivityStreamsAudienceProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "audience". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "audience". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "audience". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "audience". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "audience".
PrependIRI(v *url.URL)
@@ -1663,6 +1736,18 @@ type ActivityStreamsAudienceProperty interface {
// for the property "audience". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "audience". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "audience". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "audience". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "audience". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go
index b042dabe9..8e5afbe74 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsBccPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsBccPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsBccPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -933,6 +967,18 @@ type ActivityStreamsBccProperty interface {
// the property "bcc". Invalidates iterators that are traversing using
// Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "bcc". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "bcc". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "bcc". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "bcc"
AppendIRI(v *url.URL)
@@ -1189,6 +1235,18 @@ type ActivityStreamsBccProperty interface {
// for a property "bcc". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "bcc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "bcc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "bcc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "bcc". Existing elements at that index and higher are shifted back
// once. Invalidates all iterators.
@@ -1403,6 +1461,16 @@ type ActivityStreamsBccProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "bcc". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "bcc". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "bcc". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "bcc". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "bcc".
PrependIRI(v *url.URL)
@@ -1648,6 +1716,18 @@ type ActivityStreamsBccProperty interface {
// for the property "bcc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "bcc". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "bcc". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "bcc". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "bcc". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go
index 61d4fffa9..e868cdcc9 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsBtoPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsBtoPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsBtoPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -933,6 +967,18 @@ type ActivityStreamsBtoProperty interface {
// the property "bto". Invalidates iterators that are traversing using
// Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "bto". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "bto". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "bto". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "bto"
AppendIRI(v *url.URL)
@@ -1189,6 +1235,18 @@ type ActivityStreamsBtoProperty interface {
// for a property "bto". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "bto". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "bto". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "bto". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "bto". Existing elements at that index and higher are shifted back
// once. Invalidates all iterators.
@@ -1403,6 +1461,16 @@ type ActivityStreamsBtoProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "bto". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "bto". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "bto". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "bto". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "bto".
PrependIRI(v *url.URL)
@@ -1648,6 +1716,18 @@ type ActivityStreamsBtoProperty interface {
// for the property "bto". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "bto". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "bto". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "bto". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "bto". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go
index 865092be3..02cf84557 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsCcPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsCcPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsCcPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -933,6 +967,18 @@ type ActivityStreamsCcProperty interface {
// the property "cc". Invalidates iterators that are traversing using
// Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "cc". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "cc". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "cc". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "cc"
AppendIRI(v *url.URL)
@@ -1187,6 +1233,18 @@ type ActivityStreamsCcProperty interface {
// for a property "cc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "cc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "cc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "cc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property "cc".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -1400,6 +1458,15 @@ type ActivityStreamsCcProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "cc". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "cc". Invalidates all iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "cc". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "cc". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "cc".
PrependIRI(v *url.URL)
@@ -1645,6 +1712,18 @@ type ActivityStreamsCcProperty interface {
// for the property "cc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "cc". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "cc". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "cc". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "cc". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go
index 624677cb1..936e119e6 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go
@@ -228,6 +228,18 @@ type ActivityStreamsClosedPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -491,6 +503,19 @@ type ActivityStreamsClosedPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -703,6 +728,15 @@ type ActivityStreamsClosedPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -954,6 +988,18 @@ type ActivityStreamsClosedProperty interface {
// the property "closed". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "closed". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "closed". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "closed". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "closed"
AppendIRI(v *url.URL)
@@ -1221,6 +1267,19 @@ type ActivityStreamsClosedProperty interface {
// for a property "closed". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "closed". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "closed". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "closed". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "closed". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1443,6 +1502,16 @@ type ActivityStreamsClosedProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "closed". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "closed". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "closed". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "closed". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "closed".
PrependIRI(v *url.URL)
@@ -1694,6 +1763,18 @@ type ActivityStreamsClosedProperty interface {
// for the property "closed". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "closed". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "closed". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "closed". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "closed". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go
index f72786b63..3249e245c 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsContextPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsContextPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsContextPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -947,6 +981,18 @@ type ActivityStreamsContextProperty interface {
// the property "context". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "context". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "context". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "context". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "context"
AppendIRI(v *url.URL)
@@ -1206,6 +1252,19 @@ type ActivityStreamsContextProperty interface {
// for a property "context". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "context". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "context". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "context". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "context". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1424,6 +1483,18 @@ type ActivityStreamsContextProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "context". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "context". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "context". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "context". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "context".
PrependIRI(v *url.URL)
@@ -1669,6 +1740,18 @@ type ActivityStreamsContextProperty interface {
// for the property "context". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "context". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "context". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "context". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "context". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go
index 281d5b0d0..f5fbc7ab0 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go
@@ -231,6 +231,18 @@ type ActivityStreamsDescribesProperty interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -475,6 +487,19 @@ type ActivityStreamsDescribesProperty interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -670,6 +695,15 @@ type ActivityStreamsDescribesProperty interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go
index 472c470bf..bee521fde 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go
@@ -217,6 +217,18 @@ type ActivityStreamsFormerTypePropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -465,6 +477,19 @@ type ActivityStreamsFormerTypePropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -663,6 +688,15 @@ type ActivityStreamsFormerTypePropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -902,6 +936,18 @@ type ActivityStreamsFormerTypeProperty interface {
// the property "formerType". Invalidates iterators that are
// traversing using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "formerType". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "formerType". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "formerType". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "formerType"
AppendIRI(v *url.URL)
@@ -1158,6 +1204,21 @@ type ActivityStreamsFormerTypeProperty interface {
// for a property "formerType". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "formerType". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "formerType". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "formerType". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "formerType". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -1372,6 +1433,18 @@ type ActivityStreamsFormerTypeProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "formerType". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "formerType". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "formerType". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "formerType". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "formerType".
PrependIRI(v *url.URL)
@@ -1609,6 +1682,18 @@ type ActivityStreamsFormerTypeProperty interface {
// for the property "formerType". Panics if the index is out of
// bounds. Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "formerType". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "formerType". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "formerType". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "formerType". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go
index 72f7e4cab..407f10d8c 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsGeneratorPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsGeneratorPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsGeneratorPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -933,6 +967,18 @@ type ActivityStreamsGeneratorProperty interface {
// the property "generator". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "generator". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "generator". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "generator". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "generator"
AppendIRI(v *url.URL)
@@ -1197,6 +1243,21 @@ type ActivityStreamsGeneratorProperty interface {
// for a property "generator". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "generator". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "generator". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "generator". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "generator". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1417,6 +1478,18 @@ type ActivityStreamsGeneratorProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "generator". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "generator". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "generator". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "generator". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "generator".
PrependIRI(v *url.URL)
@@ -1662,6 +1735,18 @@ type ActivityStreamsGeneratorProperty interface {
// for the property "generator". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "generator". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "generator". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "generator". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "generator". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go
index fb1475a4d..2b1452547 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsInReplyToPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsInReplyToPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsInReplyToPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -942,6 +976,18 @@ type ActivityStreamsInReplyToProperty interface {
// the property "inReplyTo". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "inReplyTo". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "inReplyTo". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "inReplyTo". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "inReplyTo"
AppendIRI(v *url.URL)
@@ -1206,6 +1252,21 @@ type ActivityStreamsInReplyToProperty interface {
// for a property "inReplyTo". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "inReplyTo". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "inReplyTo". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "inReplyTo". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "inReplyTo". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1426,6 +1487,18 @@ type ActivityStreamsInReplyToProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "inReplyTo". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "inReplyTo". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "inReplyTo". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "inReplyTo". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "inReplyTo".
PrependIRI(v *url.URL)
@@ -1671,6 +1744,18 @@ type ActivityStreamsInReplyToProperty interface {
// for the property "inReplyTo". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "inReplyTo". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "inReplyTo". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "inReplyTo". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "inReplyTo". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go
index 93595afb2..9a13f5723 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsInstrumentPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsInstrumentPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsInstrumentPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -939,6 +973,18 @@ type ActivityStreamsInstrumentProperty interface {
// the property "instrument". Invalidates iterators that are
// traversing using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "instrument". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "instrument". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "instrument". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "instrument"
AppendIRI(v *url.URL)
@@ -1203,6 +1249,21 @@ type ActivityStreamsInstrumentProperty interface {
// for a property "instrument". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "instrument". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "instrument". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "instrument". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "instrument". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -1423,6 +1484,18 @@ type ActivityStreamsInstrumentProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "instrument". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "instrument". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "instrument". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "instrument". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "instrument".
PrependIRI(v *url.URL)
@@ -1668,6 +1741,18 @@ type ActivityStreamsInstrumentProperty interface {
// for the property "instrument". Panics if the index is out of
// bounds. Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "instrument". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "instrument". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "instrument". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "instrument". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go
index abd2f0a35..75bd86755 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsItemsPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsItemsPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsItemsPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -940,6 +974,18 @@ type ActivityStreamsItemsProperty interface {
// the property "items". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "items". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "items". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "items". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "items"
AppendIRI(v *url.URL)
@@ -1199,6 +1245,19 @@ type ActivityStreamsItemsProperty interface {
// for a property "items". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "items". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "items". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "items". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "items". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1413,6 +1472,16 @@ type ActivityStreamsItemsProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "items". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "items". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "items". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "items". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "items".
PrependIRI(v *url.URL)
@@ -1658,6 +1727,18 @@ type ActivityStreamsItemsProperty interface {
// for the property "items". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "items". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "items". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "items". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "items". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go
index c3f9abf87..85fd55d5c 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsLocationPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsLocationPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsLocationPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -937,6 +971,18 @@ type ActivityStreamsLocationProperty interface {
// the property "location". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "location". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "location". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "location". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "location"
AppendIRI(v *url.URL)
@@ -1201,6 +1247,21 @@ type ActivityStreamsLocationProperty interface {
// for a property "location". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "location". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "location". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "location". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "location". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1420,6 +1481,18 @@ type ActivityStreamsLocationProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "location". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "location". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "location". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "location". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "location".
PrependIRI(v *url.URL)
@@ -1665,6 +1738,18 @@ type ActivityStreamsLocationProperty interface {
// for the property "location". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "location". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "location". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "location". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "location". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go
index df4345528..a1e3587a9 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsObjectPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsObjectPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsObjectPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -958,6 +992,18 @@ type ActivityStreamsObjectProperty interface {
// the property "object". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "object". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "object". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "object". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "object"
AppendIRI(v *url.URL)
@@ -1217,6 +1263,19 @@ type ActivityStreamsObjectProperty interface {
// for a property "object". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "object". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "object". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "object". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "object". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1431,6 +1490,16 @@ type ActivityStreamsObjectProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "object". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "object". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "object". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "object". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "object".
PrependIRI(v *url.URL)
@@ -1676,6 +1745,18 @@ type ActivityStreamsObjectProperty interface {
// for the property "object". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "object". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "object". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "object". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "object". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go
index a6c92096a..6be47ca83 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsOneOfPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsOneOfPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsOneOfPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -940,6 +974,18 @@ type ActivityStreamsOneOfProperty interface {
// the property "oneOf". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "oneOf". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "oneOf". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "oneOf". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "oneOf"
AppendIRI(v *url.URL)
@@ -1199,6 +1245,19 @@ type ActivityStreamsOneOfProperty interface {
// for a property "oneOf". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "oneOf". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "oneOf". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "oneOf". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "oneOf". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1413,6 +1472,16 @@ type ActivityStreamsOneOfProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "oneOf". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "oneOf". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "oneOf". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "oneOf". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "oneOf".
PrependIRI(v *url.URL)
@@ -1658,6 +1727,18 @@ type ActivityStreamsOneOfProperty interface {
// for the property "oneOf". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "oneOf". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "oneOf". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "oneOf". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "oneOf". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go
index e352b3bf2..03721c58a 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsOrderedItemsPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsOrderedItemsPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsOrderedItemsPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -941,6 +975,18 @@ type ActivityStreamsOrderedItemsProperty interface {
// the property "orderedItems". Invalidates iterators that are
// traversing using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "orderedItems". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "orderedItems". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "orderedItems". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "orderedItems"
AppendIRI(v *url.URL)
@@ -1205,6 +1251,21 @@ type ActivityStreamsOrderedItemsProperty interface {
// for a property "orderedItems". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "orderedItems". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "orderedItems". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "orderedItems". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "orderedItems". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -1425,6 +1486,18 @@ type ActivityStreamsOrderedItemsProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "orderedItems". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "orderedItems". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "orderedItems". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "orderedItems". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "orderedItems".
PrependIRI(v *url.URL)
@@ -1670,6 +1743,18 @@ type ActivityStreamsOrderedItemsProperty interface {
// for the property "orderedItems". Panics if the index is out of
// bounds. Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "orderedItems". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "orderedItems". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "orderedItems". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "orderedItems". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go
index b5b598e8b..e788aeb8f 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsOriginPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsOriginPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsOriginPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -941,6 +975,18 @@ type ActivityStreamsOriginProperty interface {
// the property "origin". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "origin". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "origin". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "origin". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "origin"
AppendIRI(v *url.URL)
@@ -1200,6 +1246,19 @@ type ActivityStreamsOriginProperty interface {
// for a property "origin". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "origin". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "origin". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "origin". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "origin". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1414,6 +1473,16 @@ type ActivityStreamsOriginProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "origin". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "origin". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "origin". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "origin". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "origin".
PrependIRI(v *url.URL)
@@ -1659,6 +1728,18 @@ type ActivityStreamsOriginProperty interface {
// for the property "origin". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "origin". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "origin". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "origin". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "origin". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go
index 0dc2d2ee2..83254541e 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsPreviewPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsPreviewPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsPreviewPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -938,6 +972,18 @@ type ActivityStreamsPreviewProperty interface {
// the property "preview". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "preview". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "preview". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "preview". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "preview"
AppendIRI(v *url.URL)
@@ -1197,6 +1243,19 @@ type ActivityStreamsPreviewProperty interface {
// for a property "preview". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "preview". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "preview". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "preview". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "preview". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1415,6 +1474,18 @@ type ActivityStreamsPreviewProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "preview". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "preview". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "preview". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "preview". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "preview".
PrependIRI(v *url.URL)
@@ -1660,6 +1731,18 @@ type ActivityStreamsPreviewProperty interface {
// for the property "preview". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "preview". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "preview". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "preview". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "preview". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go
index fc325a05b..4e4a190d4 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go
@@ -217,6 +217,18 @@ type ActivityStreamsRelationshipPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -461,6 +473,19 @@ type ActivityStreamsRelationshipPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -655,6 +680,15 @@ type ActivityStreamsRelationshipPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -900,6 +934,18 @@ type ActivityStreamsRelationshipProperty interface {
// the property "relationship". Invalidates iterators that are
// traversing using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "relationship". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "relationship". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "relationship". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "relationship"
AppendIRI(v *url.URL)
@@ -1152,6 +1198,21 @@ type ActivityStreamsRelationshipProperty interface {
// for a property "relationship". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "relationship". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "relationship". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "relationship". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "relationship". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -1362,6 +1423,18 @@ type ActivityStreamsRelationshipProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "relationship". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "relationship". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "relationship". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "relationship". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "relationship".
PrependIRI(v *url.URL)
@@ -1596,6 +1669,18 @@ type ActivityStreamsRelationshipProperty interface {
// for the property "relationship". Panics if the index is out of
// bounds. Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "relationship". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "relationship". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "relationship". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "relationship". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go
index 1686f1852..c6a078bd3 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsResultPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsResultPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsResultPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -939,6 +973,18 @@ type ActivityStreamsResultProperty interface {
// the property "result". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "result". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "result". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "result". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "result"
AppendIRI(v *url.URL)
@@ -1198,6 +1244,19 @@ type ActivityStreamsResultProperty interface {
// for a property "result". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "result". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "result". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "result". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "result". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1412,6 +1471,16 @@ type ActivityStreamsResultProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "result". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "result". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "result". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "result". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "result".
PrependIRI(v *url.URL)
@@ -1657,6 +1726,18 @@ type ActivityStreamsResultProperty interface {
// for the property "result". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "result". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "result". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "result". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "result". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go
index 1bafb7a3b..d304629f4 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go
@@ -247,6 +247,18 @@ type ActivityStreamsSourceProperty interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -502,6 +514,19 @@ type ActivityStreamsSourceProperty interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -707,6 +732,15 @@ type ActivityStreamsSourceProperty interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go
index 6cce7ced0..7d23634ca 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go
@@ -244,6 +244,18 @@ type ActivityStreamsSubjectProperty interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -499,6 +511,19 @@ type ActivityStreamsSubjectProperty interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -704,6 +729,15 @@ type ActivityStreamsSubjectProperty interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go
index 0ce128df0..b2251c372 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsTagPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsTagPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsTagPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -937,6 +971,18 @@ type ActivityStreamsTagProperty interface {
// the property "tag". Invalidates iterators that are traversing using
// Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "tag". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "tag". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "tag". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "tag"
AppendIRI(v *url.URL)
@@ -1193,6 +1239,18 @@ type ActivityStreamsTagProperty interface {
// for a property "tag". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "tag". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "tag". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "tag". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "tag". Existing elements at that index and higher are shifted back
// once. Invalidates all iterators.
@@ -1407,6 +1465,16 @@ type ActivityStreamsTagProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "tag". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "tag". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "tag". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "tag". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "tag".
PrependIRI(v *url.URL)
@@ -1652,6 +1720,18 @@ type ActivityStreamsTagProperty interface {
// for the property "tag". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "tag". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "tag". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "tag". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "tag". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go
index 7641255a6..0ba7b1fa2 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsTargetPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsTargetPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsTargetPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -947,6 +981,18 @@ type ActivityStreamsTargetProperty interface {
// the property "target". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "target". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "target". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "target". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "target"
AppendIRI(v *url.URL)
@@ -1206,6 +1252,19 @@ type ActivityStreamsTargetProperty interface {
// for a property "target". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "target". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "target". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "target". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property
// "target". Existing elements at that index and higher are shifted
// back once. Invalidates all iterators.
@@ -1420,6 +1479,16 @@ type ActivityStreamsTargetProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "target". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "target". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "target". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "target". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "target".
PrependIRI(v *url.URL)
@@ -1665,6 +1734,18 @@ type ActivityStreamsTargetProperty interface {
// for the property "target". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "target". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "target". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "target". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "target". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go
index 94e9fbdeb..922e69aa2 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go
@@ -225,6 +225,18 @@ type ActivityStreamsToPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
+ // GetGoToSocialAnnounceApproval returns the value of this property. When
+ // IsGoToSocialAnnounceApproval returns false,
+ // GetGoToSocialAnnounceApproval will return an arbitrary value.
+ GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialLikeApproval returns the value of this property. When
+ // IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
+ // will return an arbitrary value.
+ GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialReplyApproval returns the value of this property. When
+ // IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
+ // will return an arbitrary value.
+ GetGoToSocialReplyApproval() GoToSocialReplyApproval
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -480,6 +492,19 @@ type ActivityStreamsToPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
+ // IsGoToSocialAnnounceApproval returns true if this property has a type
+ // of "AnnounceApproval". When true, use the
+ // GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
+ // methods to access and set this property.
+ IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialLikeApproval returns true if this property has a type of
+ // "LikeApproval". When true, use the GetGoToSocialLikeApproval and
+ // SetGoToSocialLikeApproval methods to access and set this property.
+ IsGoToSocialLikeApproval() bool
+ // IsGoToSocialReplyApproval returns true if this property has a type of
+ // "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
+ // SetGoToSocialReplyApproval methods to access and set this property.
+ IsGoToSocialReplyApproval() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -684,6 +709,15 @@ type ActivityStreamsToPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets the value of this property. Calling
+ // IsGoToSocialAnnounceApproval afterwards returns true.
+ SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets the value of this property. Calling
+ // IsGoToSocialLikeApproval afterwards returns true.
+ SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets the value of this property. Calling
+ // IsGoToSocialReplyApproval afterwards returns true.
+ SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -933,6 +967,18 @@ type ActivityStreamsToProperty interface {
// the property "to". Invalidates iterators that are traversing using
// Prev.
AppendActivityStreamsView(v ActivityStreamsView)
+ // AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
+ // the back of a list of the property "to". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialLikeApproval appends a LikeApproval value to the back
+ // of a list of the property "to". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // AppendGoToSocialReplyApproval appends a ReplyApproval value to the back
+ // of a list of the property "to". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyApproval(v GoToSocialReplyApproval)
// AppendIRI appends an IRI value to the back of a list of the property
// "to"
AppendIRI(v *url.URL)
@@ -1187,6 +1233,18 @@ type ActivityStreamsToProperty interface {
// for a property "to". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
+ // InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
+ // the specified index for a property "to". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialLikeApproval inserts a LikeApproval value at the
+ // specified index for a property "to". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // InsertGoToSocialReplyApproval inserts a ReplyApproval value at the
+ // specified index for a property "to". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// Insert inserts an IRI value at the specified index for a property "to".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -1400,6 +1458,15 @@ type ActivityStreamsToProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "to". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
+ // PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
+ // the front of a list of the property "to". Invalidates all iterators.
+ PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialLikeApproval prepends a LikeApproval value to the
+ // front of a list of the property "to". Invalidates all iterators.
+ PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
+ // front of a list of the property "to". Invalidates all iterators.
+ PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
// PrependIRI prepends an IRI value to the front of a list of the property
// "to".
PrependIRI(v *url.URL)
@@ -1645,6 +1712,18 @@ type ActivityStreamsToProperty interface {
// for the property "to". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
+ // SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
+ // the specified index for the property "to". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialLikeApproval sets a LikeApproval value to be at the
+ // specified index for the property "to". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialLikeApproval(idx int, v GoToSocialLikeApproval)
+ // SetGoToSocialReplyApproval sets a ReplyApproval value to be at the
+ // specified index for the property "to". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialReplyApproval(idx int, v GoToSocialReplyApproval)
// SetIRI sets an IRI value to be at the specified index for the property
// "to". Panics if the index is out of bounds.
SetIRI(idx int, v *url.URL)
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvedBy_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvedBy_interface.go
index 257d4c07b..fe704582b 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvedBy_interface.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvedBy_interface.go
@@ -4,10 +4,11 @@ package vocab
import "net/url"
-// URI/ID of an Approve Activity, which itself points towards the ID of the
-// Activity or Object to which this property is attached. The presence of this
-// property on an Activity or Object indicates that an interaction has been
-// Approve'd by the Actor whose Object this Activity or Object interacts with.
+// URI/ID of an Accept Activity or stamp, which itself points towards the ID of
+// the Activity or Object to which this property is attached. The presence of
+// this property on an Activity or Object indicates that an interaction has
+// been Approve'd by the Actor whose Object this Activity or Object interacts
+// with.
type GoToSocialApprovedByProperty interface {
// Clear ensures no value of this property is set. Calling
// IsXMLSchemaAnyURI afterwards will return false.
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go
new file mode 100644
index 000000000..42059fbdf
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go
@@ -0,0 +1,200 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+type GoToSocialAnnounceApproval interface {
+ // GetActivityStreamsAltitude returns the "altitude" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty
+ // GetActivityStreamsAttachment returns the "attachment" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty
+ // GetActivityStreamsAttributedTo returns the "attributedTo" property if
+ // it exists, and nil otherwise.
+ GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty
+ // GetActivityStreamsAudience returns the "audience" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsAudience() ActivityStreamsAudienceProperty
+ // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsBcc() ActivityStreamsBccProperty
+ // GetActivityStreamsBto returns the "bto" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsBto() ActivityStreamsBtoProperty
+ // GetActivityStreamsCc returns the "cc" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsCc() ActivityStreamsCcProperty
+ // GetActivityStreamsContent returns the "content" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsContent() ActivityStreamsContentProperty
+ // GetActivityStreamsContext returns the "context" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsContext() ActivityStreamsContextProperty
+ // GetActivityStreamsDuration returns the "duration" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsDuration() ActivityStreamsDurationProperty
+ // GetActivityStreamsEndTime returns the "endTime" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty
+ // GetActivityStreamsGenerator returns the "generator" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty
+ // GetActivityStreamsIcon returns the "icon" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsIcon() ActivityStreamsIconProperty
+ // GetActivityStreamsImage returns the "image" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsImage() ActivityStreamsImageProperty
+ // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty
+ // GetActivityStreamsLikes returns the "likes" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsLikes() ActivityStreamsLikesProperty
+ // GetActivityStreamsLocation returns the "location" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsLocation() ActivityStreamsLocationProperty
+ // GetActivityStreamsMediaType returns the "mediaType" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty
+ // GetActivityStreamsName returns the "name" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsName() ActivityStreamsNameProperty
+ // GetActivityStreamsObject returns the "object" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsObject() ActivityStreamsObjectProperty
+ // GetActivityStreamsPreview returns the "preview" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsPreview() ActivityStreamsPreviewProperty
+ // GetActivityStreamsPublished returns the "published" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsPublished() ActivityStreamsPublishedProperty
+ // GetActivityStreamsReplies returns the "replies" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsReplies() ActivityStreamsRepliesProperty
+ // GetActivityStreamsSensitive returns the "sensitive" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty
+ // GetActivityStreamsShares returns the "shares" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsShares() ActivityStreamsSharesProperty
+ // GetActivityStreamsSource returns the "source" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsSource() ActivityStreamsSourceProperty
+ // GetActivityStreamsStartTime returns the "startTime" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty
+ // GetActivityStreamsSummary returns the "summary" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsSummary() ActivityStreamsSummaryProperty
+ // GetActivityStreamsTag returns the "tag" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsTag() ActivityStreamsTagProperty
+ // GetActivityStreamsTo returns the "to" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsTo() ActivityStreamsToProperty
+ // GetActivityStreamsUpdated returns the "updated" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty
+ // GetActivityStreamsUrl returns the "url" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsUrl() ActivityStreamsUrlProperty
+ // GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+ GetJSONLDId() JSONLDIdProperty
+ // GetJSONLDType returns the "type" property if it exists, and nil
+ // otherwise.
+ GetJSONLDType() JSONLDTypeProperty
+ // GetTypeName returns the name of this type.
+ GetTypeName() string
+ // GetUnknownProperties returns the unknown properties for the
+ // AnnounceApproval type. Note that this should not be used by app
+ // developers. It is only used to help determine which implementation
+ // is LessThan the other. Developers who are creating a different
+ // implementation of this type's interface can use this method in
+ // their LessThan implementation, but routine ActivityPub applications
+ // should not use this to bypass the code generation tool.
+ GetUnknownProperties() map[string]interface{}
+ // IsExtending returns true if the AnnounceApproval type extends from the
+ // other type.
+ IsExtending(other Type) bool
+ // JSONLDContext returns the JSONLD URIs required in the context string
+ // for this type and the specific properties that are set. The value
+ // in the map is the alias used to import the type and its properties.
+ JSONLDContext() map[string]string
+ // LessThan computes if this AnnounceApproval is lesser, with an arbitrary
+ // but stable determination.
+ LessThan(o GoToSocialAnnounceApproval) bool
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format.
+ Serialize() (map[string]interface{}, error)
+ // SetActivityStreamsAltitude sets the "altitude" property.
+ SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty)
+ // SetActivityStreamsAttachment sets the "attachment" property.
+ SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty)
+ // SetActivityStreamsAttributedTo sets the "attributedTo" property.
+ SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty)
+ // SetActivityStreamsAudience sets the "audience" property.
+ SetActivityStreamsAudience(i ActivityStreamsAudienceProperty)
+ // SetActivityStreamsBcc sets the "bcc" property.
+ SetActivityStreamsBcc(i ActivityStreamsBccProperty)
+ // SetActivityStreamsBto sets the "bto" property.
+ SetActivityStreamsBto(i ActivityStreamsBtoProperty)
+ // SetActivityStreamsCc sets the "cc" property.
+ SetActivityStreamsCc(i ActivityStreamsCcProperty)
+ // SetActivityStreamsContent sets the "content" property.
+ SetActivityStreamsContent(i ActivityStreamsContentProperty)
+ // SetActivityStreamsContext sets the "context" property.
+ SetActivityStreamsContext(i ActivityStreamsContextProperty)
+ // SetActivityStreamsDuration sets the "duration" property.
+ SetActivityStreamsDuration(i ActivityStreamsDurationProperty)
+ // SetActivityStreamsEndTime sets the "endTime" property.
+ SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty)
+ // SetActivityStreamsGenerator sets the "generator" property.
+ SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty)
+ // SetActivityStreamsIcon sets the "icon" property.
+ SetActivityStreamsIcon(i ActivityStreamsIconProperty)
+ // SetActivityStreamsImage sets the "image" property.
+ SetActivityStreamsImage(i ActivityStreamsImageProperty)
+ // SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+ SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty)
+ // SetActivityStreamsLikes sets the "likes" property.
+ SetActivityStreamsLikes(i ActivityStreamsLikesProperty)
+ // SetActivityStreamsLocation sets the "location" property.
+ SetActivityStreamsLocation(i ActivityStreamsLocationProperty)
+ // SetActivityStreamsMediaType sets the "mediaType" property.
+ SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty)
+ // SetActivityStreamsName sets the "name" property.
+ SetActivityStreamsName(i ActivityStreamsNameProperty)
+ // SetActivityStreamsObject sets the "object" property.
+ SetActivityStreamsObject(i ActivityStreamsObjectProperty)
+ // SetActivityStreamsPreview sets the "preview" property.
+ SetActivityStreamsPreview(i ActivityStreamsPreviewProperty)
+ // SetActivityStreamsPublished sets the "published" property.
+ SetActivityStreamsPublished(i ActivityStreamsPublishedProperty)
+ // SetActivityStreamsReplies sets the "replies" property.
+ SetActivityStreamsReplies(i ActivityStreamsRepliesProperty)
+ // SetActivityStreamsSensitive sets the "sensitive" property.
+ SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty)
+ // SetActivityStreamsShares sets the "shares" property.
+ SetActivityStreamsShares(i ActivityStreamsSharesProperty)
+ // SetActivityStreamsSource sets the "source" property.
+ SetActivityStreamsSource(i ActivityStreamsSourceProperty)
+ // SetActivityStreamsStartTime sets the "startTime" property.
+ SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty)
+ // SetActivityStreamsSummary sets the "summary" property.
+ SetActivityStreamsSummary(i ActivityStreamsSummaryProperty)
+ // SetActivityStreamsTag sets the "tag" property.
+ SetActivityStreamsTag(i ActivityStreamsTagProperty)
+ // SetActivityStreamsTo sets the "to" property.
+ SetActivityStreamsTo(i ActivityStreamsToProperty)
+ // SetActivityStreamsUpdated sets the "updated" property.
+ SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty)
+ // SetActivityStreamsUrl sets the "url" property.
+ SetActivityStreamsUrl(i ActivityStreamsUrlProperty)
+ // SetJSONLDId sets the "id" property.
+ SetJSONLDId(i JSONLDIdProperty)
+ // SetJSONLDType sets the "type" property.
+ SetJSONLDType(i JSONLDTypeProperty)
+ // VocabularyURI returns the vocabulary's URI as a string.
+ VocabularyURI() string
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go
new file mode 100644
index 000000000..c1827bfdf
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go
@@ -0,0 +1,200 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+type GoToSocialLikeApproval interface {
+ // GetActivityStreamsAltitude returns the "altitude" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty
+ // GetActivityStreamsAttachment returns the "attachment" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty
+ // GetActivityStreamsAttributedTo returns the "attributedTo" property if
+ // it exists, and nil otherwise.
+ GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty
+ // GetActivityStreamsAudience returns the "audience" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsAudience() ActivityStreamsAudienceProperty
+ // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsBcc() ActivityStreamsBccProperty
+ // GetActivityStreamsBto returns the "bto" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsBto() ActivityStreamsBtoProperty
+ // GetActivityStreamsCc returns the "cc" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsCc() ActivityStreamsCcProperty
+ // GetActivityStreamsContent returns the "content" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsContent() ActivityStreamsContentProperty
+ // GetActivityStreamsContext returns the "context" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsContext() ActivityStreamsContextProperty
+ // GetActivityStreamsDuration returns the "duration" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsDuration() ActivityStreamsDurationProperty
+ // GetActivityStreamsEndTime returns the "endTime" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty
+ // GetActivityStreamsGenerator returns the "generator" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty
+ // GetActivityStreamsIcon returns the "icon" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsIcon() ActivityStreamsIconProperty
+ // GetActivityStreamsImage returns the "image" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsImage() ActivityStreamsImageProperty
+ // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty
+ // GetActivityStreamsLikes returns the "likes" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsLikes() ActivityStreamsLikesProperty
+ // GetActivityStreamsLocation returns the "location" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsLocation() ActivityStreamsLocationProperty
+ // GetActivityStreamsMediaType returns the "mediaType" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty
+ // GetActivityStreamsName returns the "name" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsName() ActivityStreamsNameProperty
+ // GetActivityStreamsObject returns the "object" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsObject() ActivityStreamsObjectProperty
+ // GetActivityStreamsPreview returns the "preview" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsPreview() ActivityStreamsPreviewProperty
+ // GetActivityStreamsPublished returns the "published" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsPublished() ActivityStreamsPublishedProperty
+ // GetActivityStreamsReplies returns the "replies" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsReplies() ActivityStreamsRepliesProperty
+ // GetActivityStreamsSensitive returns the "sensitive" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty
+ // GetActivityStreamsShares returns the "shares" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsShares() ActivityStreamsSharesProperty
+ // GetActivityStreamsSource returns the "source" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsSource() ActivityStreamsSourceProperty
+ // GetActivityStreamsStartTime returns the "startTime" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty
+ // GetActivityStreamsSummary returns the "summary" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsSummary() ActivityStreamsSummaryProperty
+ // GetActivityStreamsTag returns the "tag" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsTag() ActivityStreamsTagProperty
+ // GetActivityStreamsTo returns the "to" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsTo() ActivityStreamsToProperty
+ // GetActivityStreamsUpdated returns the "updated" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty
+ // GetActivityStreamsUrl returns the "url" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsUrl() ActivityStreamsUrlProperty
+ // GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+ GetJSONLDId() JSONLDIdProperty
+ // GetJSONLDType returns the "type" property if it exists, and nil
+ // otherwise.
+ GetJSONLDType() JSONLDTypeProperty
+ // GetTypeName returns the name of this type.
+ GetTypeName() string
+ // GetUnknownProperties returns the unknown properties for the
+ // LikeApproval type. Note that this should not be used by app
+ // developers. It is only used to help determine which implementation
+ // is LessThan the other. Developers who are creating a different
+ // implementation of this type's interface can use this method in
+ // their LessThan implementation, but routine ActivityPub applications
+ // should not use this to bypass the code generation tool.
+ GetUnknownProperties() map[string]interface{}
+ // IsExtending returns true if the LikeApproval type extends from the
+ // other type.
+ IsExtending(other Type) bool
+ // JSONLDContext returns the JSONLD URIs required in the context string
+ // for this type and the specific properties that are set. The value
+ // in the map is the alias used to import the type and its properties.
+ JSONLDContext() map[string]string
+ // LessThan computes if this LikeApproval is lesser, with an arbitrary but
+ // stable determination.
+ LessThan(o GoToSocialLikeApproval) bool
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format.
+ Serialize() (map[string]interface{}, error)
+ // SetActivityStreamsAltitude sets the "altitude" property.
+ SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty)
+ // SetActivityStreamsAttachment sets the "attachment" property.
+ SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty)
+ // SetActivityStreamsAttributedTo sets the "attributedTo" property.
+ SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty)
+ // SetActivityStreamsAudience sets the "audience" property.
+ SetActivityStreamsAudience(i ActivityStreamsAudienceProperty)
+ // SetActivityStreamsBcc sets the "bcc" property.
+ SetActivityStreamsBcc(i ActivityStreamsBccProperty)
+ // SetActivityStreamsBto sets the "bto" property.
+ SetActivityStreamsBto(i ActivityStreamsBtoProperty)
+ // SetActivityStreamsCc sets the "cc" property.
+ SetActivityStreamsCc(i ActivityStreamsCcProperty)
+ // SetActivityStreamsContent sets the "content" property.
+ SetActivityStreamsContent(i ActivityStreamsContentProperty)
+ // SetActivityStreamsContext sets the "context" property.
+ SetActivityStreamsContext(i ActivityStreamsContextProperty)
+ // SetActivityStreamsDuration sets the "duration" property.
+ SetActivityStreamsDuration(i ActivityStreamsDurationProperty)
+ // SetActivityStreamsEndTime sets the "endTime" property.
+ SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty)
+ // SetActivityStreamsGenerator sets the "generator" property.
+ SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty)
+ // SetActivityStreamsIcon sets the "icon" property.
+ SetActivityStreamsIcon(i ActivityStreamsIconProperty)
+ // SetActivityStreamsImage sets the "image" property.
+ SetActivityStreamsImage(i ActivityStreamsImageProperty)
+ // SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+ SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty)
+ // SetActivityStreamsLikes sets the "likes" property.
+ SetActivityStreamsLikes(i ActivityStreamsLikesProperty)
+ // SetActivityStreamsLocation sets the "location" property.
+ SetActivityStreamsLocation(i ActivityStreamsLocationProperty)
+ // SetActivityStreamsMediaType sets the "mediaType" property.
+ SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty)
+ // SetActivityStreamsName sets the "name" property.
+ SetActivityStreamsName(i ActivityStreamsNameProperty)
+ // SetActivityStreamsObject sets the "object" property.
+ SetActivityStreamsObject(i ActivityStreamsObjectProperty)
+ // SetActivityStreamsPreview sets the "preview" property.
+ SetActivityStreamsPreview(i ActivityStreamsPreviewProperty)
+ // SetActivityStreamsPublished sets the "published" property.
+ SetActivityStreamsPublished(i ActivityStreamsPublishedProperty)
+ // SetActivityStreamsReplies sets the "replies" property.
+ SetActivityStreamsReplies(i ActivityStreamsRepliesProperty)
+ // SetActivityStreamsSensitive sets the "sensitive" property.
+ SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty)
+ // SetActivityStreamsShares sets the "shares" property.
+ SetActivityStreamsShares(i ActivityStreamsSharesProperty)
+ // SetActivityStreamsSource sets the "source" property.
+ SetActivityStreamsSource(i ActivityStreamsSourceProperty)
+ // SetActivityStreamsStartTime sets the "startTime" property.
+ SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty)
+ // SetActivityStreamsSummary sets the "summary" property.
+ SetActivityStreamsSummary(i ActivityStreamsSummaryProperty)
+ // SetActivityStreamsTag sets the "tag" property.
+ SetActivityStreamsTag(i ActivityStreamsTagProperty)
+ // SetActivityStreamsTo sets the "to" property.
+ SetActivityStreamsTo(i ActivityStreamsToProperty)
+ // SetActivityStreamsUpdated sets the "updated" property.
+ SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty)
+ // SetActivityStreamsUrl sets the "url" property.
+ SetActivityStreamsUrl(i ActivityStreamsUrlProperty)
+ // SetJSONLDId sets the "id" property.
+ SetJSONLDId(i JSONLDIdProperty)
+ // SetJSONLDType sets the "type" property.
+ SetJSONLDType(i JSONLDTypeProperty)
+ // VocabularyURI returns the vocabulary's URI as a string.
+ VocabularyURI() string
+}
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go
new file mode 100644
index 000000000..9ba0698e0
--- /dev/null
+++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go
@@ -0,0 +1,200 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+type GoToSocialReplyApproval interface {
+ // GetActivityStreamsAltitude returns the "altitude" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty
+ // GetActivityStreamsAttachment returns the "attachment" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty
+ // GetActivityStreamsAttributedTo returns the "attributedTo" property if
+ // it exists, and nil otherwise.
+ GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty
+ // GetActivityStreamsAudience returns the "audience" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsAudience() ActivityStreamsAudienceProperty
+ // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsBcc() ActivityStreamsBccProperty
+ // GetActivityStreamsBto returns the "bto" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsBto() ActivityStreamsBtoProperty
+ // GetActivityStreamsCc returns the "cc" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsCc() ActivityStreamsCcProperty
+ // GetActivityStreamsContent returns the "content" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsContent() ActivityStreamsContentProperty
+ // GetActivityStreamsContext returns the "context" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsContext() ActivityStreamsContextProperty
+ // GetActivityStreamsDuration returns the "duration" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsDuration() ActivityStreamsDurationProperty
+ // GetActivityStreamsEndTime returns the "endTime" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty
+ // GetActivityStreamsGenerator returns the "generator" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty
+ // GetActivityStreamsIcon returns the "icon" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsIcon() ActivityStreamsIconProperty
+ // GetActivityStreamsImage returns the "image" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsImage() ActivityStreamsImageProperty
+ // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty
+ // GetActivityStreamsLikes returns the "likes" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsLikes() ActivityStreamsLikesProperty
+ // GetActivityStreamsLocation returns the "location" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsLocation() ActivityStreamsLocationProperty
+ // GetActivityStreamsMediaType returns the "mediaType" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty
+ // GetActivityStreamsName returns the "name" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsName() ActivityStreamsNameProperty
+ // GetActivityStreamsObject returns the "object" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsObject() ActivityStreamsObjectProperty
+ // GetActivityStreamsPreview returns the "preview" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsPreview() ActivityStreamsPreviewProperty
+ // GetActivityStreamsPublished returns the "published" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsPublished() ActivityStreamsPublishedProperty
+ // GetActivityStreamsReplies returns the "replies" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsReplies() ActivityStreamsRepliesProperty
+ // GetActivityStreamsSensitive returns the "sensitive" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty
+ // GetActivityStreamsShares returns the "shares" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsShares() ActivityStreamsSharesProperty
+ // GetActivityStreamsSource returns the "source" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsSource() ActivityStreamsSourceProperty
+ // GetActivityStreamsStartTime returns the "startTime" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty
+ // GetActivityStreamsSummary returns the "summary" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsSummary() ActivityStreamsSummaryProperty
+ // GetActivityStreamsTag returns the "tag" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsTag() ActivityStreamsTagProperty
+ // GetActivityStreamsTo returns the "to" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsTo() ActivityStreamsToProperty
+ // GetActivityStreamsUpdated returns the "updated" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty
+ // GetActivityStreamsUrl returns the "url" property if it exists, and nil
+ // otherwise.
+ GetActivityStreamsUrl() ActivityStreamsUrlProperty
+ // GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+ GetJSONLDId() JSONLDIdProperty
+ // GetJSONLDType returns the "type" property if it exists, and nil
+ // otherwise.
+ GetJSONLDType() JSONLDTypeProperty
+ // GetTypeName returns the name of this type.
+ GetTypeName() string
+ // GetUnknownProperties returns the unknown properties for the
+ // ReplyApproval type. Note that this should not be used by app
+ // developers. It is only used to help determine which implementation
+ // is LessThan the other. Developers who are creating a different
+ // implementation of this type's interface can use this method in
+ // their LessThan implementation, but routine ActivityPub applications
+ // should not use this to bypass the code generation tool.
+ GetUnknownProperties() map[string]interface{}
+ // IsExtending returns true if the ReplyApproval type extends from the
+ // other type.
+ IsExtending(other Type) bool
+ // JSONLDContext returns the JSONLD URIs required in the context string
+ // for this type and the specific properties that are set. The value
+ // in the map is the alias used to import the type and its properties.
+ JSONLDContext() map[string]string
+ // LessThan computes if this ReplyApproval is lesser, with an arbitrary
+ // but stable determination.
+ LessThan(o GoToSocialReplyApproval) bool
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format.
+ Serialize() (map[string]interface{}, error)
+ // SetActivityStreamsAltitude sets the "altitude" property.
+ SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty)
+ // SetActivityStreamsAttachment sets the "attachment" property.
+ SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty)
+ // SetActivityStreamsAttributedTo sets the "attributedTo" property.
+ SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty)
+ // SetActivityStreamsAudience sets the "audience" property.
+ SetActivityStreamsAudience(i ActivityStreamsAudienceProperty)
+ // SetActivityStreamsBcc sets the "bcc" property.
+ SetActivityStreamsBcc(i ActivityStreamsBccProperty)
+ // SetActivityStreamsBto sets the "bto" property.
+ SetActivityStreamsBto(i ActivityStreamsBtoProperty)
+ // SetActivityStreamsCc sets the "cc" property.
+ SetActivityStreamsCc(i ActivityStreamsCcProperty)
+ // SetActivityStreamsContent sets the "content" property.
+ SetActivityStreamsContent(i ActivityStreamsContentProperty)
+ // SetActivityStreamsContext sets the "context" property.
+ SetActivityStreamsContext(i ActivityStreamsContextProperty)
+ // SetActivityStreamsDuration sets the "duration" property.
+ SetActivityStreamsDuration(i ActivityStreamsDurationProperty)
+ // SetActivityStreamsEndTime sets the "endTime" property.
+ SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty)
+ // SetActivityStreamsGenerator sets the "generator" property.
+ SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty)
+ // SetActivityStreamsIcon sets the "icon" property.
+ SetActivityStreamsIcon(i ActivityStreamsIconProperty)
+ // SetActivityStreamsImage sets the "image" property.
+ SetActivityStreamsImage(i ActivityStreamsImageProperty)
+ // SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+ SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty)
+ // SetActivityStreamsLikes sets the "likes" property.
+ SetActivityStreamsLikes(i ActivityStreamsLikesProperty)
+ // SetActivityStreamsLocation sets the "location" property.
+ SetActivityStreamsLocation(i ActivityStreamsLocationProperty)
+ // SetActivityStreamsMediaType sets the "mediaType" property.
+ SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty)
+ // SetActivityStreamsName sets the "name" property.
+ SetActivityStreamsName(i ActivityStreamsNameProperty)
+ // SetActivityStreamsObject sets the "object" property.
+ SetActivityStreamsObject(i ActivityStreamsObjectProperty)
+ // SetActivityStreamsPreview sets the "preview" property.
+ SetActivityStreamsPreview(i ActivityStreamsPreviewProperty)
+ // SetActivityStreamsPublished sets the "published" property.
+ SetActivityStreamsPublished(i ActivityStreamsPublishedProperty)
+ // SetActivityStreamsReplies sets the "replies" property.
+ SetActivityStreamsReplies(i ActivityStreamsRepliesProperty)
+ // SetActivityStreamsSensitive sets the "sensitive" property.
+ SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty)
+ // SetActivityStreamsShares sets the "shares" property.
+ SetActivityStreamsShares(i ActivityStreamsSharesProperty)
+ // SetActivityStreamsSource sets the "source" property.
+ SetActivityStreamsSource(i ActivityStreamsSourceProperty)
+ // SetActivityStreamsStartTime sets the "startTime" property.
+ SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty)
+ // SetActivityStreamsSummary sets the "summary" property.
+ SetActivityStreamsSummary(i ActivityStreamsSummaryProperty)
+ // SetActivityStreamsTag sets the "tag" property.
+ SetActivityStreamsTag(i ActivityStreamsTagProperty)
+ // SetActivityStreamsTo sets the "to" property.
+ SetActivityStreamsTo(i ActivityStreamsToProperty)
+ // SetActivityStreamsUpdated sets the "updated" property.
+ SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty)
+ // SetActivityStreamsUrl sets the "url" property.
+ SetActivityStreamsUrl(i ActivityStreamsUrlProperty)
+ // SetJSONLDId sets the "id" property.
+ SetJSONLDId(i JSONLDIdProperty)
+ // SetJSONLDType sets the "type" property.
+ SetJSONLDType(i JSONLDTypeProperty)
+ // VocabularyURI returns the vocabulary's URI as a string.
+ VocabularyURI() string
+}
diff --git a/vendor/modules.txt b/vendor/modules.txt
index 4df510c7f..fa5d0a532 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -628,7 +628,7 @@ github.com/stretchr/testify/suite
# github.com/subosito/gotenv v1.6.0
## explicit; go 1.18
github.com/subosito/gotenv
-# github.com/superseriousbusiness/activity v1.10.0-gts
+# github.com/superseriousbusiness/activity v1.11.0-gts
## explicit; go 1.21
github.com/superseriousbusiness/activity/pub
github.com/superseriousbusiness/activity/streams
@@ -771,10 +771,13 @@ github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_canann
github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike
github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply
github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy
+github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval
github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce
github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike
github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply
github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy
+github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval
+github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval
github.com/superseriousbusiness/activity/streams/impl/jsonld/property_id
github.com/superseriousbusiness/activity/streams/impl/jsonld/property_type
github.com/superseriousbusiness/activity/streams/impl/schema/property_value