summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'vendor')
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go35
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go91
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go193
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go49
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go56
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go49
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go50
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go34
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go12
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go21
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go91
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go77
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go863
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go863
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go864
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go864
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go864
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go861
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go861
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go861
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go863
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go863
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go387
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go856
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go864
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go864
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go864
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go863
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go864
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go863
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go863
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go864
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go863
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go863
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go856
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go863
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go391
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go391
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go861
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go863
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go24
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go861
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go2
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go4
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go4
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go4
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go4
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go4
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go2
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go2
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go2
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go4
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go4
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go4
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go4
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go4
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go15
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go511
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go22
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go618
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go15
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go511
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go15
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go511
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go15
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go510
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go1
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go189
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go1726
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go199
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go1850
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go9
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go94
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go9
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go94
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go63
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go372
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go9
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go94
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go4
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go42
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go1
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go189
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go1724
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go199
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go1849
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go1
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go189
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go1724
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go199
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go1849
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_pkg.go15
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go531
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_doc.go17
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_pkg.go15
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go203
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go2
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/util.go6
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go168
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go168
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go172
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go172
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go172
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go167
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go167
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go166
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go168
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go169
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go71
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go172
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go172
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go172
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go172
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go168
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go172
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go168
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go168
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go172
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go168
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go169
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go172
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go168
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go71
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go71
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go167
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go168
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go166
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_always_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go132
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go156
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go130
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go130
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go132
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_focalPoint_interface.go130
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_indexable_interface.go52
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go1
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go210
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go225
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go10
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go10
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go55
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go10
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go5
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go1
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go210
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go225
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go1
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go210
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go225
-rw-r--r--vendor/modules.txt16
214 files changed, 45854 insertions, 3127 deletions
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go
index 3bda64dc7..4c40dabb3 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go
@@ -20,6 +20,12 @@ var ActivityStreamsAnnounceName string = "Announce"
// GoToSocialAnnounceApprovalName is the string literal of the name for the AnnounceApproval type in the GoToSocial vocabulary.
var GoToSocialAnnounceApprovalName string = "AnnounceApproval"
+// GoToSocialAnnounceAuthorizationName is the string literal of the name for the AnnounceAuthorization type in the GoToSocial vocabulary.
+var GoToSocialAnnounceAuthorizationName string = "AnnounceAuthorization"
+
+// GoToSocialAnnounceRequestName is the string literal of the name for the AnnounceRequest type in the GoToSocial vocabulary.
+var GoToSocialAnnounceRequestName string = "AnnounceRequest"
+
// ActivityStreamsApplicationName is the string literal of the name for the Application type in the ActivityStreams vocabulary.
var ActivityStreamsApplicationName string = "Application"
@@ -44,6 +50,9 @@ var GoToSocialCanAnnounceName string = "CanAnnounce"
// GoToSocialCanLikeName is the string literal of the name for the CanLike type in the GoToSocial vocabulary.
var GoToSocialCanLikeName string = "CanLike"
+// GoToSocialCanQuoteName is the string literal of the name for the CanQuote type in the GoToSocial vocabulary.
+var GoToSocialCanQuoteName string = "CanQuote"
+
// GoToSocialCanReplyName is the string literal of the name for the CanReply type in the GoToSocial vocabulary.
var GoToSocialCanReplyName string = "CanReply"
@@ -119,6 +128,12 @@ var ActivityStreamsLikeName string = "Like"
// GoToSocialLikeApprovalName is the string literal of the name for the LikeApproval type in the GoToSocial vocabulary.
var GoToSocialLikeApprovalName string = "LikeApproval"
+// GoToSocialLikeAuthorizationName is the string literal of the name for the LikeAuthorization type in the GoToSocial vocabulary.
+var GoToSocialLikeAuthorizationName string = "LikeAuthorization"
+
+// GoToSocialLikeRequestName is the string literal of the name for the LikeRequest type in the GoToSocial vocabulary.
+var GoToSocialLikeRequestName string = "LikeRequest"
+
// ActivityStreamsLinkName is the string literal of the name for the Link type in the ActivityStreams vocabulary.
var ActivityStreamsLinkName string = "Link"
@@ -185,6 +200,12 @@ var ActivityStreamsRemoveName string = "Remove"
// GoToSocialReplyApprovalName is the string literal of the name for the ReplyApproval type in the GoToSocial vocabulary.
var GoToSocialReplyApprovalName string = "ReplyApproval"
+// GoToSocialReplyAuthorizationName is the string literal of the name for the ReplyAuthorization type in the GoToSocial vocabulary.
+var GoToSocialReplyAuthorizationName string = "ReplyAuthorization"
+
+// GoToSocialReplyRequestName is the string literal of the name for the ReplyRequest type in the GoToSocial vocabulary.
+var GoToSocialReplyRequestName string = "ReplyRequest"
+
// ActivityStreamsServiceName is the string literal of the name for the Service type in the ActivityStreams vocabulary.
var ActivityStreamsServiceName string = "Service"
@@ -248,6 +269,9 @@ var ActivityStreamsAttributedToPropertyName string = "attributedTo"
// ActivityStreamsAudiencePropertyName is the string literal of the name for the audience property in the ActivityStreams vocabulary.
var ActivityStreamsAudiencePropertyName string = "audience"
+// GoToSocialAutomaticApprovalPropertyName is the string literal of the name for the automaticApproval property in the GoToSocial vocabulary.
+var GoToSocialAutomaticApprovalPropertyName string = "automaticApproval"
+
// ActivityStreamsBccPropertyName is the string literal of the name for the bcc property in the ActivityStreams vocabulary.
var ActivityStreamsBccPropertyName string = "bcc"
@@ -263,6 +287,9 @@ var GoToSocialCanAnnouncePropertyName string = "canAnnounce"
// GoToSocialCanLikePropertyName is the string literal of the name for the canLike property in the GoToSocial vocabulary.
var GoToSocialCanLikePropertyName string = "canLike"
+// GoToSocialCanQuotePropertyName is the string literal of the name for the canQuote property in the GoToSocial vocabulary.
+var GoToSocialCanQuotePropertyName string = "canQuote"
+
// GoToSocialCanReplyPropertyName is the string literal of the name for the canReply property in the GoToSocial vocabulary.
var GoToSocialCanReplyPropertyName string = "canReply"
@@ -308,6 +335,9 @@ var TootFeaturedPropertyName string = "featured"
// ActivityStreamsFirstPropertyName is the string literal of the name for the first property in the ActivityStreams vocabulary.
var ActivityStreamsFirstPropertyName string = "first"
+// TootFocalPointPropertyName is the string literal of the name for the focalPoint property in the Toot vocabulary.
+var TootFocalPointPropertyName string = "focalPoint"
+
// ActivityStreamsFollowersPropertyName is the string literal of the name for the followers property in the ActivityStreams vocabulary.
var ActivityStreamsFollowersPropertyName string = "followers"
@@ -341,12 +371,21 @@ var ActivityStreamsInReplyToPropertyName string = "inReplyTo"
// ActivityStreamsInboxPropertyName is the string literal of the name for the inbox property in the ActivityStreams vocabulary.
var ActivityStreamsInboxPropertyName string = "inbox"
+// TootIndexablePropertyName is the string literal of the name for the indexable property in the Toot vocabulary.
+var TootIndexablePropertyName string = "indexable"
+
// ActivityStreamsInstrumentPropertyName is the string literal of the name for the instrument property in the ActivityStreams vocabulary.
var ActivityStreamsInstrumentPropertyName string = "instrument"
+// GoToSocialInteractingObjectPropertyName is the string literal of the name for the interactingObject property in the GoToSocial vocabulary.
+var GoToSocialInteractingObjectPropertyName string = "interactingObject"
+
// GoToSocialInteractionPolicyPropertyName is the string literal of the name for the interactionPolicy property in the GoToSocial vocabulary.
var GoToSocialInteractionPolicyPropertyName string = "interactionPolicy"
+// GoToSocialInteractionTargetPropertyName is the string literal of the name for the interactionTarget property in the GoToSocial vocabulary.
+var GoToSocialInteractionTargetPropertyName string = "interactionTarget"
+
// ActivityStreamsItemsPropertyName is the string literal of the name for the items property in the ActivityStreams vocabulary.
var ActivityStreamsItemsPropertyName string = "items"
@@ -368,6 +407,9 @@ var ActivityStreamsLocationPropertyName string = "location"
// ActivityStreamsLongitudePropertyName is the string literal of the name for the longitude property in the ActivityStreams vocabulary.
var ActivityStreamsLongitudePropertyName string = "longitude"
+// GoToSocialManualApprovalPropertyName is the string literal of the name for the manualApproval property in the GoToSocial vocabulary.
+var GoToSocialManualApprovalPropertyName string = "manualApproval"
+
// ActivityStreamsManuallyApprovesFollowersPropertyName is the string literal of the name for the manuallyApprovesFollowers property in the ActivityStreams vocabulary.
var ActivityStreamsManuallyApprovesFollowersPropertyName string = "manuallyApprovesFollowers"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go
index 7441fa2db..5b55dee31 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go
@@ -142,22 +142,36 @@ import (
propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always"
propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired"
propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby"
+ propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval"
propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce"
propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike"
+ propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote"
propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply"
+ propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject"
propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy"
+ propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget"
+ propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval"
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
+ typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
+ typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
+ typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
+ typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
+ typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
+ typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
propertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value"
typepropertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue"
propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable"
propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured"
+ propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint"
+ propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable"
propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm"
propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
@@ -322,22 +336,36 @@ func init() {
propertyalways.SetManager(mgr)
propertyapprovalrequired.SetManager(mgr)
propertyapprovedby.SetManager(mgr)
+ propertyautomaticapproval.SetManager(mgr)
propertycanannounce.SetManager(mgr)
propertycanlike.SetManager(mgr)
+ propertycanquote.SetManager(mgr)
propertycanreply.SetManager(mgr)
+ propertyinteractingobject.SetManager(mgr)
propertyinteractionpolicy.SetManager(mgr)
+ propertyinteractiontarget.SetManager(mgr)
+ propertymanualapproval.SetManager(mgr)
typeannounceapproval.SetManager(mgr)
+ typeannounceauthorization.SetManager(mgr)
+ typeannouncerequest.SetManager(mgr)
typecanannounce.SetManager(mgr)
typecanlike.SetManager(mgr)
+ typecanquote.SetManager(mgr)
typecanreply.SetManager(mgr)
typeinteractionpolicy.SetManager(mgr)
typelikeapproval.SetManager(mgr)
+ typelikeauthorization.SetManager(mgr)
+ typelikerequest.SetManager(mgr)
typereplyapproval.SetManager(mgr)
+ typereplyauthorization.SetManager(mgr)
+ typereplyrequest.SetManager(mgr)
propertyvalue.SetManager(mgr)
typepropertyvalue.SetManager(mgr)
propertyblurhash.SetManager(mgr)
propertydiscoverable.SetManager(mgr)
propertyfeatured.SetManager(mgr)
+ propertyfocalpoint.SetManager(mgr)
+ propertyindexable.SetManager(mgr)
propertysignaturealgorithm.SetManager(mgr)
propertysignaturevalue.SetManager(mgr)
propertyvoterscount.SetManager(mgr)
@@ -408,12 +436,19 @@ func init() {
typelibrary.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typetrack.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeannounceapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty)
+ typeannounceauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty)
+ typeannouncerequest.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecanannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecanlike.SetTypePropertyConstructor(NewJSONLDTypeProperty)
+ typecanquote.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecanreply.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeinteractionpolicy.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typelikeapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty)
+ typelikeauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty)
+ typelikerequest.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typereplyapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty)
+ typereplyauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty)
+ typereplyrequest.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typepropertyvalue.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typehashtag.SetTypePropertyConstructor(NewJSONLDTypeProperty)
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go
index fc30ea78d..ca0191faf 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go
@@ -43,6 +43,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, 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.GoToSocialAnnounceAuthorization) error:
+ // Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialAnnounceRequest) 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:
@@ -59,6 +63,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.GoToSocialCanLike) error:
// Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialCanQuote) error:
+ // Do nothing, this callback has a correct signature.
case func(context.Context, vocab.GoToSocialCanReply) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsCollection) error:
@@ -109,6 +115,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, 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.GoToSocialLikeAuthorization) error:
+ // Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialLikeRequest) 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:
@@ -153,6 +163,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, 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.GoToSocialReplyAuthorization) error:
+ // Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialReplyRequest) 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:
@@ -354,6 +368,28 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
+ } else if typeString == GoToSocialAlias+"AnnounceAuthorization" {
+ v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap)
+ if err != nil {
+ return err
+ }
+ for _, i := range this.callbacks {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceAuthorization) error); ok {
+ return fn(ctx, v)
+ }
+ }
+ return ErrNoCallbackMatch
+ } else if typeString == GoToSocialAlias+"AnnounceRequest" {
+ v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap)
+ if err != nil {
+ return err
+ }
+ for _, i := range this.callbacks {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceRequest) error); ok {
+ return fn(ctx, v)
+ }
+ }
+ return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Application" {
v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap)
if err != nil {
@@ -442,6 +478,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
+ } else if typeString == GoToSocialAlias+"CanQuote" {
+ v, err := mgr.DeserializeCanQuoteGoToSocial()(m, aliasMap)
+ if err != nil {
+ return err
+ }
+ for _, i := range this.callbacks {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialCanQuote) error); ok {
+ return fn(ctx, v)
+ }
+ }
+ return ErrNoCallbackMatch
} else if typeString == GoToSocialAlias+"CanReply" {
v, err := mgr.DeserializeCanReplyGoToSocial()(m, aliasMap)
if err != nil {
@@ -717,6 +764,28 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
+ } else if typeString == GoToSocialAlias+"LikeAuthorization" {
+ v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap)
+ if err != nil {
+ return err
+ }
+ for _, i := range this.callbacks {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeAuthorization) error); ok {
+ return fn(ctx, v)
+ }
+ }
+ return ErrNoCallbackMatch
+ } else if typeString == GoToSocialAlias+"LikeRequest" {
+ v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap)
+ if err != nil {
+ return err
+ }
+ for _, i := range this.callbacks {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeRequest) error); ok {
+ return fn(ctx, v)
+ }
+ }
+ return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Link" {
v, err := mgr.DeserializeLinkActivityStreams()(m, aliasMap)
if err != nil {
@@ -959,6 +1028,28 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
+ } else if typeString == GoToSocialAlias+"ReplyAuthorization" {
+ v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap)
+ if err != nil {
+ return err
+ }
+ for _, i := range this.callbacks {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyAuthorization) error); ok {
+ return fn(ctx, v)
+ }
+ }
+ return ErrNoCallbackMatch
+ } else if typeString == GoToSocialAlias+"ReplyRequest" {
+ v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap)
+ if err != nil {
+ return err
+ }
+ for _, i := range this.callbacks {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyRequest) 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/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go
index 6c5377097..9f06e9b07 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go
@@ -142,17 +142,29 @@ import (
propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always"
propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired"
propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby"
+ propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval"
propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce"
propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike"
+ propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote"
propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply"
+ propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject"
propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy"
+ propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget"
+ propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval"
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
+ typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
+ typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
+ typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
+ typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
+ typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
+ typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
propertyid "codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id"
propertytype "codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type"
propertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value"
@@ -160,6 +172,8 @@ import (
propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable"
propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured"
+ propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint"
+ propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable"
propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm"
propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
@@ -321,6 +335,32 @@ func (this Manager) DeserializeAnnounceApprovalGoToSocial() func(map[string]inte
}
}
+// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization method
+// for the "GoToSocialAnnounceAuthorization" non-functional property in the
+// vocabulary "GoToSocial"
+func (this Manager) DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) {
+ i, err := typeannounceauthorization.DeserializeAnnounceAuthorization(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
+// DeserializeAnnounceRequestGoToSocial returns the deserialization method for the
+// "GoToSocialAnnounceRequest" non-functional property in the vocabulary
+// "GoToSocial"
+func (this Manager) DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAnnounceRequest, error) {
+ i, err := typeannouncerequest.DeserializeAnnounceRequest(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"
@@ -463,6 +503,19 @@ func (this Manager) DeserializeAudioActivityStreams() func(map[string]interface{
}
}
+// DeserializeAutomaticApprovalPropertyGoToSocial returns the deserialization
+// method for the "GoToSocialAutomaticApprovalProperty" non-functional
+// property in the vocabulary "GoToSocial"
+func (this Manager) DeserializeAutomaticApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) {
+ i, err := propertyautomaticapproval.DeserializeAutomaticApprovalProperty(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeBccPropertyActivityStreams returns the deserialization method for
// the "ActivityStreamsBccProperty" non-functional property in the vocabulary
// "ActivityStreams"
@@ -565,6 +618,31 @@ func (this Manager) DeserializeCanLikePropertyGoToSocial() func(map[string]inter
}
}
+// DeserializeCanQuoteGoToSocial returns the deserialization method for the
+// "GoToSocialCanQuote" non-functional property in the vocabulary "GoToSocial"
+func (this Manager) DeserializeCanQuoteGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanQuote, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialCanQuote, error) {
+ i, err := typecanquote.DeserializeCanQuote(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
+// DeserializeCanQuotePropertyGoToSocial returns the deserialization method for
+// the "GoToSocialCanQuoteProperty" non-functional property in the vocabulary
+// "GoToSocial"
+func (this Manager) DeserializeCanQuotePropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanQuoteProperty, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialCanQuoteProperty, error) {
+ i, err := propertycanquote.DeserializeCanQuoteProperty(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeCanReplyGoToSocial returns the deserialization method for the
// "GoToSocialCanReply" non-functional property in the vocabulary "GoToSocial"
func (this Manager) DeserializeCanReplyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanReply, error) {
@@ -886,6 +964,18 @@ func (this Manager) DeserializeFlagActivityStreams() func(map[string]interface{}
}
}
+// DeserializeFocalPointPropertyToot returns the deserialization method for the
+// "TootFocalPointProperty" non-functional property in the vocabulary "Toot"
+func (this Manager) DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.TootFocalPointProperty, error) {
+ i, err := propertyfocalpoint.DeserializeFocalPointProperty(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeFollowActivityStreams returns the deserialization method for the
// "ActivityStreamsFollow" non-functional property in the vocabulary
// "ActivityStreams"
@@ -1117,6 +1207,18 @@ func (this Manager) DeserializeInboxPropertyActivityStreams() func(map[string]in
}
}
+// DeserializeIndexablePropertyToot returns the deserialization method for the
+// "TootIndexableProperty" non-functional property in the vocabulary "Toot"
+func (this Manager) DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.TootIndexableProperty, error) {
+ i, err := propertyindexable.DeserializeIndexableProperty(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeInstrumentPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsInstrumentProperty" non-functional property in the
// vocabulary "ActivityStreams"
@@ -1130,6 +1232,19 @@ func (this Manager) DeserializeInstrumentPropertyActivityStreams() func(map[stri
}
}
+// DeserializeInteractingObjectPropertyGoToSocial returns the deserialization
+// method for the "GoToSocialInteractingObjectProperty" non-functional
+// property in the vocabulary "GoToSocial"
+func (this Manager) DeserializeInteractingObjectPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) {
+ i, err := propertyinteractingobject.DeserializeInteractingObjectProperty(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeInteractionPolicyGoToSocial returns the deserialization method for
// the "GoToSocialInteractionPolicy" non-functional property in the vocabulary
// "GoToSocial"
@@ -1156,6 +1271,19 @@ func (this Manager) DeserializeInteractionPolicyPropertyGoToSocial() func(map[st
}
}
+// DeserializeInteractionTargetPropertyGoToSocial returns the deserialization
+// method for the "GoToSocialInteractionTargetProperty" non-functional
+// property in the vocabulary "GoToSocial"
+func (this Manager) DeserializeInteractionTargetPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) {
+ i, err := propertyinteractiontarget.DeserializeInteractionTargetProperty(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeIntransitiveActivityActivityStreams returns the deserialization
// method for the "ActivityStreamsIntransitiveActivity" non-functional
// property in the vocabulary "ActivityStreams"
@@ -1285,6 +1413,32 @@ func (this Manager) DeserializeLikeApprovalGoToSocial() func(map[string]interfac
}
}
+// DeserializeLikeAuthorizationGoToSocial returns the deserialization method for
+// the "GoToSocialLikeAuthorization" non-functional property in the vocabulary
+// "GoToSocial"
+func (this Manager) DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialLikeAuthorization, error) {
+ i, err := typelikeauthorization.DeserializeLikeAuthorization(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
+// DeserializeLikeRequestGoToSocial returns the deserialization method for the
+// "GoToSocialLikeRequest" non-functional property in the vocabulary
+// "GoToSocial"
+func (this Manager) DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialLikeRequest, error) {
+ i, err := typelikerequest.DeserializeLikeRequest(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"
@@ -1363,6 +1517,19 @@ func (this Manager) DeserializeLongitudePropertyActivityStreams() func(map[strin
}
}
+// DeserializeManualApprovalPropertyGoToSocial returns the deserialization method
+// for the "GoToSocialManualApprovalProperty" non-functional property in the
+// vocabulary "GoToSocial"
+func (this Manager) DeserializeManualApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialManualApprovalProperty, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialManualApprovalProperty, error) {
+ i, err := propertymanualapproval.DeserializeManualApprovalProperty(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeManuallyApprovesFollowersPropertyActivityStreams returns the
// deserialization method for the
// "ActivityStreamsManuallyApprovesFollowersProperty" non-functional property
@@ -1909,6 +2076,32 @@ func (this Manager) DeserializeReplyApprovalGoToSocial() func(map[string]interfa
}
}
+// DeserializeReplyAuthorizationGoToSocial returns the deserialization method for
+// the "GoToSocialReplyAuthorization" non-functional property in the
+// vocabulary "GoToSocial"
+func (this Manager) DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialReplyAuthorization, error) {
+ i, err := typereplyauthorization.DeserializeReplyAuthorization(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
+// DeserializeReplyRequestGoToSocial returns the deserialization method for the
+// "GoToSocialReplyRequest" non-functional property in the vocabulary
+// "GoToSocial"
+func (this Manager) DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialReplyRequest, error) {
+ i, err := typereplyrequest.DeserializeReplyRequest(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/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go
index 37e71e219..0d18a263a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go
@@ -4,12 +4,19 @@ package streams
import (
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
+ typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
+ typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
+ typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
+ typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
+ typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
+ typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
)
@@ -19,6 +26,18 @@ func GoToSocialAnnounceApprovalIsDisjointWith(other vocab.Type) bool {
return typeannounceapproval.AnnounceApprovalIsDisjointWith(other)
}
+// GoToSocialAnnounceAuthorizationIsDisjointWith returns true if
+// AnnounceAuthorization is disjoint with the other's type.
+func GoToSocialAnnounceAuthorizationIsDisjointWith(other vocab.Type) bool {
+ return typeannounceauthorization.AnnounceAuthorizationIsDisjointWith(other)
+}
+
+// GoToSocialAnnounceRequestIsDisjointWith returns true if AnnounceRequest is
+// disjoint with the other's type.
+func GoToSocialAnnounceRequestIsDisjointWith(other vocab.Type) bool {
+ return typeannouncerequest.AnnounceRequestIsDisjointWith(other)
+}
+
// GoToSocialCanAnnounceIsDisjointWith returns true if CanAnnounce is disjoint
// with the other's type.
func GoToSocialCanAnnounceIsDisjointWith(other vocab.Type) bool {
@@ -31,6 +50,12 @@ func GoToSocialCanLikeIsDisjointWith(other vocab.Type) bool {
return typecanlike.CanLikeIsDisjointWith(other)
}
+// GoToSocialCanQuoteIsDisjointWith returns true if CanQuote is disjoint with the
+// other's type.
+func GoToSocialCanQuoteIsDisjointWith(other vocab.Type) bool {
+ return typecanquote.CanQuoteIsDisjointWith(other)
+}
+
// GoToSocialCanReplyIsDisjointWith returns true if CanReply is disjoint with the
// other's type.
func GoToSocialCanReplyIsDisjointWith(other vocab.Type) bool {
@@ -49,8 +74,32 @@ func GoToSocialLikeApprovalIsDisjointWith(other vocab.Type) bool {
return typelikeapproval.LikeApprovalIsDisjointWith(other)
}
+// GoToSocialLikeAuthorizationIsDisjointWith returns true if LikeAuthorization is
+// disjoint with the other's type.
+func GoToSocialLikeAuthorizationIsDisjointWith(other vocab.Type) bool {
+ return typelikeauthorization.LikeAuthorizationIsDisjointWith(other)
+}
+
+// GoToSocialLikeRequestIsDisjointWith returns true if LikeRequest is disjoint
+// with the other's type.
+func GoToSocialLikeRequestIsDisjointWith(other vocab.Type) bool {
+ return typelikerequest.LikeRequestIsDisjointWith(other)
+}
+
// GoToSocialReplyApprovalIsDisjointWith returns true if ReplyApproval is disjoint
// with the other's type.
func GoToSocialReplyApprovalIsDisjointWith(other vocab.Type) bool {
return typereplyapproval.ReplyApprovalIsDisjointWith(other)
}
+
+// GoToSocialReplyAuthorizationIsDisjointWith returns true if ReplyAuthorization
+// is disjoint with the other's type.
+func GoToSocialReplyAuthorizationIsDisjointWith(other vocab.Type) bool {
+ return typereplyauthorization.ReplyAuthorizationIsDisjointWith(other)
+}
+
+// GoToSocialReplyRequestIsDisjointWith returns true if ReplyRequest is disjoint
+// with the other's type.
+func GoToSocialReplyRequestIsDisjointWith(other vocab.Type) bool {
+ return typereplyrequest.ReplyRequestIsDisjointWith(other)
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go
index 0c17ac630..a6ebe8ac5 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extendedby.go
@@ -4,12 +4,19 @@ package streams
import (
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
+ typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
+ typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
+ typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
+ typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
+ typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
+ typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
)
@@ -20,6 +27,20 @@ func GoToSocialAnnounceApprovalIsExtendedBy(other vocab.Type) bool {
return typeannounceapproval.AnnounceApprovalIsExtendedBy(other)
}
+// GoToSocialAnnounceAuthorizationIsExtendedBy returns true if the other's type
+// extends from AnnounceAuthorization. Note that it returns false if the types
+// are the same; see the "IsOrExtends" variant instead.
+func GoToSocialAnnounceAuthorizationIsExtendedBy(other vocab.Type) bool {
+ return typeannounceauthorization.AnnounceAuthorizationIsExtendedBy(other)
+}
+
+// GoToSocialAnnounceRequestIsExtendedBy returns true if the other's type extends
+// from AnnounceRequest. Note that it returns false if the types are the same;
+// see the "IsOrExtends" variant instead.
+func GoToSocialAnnounceRequestIsExtendedBy(other vocab.Type) bool {
+ return typeannouncerequest.AnnounceRequestIsExtendedBy(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.
@@ -34,6 +55,13 @@ func GoToSocialCanLikeIsExtendedBy(other vocab.Type) bool {
return typecanlike.CanLikeIsExtendedBy(other)
}
+// GoToSocialCanQuoteIsExtendedBy returns true if the other's type extends from
+// CanQuote. Note that it returns false if the types are the same; see the
+// "IsOrExtends" variant instead.
+func GoToSocialCanQuoteIsExtendedBy(other vocab.Type) bool {
+ return typecanquote.CanQuoteIsExtendedBy(other)
+}
+
// GoToSocialCanReplyIsExtendedBy returns true if the other's type extends from
// CanReply. Note that it returns false if the types are the same; see the
// "IsOrExtends" variant instead.
@@ -55,9 +83,37 @@ func GoToSocialLikeApprovalIsExtendedBy(other vocab.Type) bool {
return typelikeapproval.LikeApprovalIsExtendedBy(other)
}
+// GoToSocialLikeAuthorizationIsExtendedBy returns true if the other's type
+// extends from LikeAuthorization. Note that it returns false if the types are
+// the same; see the "IsOrExtends" variant instead.
+func GoToSocialLikeAuthorizationIsExtendedBy(other vocab.Type) bool {
+ return typelikeauthorization.LikeAuthorizationIsExtendedBy(other)
+}
+
+// GoToSocialLikeRequestIsExtendedBy returns true if the other's type extends from
+// LikeRequest. Note that it returns false if the types are the same; see the
+// "IsOrExtends" variant instead.
+func GoToSocialLikeRequestIsExtendedBy(other vocab.Type) bool {
+ return typelikerequest.LikeRequestIsExtendedBy(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)
}
+
+// GoToSocialReplyAuthorizationIsExtendedBy returns true if the other's type
+// extends from ReplyAuthorization. Note that it returns false if the types
+// are the same; see the "IsOrExtends" variant instead.
+func GoToSocialReplyAuthorizationIsExtendedBy(other vocab.Type) bool {
+ return typereplyauthorization.ReplyAuthorizationIsExtendedBy(other)
+}
+
+// GoToSocialReplyRequestIsExtendedBy returns true if the other's type extends
+// from ReplyRequest. Note that it returns false if the types are the same;
+// see the "IsOrExtends" variant instead.
+func GoToSocialReplyRequestIsExtendedBy(other vocab.Type) bool {
+ return typereplyrequest.ReplyRequestIsExtendedBy(other)
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
index 2de5b8fe5..814da6b22 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
@@ -4,12 +4,19 @@ package streams
import (
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
+ typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
+ typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
+ typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
+ typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
+ typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
+ typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
)
@@ -19,6 +26,18 @@ func GoToSocialGoToSocialAnnounceApprovalExtends(other vocab.Type) bool {
return typeannounceapproval.GoToSocialAnnounceApprovalExtends(other)
}
+// GoToSocialGoToSocialAnnounceAuthorizationExtends returns true if
+// AnnounceAuthorization extends from the other's type.
+func GoToSocialGoToSocialAnnounceAuthorizationExtends(other vocab.Type) bool {
+ return typeannounceauthorization.GoToSocialAnnounceAuthorizationExtends(other)
+}
+
+// GoToSocialGoToSocialAnnounceRequestExtends returns true if AnnounceRequest
+// extends from the other's type.
+func GoToSocialGoToSocialAnnounceRequestExtends(other vocab.Type) bool {
+ return typeannouncerequest.GoToSocialAnnounceRequestExtends(other)
+}
+
// GoToSocialGoToSocialCanAnnounceExtends returns true if CanAnnounce extends from
// the other's type.
func GoToSocialGoToSocialCanAnnounceExtends(other vocab.Type) bool {
@@ -31,6 +50,12 @@ func GoToSocialGoToSocialCanLikeExtends(other vocab.Type) bool {
return typecanlike.GoToSocialCanLikeExtends(other)
}
+// GoToSocialGoToSocialCanQuoteExtends returns true if CanQuote extends from the
+// other's type.
+func GoToSocialGoToSocialCanQuoteExtends(other vocab.Type) bool {
+ return typecanquote.GoToSocialCanQuoteExtends(other)
+}
+
// GoToSocialGoToSocialCanReplyExtends returns true if CanReply extends from the
// other's type.
func GoToSocialGoToSocialCanReplyExtends(other vocab.Type) bool {
@@ -49,8 +74,32 @@ func GoToSocialGoToSocialLikeApprovalExtends(other vocab.Type) bool {
return typelikeapproval.GoToSocialLikeApprovalExtends(other)
}
+// GoToSocialGoToSocialLikeAuthorizationExtends returns true if LikeAuthorization
+// extends from the other's type.
+func GoToSocialGoToSocialLikeAuthorizationExtends(other vocab.Type) bool {
+ return typelikeauthorization.GoToSocialLikeAuthorizationExtends(other)
+}
+
+// GoToSocialGoToSocialLikeRequestExtends returns true if LikeRequest extends from
+// the other's type.
+func GoToSocialGoToSocialLikeRequestExtends(other vocab.Type) bool {
+ return typelikerequest.GoToSocialLikeRequestExtends(other)
+}
+
// GoToSocialGoToSocialReplyApprovalExtends returns true if ReplyApproval extends
// from the other's type.
func GoToSocialGoToSocialReplyApprovalExtends(other vocab.Type) bool {
return typereplyapproval.GoToSocialReplyApprovalExtends(other)
}
+
+// GoToSocialGoToSocialReplyAuthorizationExtends returns true if
+// ReplyAuthorization extends from the other's type.
+func GoToSocialGoToSocialReplyAuthorizationExtends(other vocab.Type) bool {
+ return typereplyauthorization.GoToSocialReplyAuthorizationExtends(other)
+}
+
+// GoToSocialGoToSocialReplyRequestExtends returns true if ReplyRequest extends
+// from the other's type.
+func GoToSocialGoToSocialReplyRequestExtends(other vocab.Type) bool {
+ return typereplyrequest.GoToSocialReplyRequestExtends(other)
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go
index e6c455f8f..0e50e365e 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_isorextends.go
@@ -4,12 +4,19 @@ package streams
import (
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
+ typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
+ typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
+ typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
+ typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
+ typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
+ typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
)
@@ -19,6 +26,19 @@ func IsOrExtendsGoToSocialAnnounceApproval(other vocab.Type) bool {
return typeannounceapproval.IsOrExtendsAnnounceApproval(other)
}
+// IsOrExtendsGoToSocialAnnounceAuthorization returns true if the other provided
+// type is the AnnounceAuthorization type or extends from the
+// AnnounceAuthorization type.
+func IsOrExtendsGoToSocialAnnounceAuthorization(other vocab.Type) bool {
+ return typeannounceauthorization.IsOrExtendsAnnounceAuthorization(other)
+}
+
+// IsOrExtendsGoToSocialAnnounceRequest returns true if the other provided type is
+// the AnnounceRequest type or extends from the AnnounceRequest type.
+func IsOrExtendsGoToSocialAnnounceRequest(other vocab.Type) bool {
+ return typeannouncerequest.IsOrExtendsAnnounceRequest(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 {
@@ -31,6 +51,12 @@ func IsOrExtendsGoToSocialCanLike(other vocab.Type) bool {
return typecanlike.IsOrExtendsCanLike(other)
}
+// IsOrExtendsGoToSocialCanQuote returns true if the other provided type is the
+// CanQuote type or extends from the CanQuote type.
+func IsOrExtendsGoToSocialCanQuote(other vocab.Type) bool {
+ return typecanquote.IsOrExtendsCanQuote(other)
+}
+
// IsOrExtendsGoToSocialCanReply returns true if the other provided type is the
// CanReply type or extends from the CanReply type.
func IsOrExtendsGoToSocialCanReply(other vocab.Type) bool {
@@ -49,8 +75,32 @@ func IsOrExtendsGoToSocialLikeApproval(other vocab.Type) bool {
return typelikeapproval.IsOrExtendsLikeApproval(other)
}
+// IsOrExtendsGoToSocialLikeAuthorization returns true if the other provided type
+// is the LikeAuthorization type or extends from the LikeAuthorization type.
+func IsOrExtendsGoToSocialLikeAuthorization(other vocab.Type) bool {
+ return typelikeauthorization.IsOrExtendsLikeAuthorization(other)
+}
+
+// IsOrExtendsGoToSocialLikeRequest returns true if the other provided type is the
+// LikeRequest type or extends from the LikeRequest type.
+func IsOrExtendsGoToSocialLikeRequest(other vocab.Type) bool {
+ return typelikerequest.IsOrExtendsLikeRequest(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)
}
+
+// IsOrExtendsGoToSocialReplyAuthorization returns true if the other provided type
+// is the ReplyAuthorization type or extends from the ReplyAuthorization type.
+func IsOrExtendsGoToSocialReplyAuthorization(other vocab.Type) bool {
+ return typereplyauthorization.IsOrExtendsReplyAuthorization(other)
+}
+
+// IsOrExtendsGoToSocialReplyRequest returns true if the other provided type is
+// the ReplyRequest type or extends from the ReplyRequest type.
+func IsOrExtendsGoToSocialReplyRequest(other vocab.Type) bool {
+ return typereplyrequest.IsOrExtendsReplyRequest(other)
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go
index 566b16c47..82e7f8bbe 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_property_constructors.go
@@ -6,10 +6,15 @@ import (
propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always"
propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired"
propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby"
+ propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval"
propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce"
propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike"
+ propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote"
propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply"
+ propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject"
propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy"
+ propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget"
+ propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval"
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
)
@@ -30,6 +35,12 @@ func NewGoToSocialApprovedByProperty() vocab.GoToSocialApprovedByProperty {
return propertyapprovedby.NewGoToSocialApprovedByProperty()
}
+// NewGoToSocialGoToSocialAutomaticApprovalProperty creates a new
+// GoToSocialAutomaticApprovalProperty
+func NewGoToSocialAutomaticApprovalProperty() vocab.GoToSocialAutomaticApprovalProperty {
+ return propertyautomaticapproval.NewGoToSocialAutomaticApprovalProperty()
+}
+
// NewGoToSocialGoToSocialCanAnnounceProperty creates a new
// GoToSocialCanAnnounceProperty
func NewGoToSocialCanAnnounceProperty() vocab.GoToSocialCanAnnounceProperty {
@@ -41,13 +52,36 @@ func NewGoToSocialCanLikeProperty() vocab.GoToSocialCanLikeProperty {
return propertycanlike.NewGoToSocialCanLikeProperty()
}
+// NewGoToSocialGoToSocialCanQuoteProperty creates a new GoToSocialCanQuoteProperty
+func NewGoToSocialCanQuoteProperty() vocab.GoToSocialCanQuoteProperty {
+ return propertycanquote.NewGoToSocialCanQuoteProperty()
+}
+
// NewGoToSocialGoToSocialCanReplyProperty creates a new GoToSocialCanReplyProperty
func NewGoToSocialCanReplyProperty() vocab.GoToSocialCanReplyProperty {
return propertycanreply.NewGoToSocialCanReplyProperty()
}
+// NewGoToSocialGoToSocialInteractingObjectProperty creates a new
+// GoToSocialInteractingObjectProperty
+func NewGoToSocialInteractingObjectProperty() vocab.GoToSocialInteractingObjectProperty {
+ return propertyinteractingobject.NewGoToSocialInteractingObjectProperty()
+}
+
// NewGoToSocialGoToSocialInteractionPolicyProperty creates a new
// GoToSocialInteractionPolicyProperty
func NewGoToSocialInteractionPolicyProperty() vocab.GoToSocialInteractionPolicyProperty {
return propertyinteractionpolicy.NewGoToSocialInteractionPolicyProperty()
}
+
+// NewGoToSocialGoToSocialInteractionTargetProperty creates a new
+// GoToSocialInteractionTargetProperty
+func NewGoToSocialInteractionTargetProperty() vocab.GoToSocialInteractionTargetProperty {
+ return propertyinteractiontarget.NewGoToSocialInteractionTargetProperty()
+}
+
+// NewGoToSocialGoToSocialManualApprovalProperty creates a new
+// GoToSocialManualApprovalProperty
+func NewGoToSocialManualApprovalProperty() vocab.GoToSocialManualApprovalProperty {
+ return propertymanualapproval.NewGoToSocialManualApprovalProperty()
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go
index e6418d666..b0281ca5a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_type_constructors.go
@@ -4,12 +4,19 @@ package streams
import (
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
+ typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
+ typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
+ typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
+ typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
+ typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
+ typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
)
@@ -18,6 +25,16 @@ func NewGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
return typeannounceapproval.NewGoToSocialAnnounceApproval()
}
+// NewGoToSocialAnnounceAuthorization creates a new GoToSocialAnnounceAuthorization
+func NewGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return typeannounceauthorization.NewGoToSocialAnnounceAuthorization()
+}
+
+// NewGoToSocialAnnounceRequest creates a new GoToSocialAnnounceRequest
+func NewGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return typeannouncerequest.NewGoToSocialAnnounceRequest()
+}
+
// NewGoToSocialCanAnnounce creates a new GoToSocialCanAnnounce
func NewGoToSocialCanAnnounce() vocab.GoToSocialCanAnnounce {
return typecanannounce.NewGoToSocialCanAnnounce()
@@ -28,6 +45,11 @@ func NewGoToSocialCanLike() vocab.GoToSocialCanLike {
return typecanlike.NewGoToSocialCanLike()
}
+// NewGoToSocialCanQuote creates a new GoToSocialCanQuote
+func NewGoToSocialCanQuote() vocab.GoToSocialCanQuote {
+ return typecanquote.NewGoToSocialCanQuote()
+}
+
// NewGoToSocialCanReply creates a new GoToSocialCanReply
func NewGoToSocialCanReply() vocab.GoToSocialCanReply {
return typecanreply.NewGoToSocialCanReply()
@@ -43,7 +65,27 @@ func NewGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
return typelikeapproval.NewGoToSocialLikeApproval()
}
+// NewGoToSocialLikeAuthorization creates a new GoToSocialLikeAuthorization
+func NewGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return typelikeauthorization.NewGoToSocialLikeAuthorization()
+}
+
+// NewGoToSocialLikeRequest creates a new GoToSocialLikeRequest
+func NewGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return typelikerequest.NewGoToSocialLikeRequest()
+}
+
// NewGoToSocialReplyApproval creates a new GoToSocialReplyApproval
func NewGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
return typereplyapproval.NewGoToSocialReplyApproval()
}
+
+// NewGoToSocialReplyAuthorization creates a new GoToSocialReplyAuthorization
+func NewGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return typereplyauthorization.NewGoToSocialReplyAuthorization()
+}
+
+// NewGoToSocialReplyRequest creates a new GoToSocialReplyRequest
+func NewGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return typereplyrequest.NewGoToSocialReplyRequest()
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go
index a3136eacf..b40fee654 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_toot_property_constructors.go
@@ -6,6 +6,8 @@ import (
propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable"
propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured"
+ propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint"
+ propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable"
propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm"
propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
@@ -27,6 +29,16 @@ func NewTootFeaturedProperty() vocab.TootFeaturedProperty {
return propertyfeatured.NewTootFeaturedProperty()
}
+// NewTootTootFocalPointProperty creates a new TootFocalPointProperty
+func NewTootFocalPointProperty() vocab.TootFocalPointProperty {
+ return propertyfocalpoint.NewTootFocalPointProperty()
+}
+
+// NewTootTootIndexableProperty creates a new TootIndexableProperty
+func NewTootIndexableProperty() vocab.TootIndexableProperty {
+ return propertyindexable.NewTootIndexableProperty()
+}
+
// NewTootTootSignatureAlgorithmProperty creates a new
// TootSignatureAlgorithmProperty
func NewTootSignatureAlgorithmProperty() vocab.TootSignatureAlgorithmProperty {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
index 6e90035e7..7ff667f0e 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
@@ -64,6 +64,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.GoToSocialAnnounceApproval) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.GoToSocialAnnounceAuthorization) error {
+ t = i
+ return nil
+ }, func(ctx context.Context, i vocab.GoToSocialAnnounceRequest) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsApplication) error {
t = i
return nil
@@ -88,6 +94,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.GoToSocialCanLike) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.GoToSocialCanQuote) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.GoToSocialCanReply) error {
t = i
return nil
@@ -163,6 +172,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.GoToSocialLikeApproval) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.GoToSocialLikeAuthorization) error {
+ t = i
+ return nil
+ }, func(ctx context.Context, i vocab.GoToSocialLikeRequest) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsLink) error {
t = i
return nil
@@ -229,6 +244,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.GoToSocialReplyApproval) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.GoToSocialReplyAuthorization) error {
+ t = i
+ return nil
+ }, func(ctx context.Context, i vocab.GoToSocialReplyRequest) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsService) error {
t = i
return nil
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go
index ab64ef497..f63f7e54d 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go
@@ -41,6 +41,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// 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.GoToSocialAnnounceAuthorization) (bool, error):
+ // Do nothing, this predicate has a correct signature.
+ case func(context.Context, vocab.GoToSocialAnnounceRequest) (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):
@@ -57,6 +61,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.GoToSocialCanLike) (bool, error):
// Do nothing, this predicate has a correct signature.
+ case func(context.Context, vocab.GoToSocialCanQuote) (bool, error):
+ // Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.GoToSocialCanReply) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsCollection) (bool, error):
@@ -107,6 +113,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// 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.GoToSocialLikeAuthorization) (bool, error):
+ // Do nothing, this predicate has a correct signature.
+ case func(context.Context, vocab.GoToSocialLikeRequest) (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):
@@ -151,6 +161,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// 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.GoToSocialReplyAuthorization) (bool, error):
+ // Do nothing, this predicate has a correct signature.
+ case func(context.Context, vocab.GoToSocialReplyRequest) (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):
@@ -256,6 +270,28 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "AnnounceAuthorization" {
+ if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialAnnounceAuthorization) (bool, error)); ok {
+ if v, ok := o.(vocab.GoToSocialAnnounceAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "AnnounceRequest" {
+ if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialAnnounceRequest) (bool, error)); ok {
+ if v, ok := o.(vocab.GoToSocialAnnounceRequest); 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 {
@@ -344,6 +380,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "CanQuote" {
+ if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialCanQuote) (bool, error)); ok {
+ if v, ok := o.(vocab.GoToSocialCanQuote); 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://gotosocial.org/ns" && o.GetTypeName() == "CanReply" {
if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialCanReply) (bool, error)); ok {
if v, ok := o.(vocab.GoToSocialCanReply); ok {
@@ -619,6 +666,28 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "LikeAuthorization" {
+ if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialLikeAuthorization) (bool, error)); ok {
+ if v, ok := o.(vocab.GoToSocialLikeAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "LikeRequest" {
+ if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialLikeRequest) (bool, error)); ok {
+ if v, ok := o.(vocab.GoToSocialLikeRequest); 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 {
@@ -861,6 +930,28 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "ReplyAuthorization" {
+ if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialReplyAuthorization) (bool, error)); ok {
+ if v, ok := o.(vocab.GoToSocialReplyAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "ReplyRequest" {
+ if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialReplyRequest) (bool, error)); ok {
+ if v, ok := o.(vocab.GoToSocialReplyRequest); 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/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go
index c7592e951..abe011567 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go
@@ -40,6 +40,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, 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.GoToSocialAnnounceAuthorization) error:
+ // Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialAnnounceRequest) 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:
@@ -56,6 +60,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.GoToSocialCanLike) error:
// Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialCanQuote) error:
+ // Do nothing, this callback has a correct signature.
case func(context.Context, vocab.GoToSocialCanReply) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsCollection) error:
@@ -106,6 +112,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, 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.GoToSocialLikeAuthorization) error:
+ // Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialLikeRequest) 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:
@@ -150,6 +160,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, 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.GoToSocialReplyAuthorization) error:
+ // Do nothing, this callback has a correct signature.
+ case func(context.Context, vocab.GoToSocialReplyRequest) 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:
@@ -239,6 +253,24 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "AnnounceAuthorization" {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceAuthorization) error); ok {
+ if v, ok := o.(vocab.GoToSocialAnnounceAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "AnnounceRequest" {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceRequest) error); ok {
+ if v, ok := o.(vocab.GoToSocialAnnounceRequest); 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 {
@@ -311,6 +343,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "CanQuote" {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialCanQuote) error); ok {
+ if v, ok := o.(vocab.GoToSocialCanQuote); 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://gotosocial.org/ns" && o.GetTypeName() == "CanReply" {
if fn, ok := i.(func(context.Context, vocab.GoToSocialCanReply) error); ok {
if v, ok := o.(vocab.GoToSocialCanReply); ok {
@@ -536,6 +577,24 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "LikeAuthorization" {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeAuthorization) error); ok {
+ if v, ok := o.(vocab.GoToSocialLikeAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "LikeRequest" {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeRequest) error); ok {
+ if v, ok := o.(vocab.GoToSocialLikeRequest); 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 {
@@ -734,6 +793,24 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
+ } else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "ReplyAuthorization" {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyAuthorization) error); ok {
+ if v, ok := o.(vocab.GoToSocialReplyAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "ReplyRequest" {
+ if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyRequest) error); ok {
+ if v, ok := o.(vocab.GoToSocialReplyRequest); 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/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go
index cc07f6107..98597ca10 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go
index a9d81afdd..edc3e11e4 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go
@@ -22,6 +22,8 @@ type ActivityStreamsActorPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsActorPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsActorPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsActorPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsActorPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsActorPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsActorPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsActorPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsActorPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsActorPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsActorPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsActorPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsActorPropertyIterator) GetGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsActorPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsActorPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsActorPropertyIterator) GetGoToSocialLikeApproval() voc
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsActorPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsActorPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsActorPropertyIterator) GetGoToSocialReplyApproval() vo
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsActorPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsActorPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsActorPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsActorPropertyIterator) IsGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsActorPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsActorPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsActorPropertyIterator) IsGoToSocialLikeApproval() bool
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsActorPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsActorPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsActorPropertyIterator) IsGoToSocialReplyApproval() boo
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsActorPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsActorPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsActorPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsActorPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialAnnounceApproval(
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeApproval(v vo
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyApproval(v v
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsActorPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsActorPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsActorPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsActorPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsActorPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3887,6 +4164,30 @@ func (this *ActivityStreamsActorProperty) AppendGoToSocialAnnounceApproval(v voc
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "actor". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsActorProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "actor". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsActorProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "actor". Invalidates iterators that are traversing using
// Prev.
@@ -3899,6 +4200,30 @@ func (this *ActivityStreamsActorProperty) AppendGoToSocialLikeApproval(v vocab.G
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "actor". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsActorProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "actor". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsActorProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "actor". Invalidates iterators that are traversing
// using Prev.
@@ -3911,6 +4236,30 @@ func (this *ActivityStreamsActorProperty) AppendGoToSocialReplyApproval(v vocab.
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "actor". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsActorProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "actor". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsActorProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "actor"
func (this *ActivityStreamsActorProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{
@@ -5014,6 +5363,40 @@ func (this *ActivityStreamsActorProperty) InsertGoToSocialAnnounceApproval(idx i
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "actor". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "actor". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "actor". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5031,6 +5414,40 @@ func (this *ActivityStreamsActorProperty) InsertGoToSocialLikeApproval(idx int,
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "actor". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "actor". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "actor". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5048,6 +5465,40 @@ func (this *ActivityStreamsActorProperty) InsertGoToSocialReplyApproval(idx int,
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "actor". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "actor". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "actor".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5227,230 +5678,254 @@ func (this ActivityStreamsActorProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6321,6 +6796,34 @@ func (this *ActivityStreamsActorProperty) PrependGoToSocialAnnounceApproval(v vo
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "actor". Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsActorPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "actor". Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsActorPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "actor". Invalidates all iterators.
func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6335,6 +6838,34 @@ func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeApproval(v vocab.
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "actor". Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsActorPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "actor". Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsActorPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "actor". Invalidates all iterators.
func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6349,6 +6880,34 @@ func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyApproval(v vocab
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "actor". Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsActorPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "actor". Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsActorPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "actor".
func (this *ActivityStreamsActorProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsActorPropertyIterator{{
@@ -7237,6 +7796,32 @@ func (this *ActivityStreamsActorProperty) SetGoToSocialAnnounceApproval(idx int,
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "actor". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "actor". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "actor". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7250,6 +7835,32 @@ func (this *ActivityStreamsActorProperty) SetGoToSocialLikeApproval(idx int, v v
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "actor". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "actor". Panics if the index is out of bounds. Invalidates
+// all iterators.
+func (this *ActivityStreamsActorProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "actor". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7263,6 +7874,32 @@ func (this *ActivityStreamsActorProperty) SetGoToSocialReplyApproval(idx int, v
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "actor". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "actor". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsActorProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "actor".
// Panics if the index is out of bounds.
func (this *ActivityStreamsActorProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go
index 362cb0825..8171e9d8e 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go
index 080f9e57c..ddb6ece2b 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go
@@ -22,6 +22,8 @@ type ActivityStreamsAnyOfPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsAnyOfPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsAnyOfPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAnyOfPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAnyOfPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAnyOfPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAnyOfPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAnyOfPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAnyOfPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAnyOfPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAnyOfPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAnyOfPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialLikeApproval() voc
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialReplyApproval() vo
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsAnyOfPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsAnyOfPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialLikeApproval() bool
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialReplyApproval() boo
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsAnyOfPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsAnyOfPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsAnyOfPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialAnnounceApproval(
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeApproval(v vo
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyApproval(v v
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsAnyOfPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsAnyOfPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3887,6 +4164,30 @@ func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialAnnounceApproval(v voc
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "anyOf". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "anyOf". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "anyOf". Invalidates iterators that are traversing using
// Prev.
@@ -3899,6 +4200,30 @@ func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialLikeApproval(v vocab.G
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "anyOf". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "anyOf". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "anyOf". Invalidates iterators that are traversing
// using Prev.
@@ -3911,6 +4236,30 @@ func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialReplyApproval(v vocab.
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "anyOf". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "anyOf". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsAnyOfProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "anyOf"
func (this *ActivityStreamsAnyOfProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{
@@ -5014,6 +5363,40 @@ func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialAnnounceApproval(idx i
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "anyOf". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "anyOf". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "anyOf". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5031,6 +5414,40 @@ func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialLikeApproval(idx int,
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "anyOf". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "anyOf". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "anyOf". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5048,6 +5465,40 @@ func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialReplyApproval(idx int,
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "anyOf". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "anyOf". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "anyOf".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5227,230 +5678,254 @@ func (this ActivityStreamsAnyOfProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6321,6 +6796,34 @@ func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialAnnounceApproval(v vo
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "anyOf". Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "anyOf". Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "anyOf". Invalidates all iterators.
func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6335,6 +6838,34 @@ func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeApproval(v vocab.
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "anyOf". Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "anyOf". Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "anyOf". Invalidates all iterators.
func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6349,6 +6880,34 @@ func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyApproval(v vocab
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "anyOf". Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "anyOf". Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "anyOf".
func (this *ActivityStreamsAnyOfProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{
@@ -7237,6 +7796,32 @@ func (this *ActivityStreamsAnyOfProperty) SetGoToSocialAnnounceApproval(idx int,
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "anyOf". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "anyOf". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "anyOf". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7250,6 +7835,32 @@ func (this *ActivityStreamsAnyOfProperty) SetGoToSocialLikeApproval(idx int, v v
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "anyOf". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "anyOf". Panics if the index is out of bounds. Invalidates
+// all iterators.
+func (this *ActivityStreamsAnyOfProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "anyOf". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7263,6 +7874,32 @@ func (this *ActivityStreamsAnyOfProperty) SetGoToSocialReplyApproval(idx int, v
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "anyOf". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "anyOf". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAnyOfProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "anyOf".
// Panics if the index is out of bounds.
func (this *ActivityStreamsAnyOfProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go
index c055e7544..14e99f9c1 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go
index 711f53ab7..2b1e87bd1 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go
@@ -22,6 +22,8 @@ type ActivityStreamsAttachmentPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsAttachmentPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsAttachmentPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttachmentPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttachmentPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttachmentPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttachmentPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttachmentPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttachmentPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttachmentPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttachmentPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttachmentPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialAnnounceAppro
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialLikeApproval(
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialReplyApproval
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsAttachmentPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsAttachmentPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialAnnounceApprov
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialLikeApproval()
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialReplyApproval(
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsAttachmentPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsAttachmentPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsAttachmentPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialAnnounceAppr
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeApproval
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyApprova
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsAttachmentPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsAttachmentPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3896,6 +4173,30 @@ func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialAnnounceApproval(
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "attachment". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "attachment". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "attachment". Invalidates iterators that are traversing
// using Prev.
@@ -3908,6 +4209,30 @@ func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialLikeApproval(v vo
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "attachment". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "attachment". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "attachment". Invalidates iterators that are
// traversing using Prev.
@@ -3920,6 +4245,30 @@ func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialReplyApproval(v v
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "attachment". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "attachment". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsAttachmentProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "attachment"
func (this *ActivityStreamsAttachmentProperty) AppendIRI(v *url.URL) {
@@ -5026,6 +5375,40 @@ func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialAnnounceApproval(
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "attachment". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "attachment". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "attachment". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5043,6 +5426,40 @@ func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeApproval(idx
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "attachment". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "attachment". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "attachment". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5060,6 +5477,40 @@ func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialReplyApproval(idx
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "attachment". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "attachment". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "attachment".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5239,230 +5690,254 @@ func (this ActivityStreamsAttachmentProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6333,6 +6808,35 @@ func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialAnnounceApproval
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "attachment". Invalidates all
+// iterators.
+func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "attachment". Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "attachment". Invalidates all iterators.
func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6347,6 +6851,34 @@ func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeApproval(v v
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "attachment". Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "attachment". Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "attachment". Invalidates all iterators.
func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6361,6 +6893,34 @@ func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyApproval(v
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "attachment". Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "attachment". Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "attachment".
func (this *ActivityStreamsAttachmentProperty) PrependIRI(v *url.URL) {
@@ -7250,6 +7810,32 @@ func (this *ActivityStreamsAttachmentProperty) SetGoToSocialAnnounceApproval(idx
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "attachment". Panics if the index is
+// out of bounds. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "attachment". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "attachment". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7263,6 +7849,32 @@ func (this *ActivityStreamsAttachmentProperty) SetGoToSocialLikeApproval(idx int
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "attachment". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "attachment". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "attachment". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7276,6 +7888,32 @@ func (this *ActivityStreamsAttachmentProperty) SetGoToSocialReplyApproval(idx in
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "attachment". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "attachment". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAttachmentProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "attachment". Panics if the index is out of bounds.
func (this *ActivityStreamsAttachmentProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go
index 2918f2260..3e89969ea 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go
index acb72e3a7..add7ed9bf 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go
@@ -22,6 +22,8 @@ type ActivityStreamsAttributedToPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsAttributedToPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsAttributedToPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttributedToPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttributedToPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttributedToPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttributedToPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttributedToPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttributedToPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttributedToPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAttributedToPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAttributedToPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialAnnounceApp
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialLikeApprova
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialReplyApprov
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsAttributedToPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsAttributedToPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialAnnounceAppr
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialLikeApproval
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialReplyApprova
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsAttributedToPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsAttributedToPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsAttributedToPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialAnnounceAp
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeApprov
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyAppro
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsAttributedToPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsAttributedToPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3936,6 +4213,30 @@ func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialAnnounceApprova
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "attributedTo". Invalidates iterators
+// that are traversing using Prev.
+func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "attributedTo". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "attributedTo". Invalidates iterators that are traversing
// using Prev.
@@ -3948,6 +4249,30 @@ func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialLikeApproval(v
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "attributedTo". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "attributedTo". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "attributedTo". Invalidates iterators that are
// traversing using Prev.
@@ -3960,6 +4285,30 @@ func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialReplyApproval(v
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "attributedTo". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "attributedTo". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsAttributedToProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "attributedTo"
func (this *ActivityStreamsAttributedToProperty) AppendIRI(v *url.URL) {
@@ -5067,6 +5416,40 @@ func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialAnnounceApprova
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "attributedTo". Existing elements at
+// that index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "attributedTo". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "attributedTo". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5084,6 +5467,40 @@ func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialLikeApproval(id
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "attributedTo". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "attributedTo". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "attributedTo". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5101,6 +5518,40 @@ func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialReplyApproval(i
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "attributedTo". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "attributedTo". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property
// "attributedTo". Existing elements at that index and higher are shifted back
// once. Invalidates all iterators.
@@ -5280,230 +5731,254 @@ func (this ActivityStreamsAttributedToProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6375,6 +6850,35 @@ func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialAnnounceApprov
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "attributedTo". Invalidates all
+// iterators.
+func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "attributedTo". Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "attributedTo". Invalidates all iterators.
func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6389,6 +6893,34 @@ func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeApproval(v
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "attributedTo". Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "attributedTo". Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "attributedTo". Invalidates all iterators.
func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6403,6 +6935,34 @@ func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyApproval(
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "attributedTo". Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "attributedTo". Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "attributedTo".
func (this *ActivityStreamsAttributedToProperty) PrependIRI(v *url.URL) {
@@ -7292,6 +7852,32 @@ func (this *ActivityStreamsAttributedToProperty) SetGoToSocialAnnounceApproval(i
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "attributedTo". Panics if the index is
+// out of bounds. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "attributedTo". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "attributedTo". Panics if the index is out of
// bounds. Invalidates all iterators.
@@ -7305,6 +7891,32 @@ func (this *ActivityStreamsAttributedToProperty) SetGoToSocialLikeApproval(idx i
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "attributedTo". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "attributedTo". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "attributedTo". Panics if the index is out of
// bounds. Invalidates all iterators.
@@ -7318,6 +7930,32 @@ func (this *ActivityStreamsAttributedToProperty) SetGoToSocialReplyApproval(idx
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "attributedTo". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "attributedTo". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsAttributedToProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "attributedTo". Panics if the index is out of bounds.
func (this *ActivityStreamsAttributedToProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go
index 5b983aadf..25c056579 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go
index 70d441900..45ecc34df 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go
@@ -22,6 +22,8 @@ type ActivityStreamsAudiencePropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsAudiencePropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsAudiencePropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAudiencePropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAudiencePropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAudiencePropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAudiencePropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAudiencePropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAudiencePropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAudiencePropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsAudiencePropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsAudiencePropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialAnnounceApprova
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialLikeApproval()
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialReplyApproval()
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsAudiencePropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsAudiencePropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialAnnounceApproval
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialLikeApproval() b
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialReplyApproval()
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsAudiencePropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsAudiencePropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsAudiencePropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialAnnounceApprov
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeApproval(v
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyApproval(
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsAudiencePropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsAudiencePropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3896,6 +4173,30 @@ func (this *ActivityStreamsAudienceProperty) AppendGoToSocialAnnounceApproval(v
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "audience". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsAudienceProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "audience". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAudienceProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "audience". Invalidates iterators that are traversing using
// Prev.
@@ -3908,6 +4209,30 @@ func (this *ActivityStreamsAudienceProperty) AppendGoToSocialLikeApproval(v voca
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "audience". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAudienceProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "audience". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsAudienceProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "audience". Invalidates iterators that are traversing
// using Prev.
@@ -3920,6 +4245,30 @@ func (this *ActivityStreamsAudienceProperty) AppendGoToSocialReplyApproval(v voc
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "audience". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsAudienceProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "audience". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsAudienceProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "audience"
func (this *ActivityStreamsAudienceProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{
@@ -5024,6 +5373,40 @@ func (this *ActivityStreamsAudienceProperty) InsertGoToSocialAnnounceApproval(id
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "audience". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "audience". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "audience". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5041,6 +5424,40 @@ func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeApproval(idx in
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "audience". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "audience". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "audience". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5058,6 +5475,40 @@ func (this *ActivityStreamsAudienceProperty) InsertGoToSocialReplyApproval(idx i
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "audience". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "audience". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "audience".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5237,230 +5688,254 @@ func (this ActivityStreamsAudienceProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6331,6 +6806,35 @@ func (this *ActivityStreamsAudienceProperty) PrependGoToSocialAnnounceApproval(v
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "audience". Invalidates all
+// iterators.
+func (this *ActivityStreamsAudienceProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "audience". Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "audience". Invalidates all iterators.
func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6345,6 +6849,34 @@ func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeApproval(v voc
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "audience". Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "audience". Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "audience". Invalidates all iterators.
func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6359,6 +6891,34 @@ func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyApproval(v vo
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "audience". Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "audience". Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "audience".
func (this *ActivityStreamsAudienceProperty) PrependIRI(v *url.URL) {
@@ -7248,6 +7808,32 @@ func (this *ActivityStreamsAudienceProperty) SetGoToSocialAnnounceApproval(idx i
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "audience". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "audience". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "audience". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7261,6 +7847,32 @@ func (this *ActivityStreamsAudienceProperty) SetGoToSocialLikeApproval(idx int,
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "audience". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "audience". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "audience". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7274,6 +7886,32 @@ func (this *ActivityStreamsAudienceProperty) SetGoToSocialReplyApproval(idx int,
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "audience". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "audience". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsAudienceProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "audience". Panics if the index is out of bounds.
func (this *ActivityStreamsAudienceProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go
index 1c491fec9..25fb6bd36 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go
index 9d8c0fd8a..e4a37b31a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go
@@ -22,6 +22,8 @@ type ActivityStreamsBccPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsBccPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsBccPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -159,6 +165,18 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBccPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBccPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBccPropertyIterator{
activitystreamsApplicationMember: v,
@@ -327,6 +345,18 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBccPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBccPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBccPropertyIterator{
activitystreamsListenMember: v,
@@ -441,6 +471,18 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBccPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBccPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBccPropertyIterator{
activitystreamsServiceMember: v,
@@ -919,6 +961,20 @@ func (this ActivityStreamsBccPropertyIterator) GetGoToSocialAnnounceApproval() v
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsBccPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsBccPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -926,6 +982,20 @@ func (this ActivityStreamsBccPropertyIterator) GetGoToSocialLikeApproval() vocab
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsBccPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsBccPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -933,6 +1003,20 @@ func (this ActivityStreamsBccPropertyIterator) GetGoToSocialReplyApproval() voca
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsBccPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsBccPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsBccPropertyIterator) GetIRI() *url.URL {
@@ -992,6 +1076,12 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1076,6 +1166,12 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1133,6 +1229,12 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1177,6 +1279,8 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1205,6 +1309,8 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1224,6 +1330,8 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1655,6 +1763,21 @@ func (this ActivityStreamsBccPropertyIterator) IsGoToSocialAnnounceApproval() bo
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsBccPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsBccPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1662,6 +1785,20 @@ func (this ActivityStreamsBccPropertyIterator) IsGoToSocialLikeApproval() bool {
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsBccPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsBccPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1669,6 +1806,20 @@ func (this ActivityStreamsBccPropertyIterator) IsGoToSocialReplyApproval() bool
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsBccPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsBccPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsBccPropertyIterator) IsIRI() bool {
@@ -1724,6 +1875,10 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1780,6 +1935,10 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1818,6 +1977,10 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1878,177 +2041,195 @@ func (this ActivityStreamsBccPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2082,6 +2263,10 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2138,6 +2323,10 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2176,6 +2365,10 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2642,6 +2835,20 @@ func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialAnnounceApproval(v
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2649,6 +2856,20 @@ func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeApproval(v voca
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2656,6 +2877,20 @@ func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyApproval(v voc
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsBccPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsBccPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2725,6 +2960,14 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2837,6 +3080,14 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2913,6 +3164,14 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2968,6 +3227,8 @@ func (this *ActivityStreamsBccPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2996,6 +3257,8 @@ func (this *ActivityStreamsBccPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3015,6 +3278,8 @@ func (this *ActivityStreamsBccPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3050,6 +3315,10 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3106,6 +3375,10 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3144,6 +3417,10 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3885,6 +4162,30 @@ func (this *ActivityStreamsBccProperty) AppendGoToSocialAnnounceApproval(v vocab
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "bcc". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsBccProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "bcc". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsBccProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "bcc". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -3896,6 +4197,29 @@ func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeApproval(v vocab.GoT
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "bcc". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "bcc". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsBccProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "bcc". Invalidates iterators that are traversing using
// Prev.
@@ -3908,6 +4232,29 @@ func (this *ActivityStreamsBccProperty) AppendGoToSocialReplyApproval(v vocab.Go
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "bcc". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsBccProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "bcc". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsBccProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "bcc"
func (this *ActivityStreamsBccProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{
@@ -5010,6 +5357,40 @@ func (this *ActivityStreamsBccProperty) InsertGoToSocialAnnounceApproval(idx int
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "bcc". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "bcc". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "bcc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5027,6 +5408,40 @@ func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeApproval(idx int, v
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "bcc". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "bcc". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "bcc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5044,6 +5459,40 @@ func (this *ActivityStreamsBccProperty) InsertGoToSocialReplyApproval(idx int, v
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "bcc". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "bcc". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "bcc".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5223,230 +5672,254 @@ func (this ActivityStreamsBccProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6317,6 +6790,34 @@ func (this *ActivityStreamsBccProperty) PrependGoToSocialAnnounceApproval(v voca
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "bcc". Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsBccPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "bcc". Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsBccPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "bcc". Invalidates all iterators.
func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6331,6 +6832,34 @@ func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeApproval(v vocab.Go
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "bcc". Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsBccPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "bcc". Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsBccPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "bcc". Invalidates all iterators.
func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6345,6 +6874,34 @@ func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyApproval(v vocab.G
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "bcc". Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsBccPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "bcc". Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsBccPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "bcc".
func (this *ActivityStreamsBccProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsBccPropertyIterator{{
@@ -7233,6 +7790,32 @@ func (this *ActivityStreamsBccProperty) SetGoToSocialAnnounceApproval(idx int, v
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "bcc". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "bcc". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "bcc". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7246,6 +7829,32 @@ func (this *ActivityStreamsBccProperty) SetGoToSocialLikeApproval(idx int, v voc
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "bcc". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "bcc". Panics if the index is out of bounds. Invalidates
+// all iterators.
+func (this *ActivityStreamsBccProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "bcc". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7259,6 +7868,32 @@ func (this *ActivityStreamsBccProperty) SetGoToSocialReplyApproval(idx int, v vo
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "bcc". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "bcc". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsBccProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "bcc".
// Panics if the index is out of bounds.
func (this *ActivityStreamsBccProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go
index 19cb8ba79..2dc3d59f4 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go
index c8e0e7733..531f6b32a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go
@@ -22,6 +22,8 @@ type ActivityStreamsBtoPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsBtoPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsBtoPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -159,6 +165,18 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBtoPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBtoPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBtoPropertyIterator{
activitystreamsApplicationMember: v,
@@ -327,6 +345,18 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBtoPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBtoPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBtoPropertyIterator{
activitystreamsListenMember: v,
@@ -441,6 +471,18 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBtoPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsBtoPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsBtoPropertyIterator{
activitystreamsServiceMember: v,
@@ -919,6 +961,20 @@ func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialAnnounceApproval() v
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -926,6 +982,20 @@ func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialLikeApproval() vocab
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -933,6 +1003,20 @@ func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialReplyApproval() voca
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsBtoPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsBtoPropertyIterator) GetIRI() *url.URL {
@@ -992,6 +1076,12 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1076,6 +1166,12 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1133,6 +1229,12 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1177,6 +1279,8 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1205,6 +1309,8 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1224,6 +1330,8 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1655,6 +1763,21 @@ func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialAnnounceApproval() bo
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1662,6 +1785,20 @@ func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialLikeApproval() bool {
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1669,6 +1806,20 @@ func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialReplyApproval() bool
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsBtoPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsBtoPropertyIterator) IsIRI() bool {
@@ -1724,6 +1875,10 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1780,6 +1935,10 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1818,6 +1977,10 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1878,177 +2041,195 @@ func (this ActivityStreamsBtoPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2082,6 +2263,10 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2138,6 +2323,10 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2176,6 +2365,10 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2642,6 +2835,20 @@ func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialAnnounceApproval(v
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2649,6 +2856,20 @@ func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeApproval(v voca
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2656,6 +2877,20 @@ func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyApproval(v voc
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsBtoPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsBtoPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2725,6 +2960,14 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2837,6 +3080,14 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2913,6 +3164,14 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2968,6 +3227,8 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2996,6 +3257,8 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3015,6 +3278,8 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3050,6 +3315,10 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3106,6 +3375,10 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3144,6 +3417,10 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3885,6 +4162,30 @@ func (this *ActivityStreamsBtoProperty) AppendGoToSocialAnnounceApproval(v vocab
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "bto". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsBtoProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "bto". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsBtoProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "bto". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -3896,6 +4197,29 @@ func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeApproval(v vocab.GoT
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "bto". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "bto". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsBtoProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "bto". Invalidates iterators that are traversing using
// Prev.
@@ -3908,6 +4232,29 @@ func (this *ActivityStreamsBtoProperty) AppendGoToSocialReplyApproval(v vocab.Go
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "bto". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsBtoProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "bto". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsBtoProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "bto"
func (this *ActivityStreamsBtoProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{
@@ -5010,6 +5357,40 @@ func (this *ActivityStreamsBtoProperty) InsertGoToSocialAnnounceApproval(idx int
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "bto". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "bto". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "bto". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5027,6 +5408,40 @@ func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeApproval(idx int, v
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "bto". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "bto". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "bto". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5044,6 +5459,40 @@ func (this *ActivityStreamsBtoProperty) InsertGoToSocialReplyApproval(idx int, v
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "bto". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "bto". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "bto".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5223,230 +5672,254 @@ func (this ActivityStreamsBtoProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6317,6 +6790,34 @@ func (this *ActivityStreamsBtoProperty) PrependGoToSocialAnnounceApproval(v voca
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "bto". Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "bto". Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "bto". Invalidates all iterators.
func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6331,6 +6832,34 @@ func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeApproval(v vocab.Go
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "bto". Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "bto". Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "bto". Invalidates all iterators.
func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6345,6 +6874,34 @@ func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyApproval(v vocab.G
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "bto". Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "bto". Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "bto".
func (this *ActivityStreamsBtoProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsBtoPropertyIterator{{
@@ -7233,6 +7790,32 @@ func (this *ActivityStreamsBtoProperty) SetGoToSocialAnnounceApproval(idx int, v
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "bto". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "bto". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "bto". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7246,6 +7829,32 @@ func (this *ActivityStreamsBtoProperty) SetGoToSocialLikeApproval(idx int, v voc
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "bto". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "bto". Panics if the index is out of bounds. Invalidates
+// all iterators.
+func (this *ActivityStreamsBtoProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "bto". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7259,6 +7868,32 @@ func (this *ActivityStreamsBtoProperty) SetGoToSocialReplyApproval(idx int, v vo
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "bto". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "bto". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsBtoProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "bto".
// Panics if the index is out of bounds.
func (this *ActivityStreamsBtoProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go
index a7f80de8a..b0fd8c31e 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go
index 65f85417e..b9ef61b61 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go
@@ -22,6 +22,8 @@ type ActivityStreamsCcPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsCcPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsCcPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -159,6 +165,18 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsCcPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsCcPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsCcPropertyIterator{
activitystreamsApplicationMember: v,
@@ -327,6 +345,18 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsCcPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsCcPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsCcPropertyIterator{
activitystreamsListenMember: v,
@@ -441,6 +471,18 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsCcPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsCcPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsCcPropertyIterator{
activitystreamsServiceMember: v,
@@ -919,6 +961,20 @@ func (this ActivityStreamsCcPropertyIterator) GetGoToSocialAnnounceApproval() vo
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsCcPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsCcPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -926,6 +982,20 @@ func (this ActivityStreamsCcPropertyIterator) GetGoToSocialLikeApproval() vocab.
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsCcPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsCcPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -933,6 +1003,20 @@ func (this ActivityStreamsCcPropertyIterator) GetGoToSocialReplyApproval() vocab
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsCcPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsCcPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsCcPropertyIterator) GetIRI() *url.URL {
@@ -992,6 +1076,12 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1076,6 +1166,12 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1133,6 +1229,12 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1177,6 +1279,8 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1205,6 +1309,8 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1224,6 +1330,8 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1655,6 +1763,21 @@ func (this ActivityStreamsCcPropertyIterator) IsGoToSocialAnnounceApproval() boo
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsCcPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsCcPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1662,6 +1785,20 @@ func (this ActivityStreamsCcPropertyIterator) IsGoToSocialLikeApproval() bool {
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsCcPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsCcPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1669,6 +1806,20 @@ func (this ActivityStreamsCcPropertyIterator) IsGoToSocialReplyApproval() bool {
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsCcPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsCcPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsCcPropertyIterator) IsIRI() bool {
@@ -1724,6 +1875,10 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1780,6 +1935,10 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1818,6 +1977,10 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1878,177 +2041,195 @@ func (this ActivityStreamsCcPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2082,6 +2263,10 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2138,6 +2323,10 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2176,6 +2365,10 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2642,6 +2835,20 @@ func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialAnnounceApproval(v v
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2649,6 +2856,20 @@ func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeApproval(v vocab
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2656,6 +2877,20 @@ func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyApproval(v voca
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsCcPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsCcPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2725,6 +2960,14 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2837,6 +3080,14 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2913,6 +3164,14 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2968,6 +3227,8 @@ func (this *ActivityStreamsCcPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2996,6 +3257,8 @@ func (this *ActivityStreamsCcPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3015,6 +3278,8 @@ func (this *ActivityStreamsCcPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3050,6 +3315,10 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3106,6 +3375,10 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3144,6 +3417,10 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3885,6 +4162,30 @@ func (this *ActivityStreamsCcProperty) AppendGoToSocialAnnounceApproval(v vocab.
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "cc". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsCcProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "cc". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsCcProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "cc". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -3896,6 +4197,29 @@ func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeApproval(v vocab.GoTo
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "cc". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "cc". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsCcProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "cc". Invalidates iterators that are traversing using
// Prev.
@@ -3908,6 +4232,29 @@ func (this *ActivityStreamsCcProperty) AppendGoToSocialReplyApproval(v vocab.GoT
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "cc". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsCcProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "cc". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsCcProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "cc"
func (this *ActivityStreamsCcProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{
@@ -5010,6 +5357,40 @@ func (this *ActivityStreamsCcProperty) InsertGoToSocialAnnounceApproval(idx int,
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "cc". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "cc". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "cc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5027,6 +5408,40 @@ func (this *ActivityStreamsCcProperty) InsertGoToSocialLikeApproval(idx int, v v
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "cc". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "cc". Existing elements at that index and higher are shifted
+// back once. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "cc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5044,6 +5459,40 @@ func (this *ActivityStreamsCcProperty) InsertGoToSocialReplyApproval(idx int, v
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "cc". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "cc". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "cc".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5223,230 +5672,254 @@ func (this ActivityStreamsCcProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6317,6 +6790,34 @@ func (this *ActivityStreamsCcProperty) PrependGoToSocialAnnounceApproval(v vocab
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "cc". Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsCcPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "cc". Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsCcPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "cc". Invalidates all iterators.
func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6331,6 +6832,34 @@ func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeApproval(v vocab.GoT
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "cc". Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsCcPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "cc". Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsCcPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "cc". Invalidates all iterators.
func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6345,6 +6874,34 @@ func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyApproval(v vocab.Go
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "cc". Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsCcPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "cc". Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsCcPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "cc".
func (this *ActivityStreamsCcProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsCcPropertyIterator{{
@@ -7233,6 +7790,32 @@ func (this *ActivityStreamsCcProperty) SetGoToSocialAnnounceApproval(idx int, v
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "cc". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "cc". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "cc". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7246,6 +7829,32 @@ func (this *ActivityStreamsCcProperty) SetGoToSocialLikeApproval(idx int, v voca
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "cc". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "cc". Panics if the index is out of bounds. Invalidates
+// all iterators.
+func (this *ActivityStreamsCcProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "cc". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7259,6 +7868,32 @@ func (this *ActivityStreamsCcProperty) SetGoToSocialReplyApproval(idx int, v voc
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "cc". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "cc". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsCcProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "cc".
// Panics if the index is out of bounds.
func (this *ActivityStreamsCcProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go
index ea795aad4..56ab1f681 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go
index 65e4d87d2..6152d038f 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go
@@ -29,6 +29,8 @@ type ActivityStreamsClosedPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -57,6 +59,8 @@ type ActivityStreamsClosedPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -76,6 +80,8 @@ type ActivityStreamsClosedPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -167,6 +173,18 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsClosedPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsClosedPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsClosedPropertyIterator{
activitystreamsApplicationMember: v,
@@ -335,6 +353,18 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsClosedPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsClosedPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsClosedPropertyIterator{
activitystreamsListenMember: v,
@@ -449,6 +479,18 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsClosedPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsClosedPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsClosedPropertyIterator{
activitystreamsServiceMember: v,
@@ -942,6 +984,20 @@ func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialAnnounceApproval(
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -949,6 +1005,20 @@ func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialLikeApproval() vo
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -956,6 +1026,20 @@ func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialReplyApproval() v
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsClosedPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsClosedPropertyIterator) GetIRI() *url.URL {
@@ -1015,6 +1099,12 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1099,6 +1189,12 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1156,6 +1252,12 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1215,6 +1317,8 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1243,6 +1347,8 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1262,6 +1368,8 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1693,6 +1801,21 @@ func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1700,6 +1823,20 @@ func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialLikeApproval() boo
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1707,6 +1844,20 @@ func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialReplyApproval() bo
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsClosedPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsClosedPropertyIterator) IsIRI() bool {
@@ -1776,6 +1927,10 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1832,6 +1987,10 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1870,6 +2029,10 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1936,177 +2099,195 @@ func (this ActivityStreamsClosedPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 9
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 10
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 11
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 12
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 13
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 14
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 15
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 16
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 17
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 18
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 19
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 20
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 21
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 22
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 23
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 24
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 25
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 26
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 27
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 28
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 29
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 30
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 31
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 32
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 33
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 34
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 35
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 36
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 37
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 38
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 39
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 40
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 41
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 42
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 43
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 44
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 45
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 46
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 47
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 48
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 49
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 50
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 51
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 52
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 53
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 54
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 55
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 56
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 57
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 58
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 59
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 60
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 61
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 62
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 63
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 64
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 65
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 66
}
+ if this.IsFunkwhaleTrack() {
+ return 67
+ }
+ if this.IsActivityStreamsTravel() {
+ return 68
+ }
+ if this.IsActivityStreamsUndo() {
+ return 69
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 70
+ }
+ if this.IsActivityStreamsVideo() {
+ return 71
+ }
+ if this.IsActivityStreamsView() {
+ return 72
+ }
if this.IsIRI() {
return -2
}
@@ -2144,6 +2325,10 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2200,6 +2385,10 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2238,6 +2427,10 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2704,6 +2897,20 @@ func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialAnnounceApproval
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2711,6 +2918,20 @@ func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeApproval(v v
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2718,6 +2939,20 @@ func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyApproval(v
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsClosedPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsClosedPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2787,6 +3022,14 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2899,6 +3142,14 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2975,6 +3226,14 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -3048,6 +3307,8 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -3076,6 +3337,8 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3095,6 +3358,8 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3134,6 +3399,10 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3190,6 +3459,10 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3228,6 +3501,10 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3970,6 +4247,30 @@ func (this *ActivityStreamsClosedProperty) AppendGoToSocialAnnounceApproval(v vo
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "closed". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsClosedProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "closed". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsClosedProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "closed". Invalidates iterators that are traversing using
// Prev.
@@ -3982,6 +4283,30 @@ func (this *ActivityStreamsClosedProperty) AppendGoToSocialLikeApproval(v vocab.
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "closed". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsClosedProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "closed". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsClosedProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "closed". Invalidates iterators that are traversing
// using Prev.
@@ -3994,6 +4319,30 @@ func (this *ActivityStreamsClosedProperty) AppendGoToSocialReplyApproval(v vocab
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "closed". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsClosedProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "closed". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsClosedProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "closed"
func (this *ActivityStreamsClosedProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{
@@ -5121,6 +5470,40 @@ func (this *ActivityStreamsClosedProperty) InsertGoToSocialAnnounceApproval(idx
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "closed". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "closed". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "closed". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5138,6 +5521,40 @@ func (this *ActivityStreamsClosedProperty) InsertGoToSocialLikeApproval(idx int,
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "closed". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "closed". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "closed". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5155,6 +5572,40 @@ func (this *ActivityStreamsClosedProperty) InsertGoToSocialReplyApproval(idx int
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "closed". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "closed". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "closed".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5378,230 +5829,254 @@ func (this ActivityStreamsClosedProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 10 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 11 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 40 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 41 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 61 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 62 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 65 {
+ } else if idx1 == 71 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 66 {
+ } else if idx1 == 72 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6472,6 +6947,34 @@ func (this *ActivityStreamsClosedProperty) PrependGoToSocialAnnounceApproval(v v
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "closed". Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsClosedPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "closed". Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsClosedPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "closed". Invalidates all iterators.
func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6486,6 +6989,34 @@ func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeApproval(v vocab
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "closed". Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsClosedPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "closed". Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsClosedPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "closed". Invalidates all iterators.
func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6500,6 +7031,34 @@ func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyApproval(v voca
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "closed". Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsClosedPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "closed". Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsClosedPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "closed".
func (this *ActivityStreamsClosedProperty) PrependIRI(v *url.URL) {
@@ -7419,6 +7978,32 @@ func (this *ActivityStreamsClosedProperty) SetGoToSocialAnnounceApproval(idx int
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "closed". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "closed". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "closed". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7432,6 +8017,32 @@ func (this *ActivityStreamsClosedProperty) SetGoToSocialLikeApproval(idx int, v
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "closed". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "closed". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "closed". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7445,6 +8056,32 @@ func (this *ActivityStreamsClosedProperty) SetGoToSocialReplyApproval(idx int, v
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "closed". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "closed". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsClosedProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "closed". Panics if the index is out of bounds.
func (this *ActivityStreamsClosedProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go
index 28f3ce9d6..7b0b18630 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go
index cdbd05549..1690c2ac2 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go
@@ -22,6 +22,8 @@ type ActivityStreamsContextPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsContextPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsContextPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsContextPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsContextPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsContextPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsContextPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsContextPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsContextPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsContextPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsContextPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsContextPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsContextPropertyIterator) GetGoToSocialAnnounceApproval
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsContextPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsContextPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsContextPropertyIterator) GetGoToSocialLikeApproval() v
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsContextPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsContextPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsContextPropertyIterator) GetGoToSocialReplyApproval()
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsContextPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsContextPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsContextPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsContextPropertyIterator) IsGoToSocialAnnounceApproval(
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsContextPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsContextPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsContextPropertyIterator) IsGoToSocialLikeApproval() bo
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsContextPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsContextPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsContextPropertyIterator) IsGoToSocialReplyApproval() b
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsContextPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsContextPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsContextPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsContextPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialAnnounceApprova
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeApproval(v
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyApproval(v
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsContextPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsContextPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsContextPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsContextPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsContextPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3896,6 +4173,30 @@ func (this *ActivityStreamsContextProperty) AppendGoToSocialAnnounceApproval(v v
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "context". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsContextProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "context". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsContextProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "context". Invalidates iterators that are traversing using
// Prev.
@@ -3908,6 +4209,30 @@ func (this *ActivityStreamsContextProperty) AppendGoToSocialLikeApproval(v vocab
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "context". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsContextProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "context". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsContextProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "context". Invalidates iterators that are traversing
// using Prev.
@@ -3920,6 +4245,30 @@ func (this *ActivityStreamsContextProperty) AppendGoToSocialReplyApproval(v voca
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "context". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsContextProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "context". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsContextProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "context"
func (this *ActivityStreamsContextProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{
@@ -5024,6 +5373,40 @@ func (this *ActivityStreamsContextProperty) InsertGoToSocialAnnounceApproval(idx
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "context". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "context". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "context". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5041,6 +5424,40 @@ func (this *ActivityStreamsContextProperty) InsertGoToSocialLikeApproval(idx int
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "context". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "context". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "context". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5058,6 +5475,40 @@ func (this *ActivityStreamsContextProperty) InsertGoToSocialReplyApproval(idx in
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "context". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "context". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "context".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5237,230 +5688,254 @@ func (this ActivityStreamsContextProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6331,6 +6806,34 @@ func (this *ActivityStreamsContextProperty) PrependGoToSocialAnnounceApproval(v
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "context". Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsContextPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "context". Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsContextPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "context". Invalidates all iterators.
func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6345,6 +6848,34 @@ func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeApproval(v voca
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "context". Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsContextPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "context". Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsContextPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "context". Invalidates all iterators.
func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6359,6 +6890,34 @@ func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyApproval(v voc
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "context". Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsContextPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "context". Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsContextPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "context".
func (this *ActivityStreamsContextProperty) PrependIRI(v *url.URL) {
@@ -7248,6 +7807,32 @@ func (this *ActivityStreamsContextProperty) SetGoToSocialAnnounceApproval(idx in
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "context". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "context". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "context". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7261,6 +7846,32 @@ func (this *ActivityStreamsContextProperty) SetGoToSocialLikeApproval(idx int, v
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "context". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "context". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "context". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7274,6 +7885,32 @@ func (this *ActivityStreamsContextProperty) SetGoToSocialReplyApproval(idx int,
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "context". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "context". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsContextProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "context". Panics if the index is out of bounds.
func (this *ActivityStreamsContextProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go
index ea9e6cc22..dc7aef898 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -140,6 +148,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeListenActivityStreams returns the deserialization method for
// the "ActivityStreamsListen" non-functional property in the
// vocabulary "ActivityStreams"
@@ -217,6 +233,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go
index c0be22be1..37cb924c0 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go
@@ -21,6 +21,8 @@ type ActivityStreamsDescribesProperty struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -48,6 +50,8 @@ type ActivityStreamsDescribesProperty struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMoveMember vocab.ActivityStreamsMove
activitystreamsNoteMember vocab.ActivityStreamsNote
@@ -66,6 +70,8 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -151,6 +157,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsDescribesProperty{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsDescribesProperty{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsApplicationMember: v,
@@ -313,6 +331,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsDescribesProperty{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsDescribesProperty{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsListenMember: v,
@@ -421,6 +451,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsDescribesProperty{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsDescribesProperty{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsServiceMember: v,
@@ -507,6 +549,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -534,6 +578,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMoveMember = nil
this.activitystreamsNoteMember = nil
@@ -552,6 +598,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -961,6 +1009,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceApproval() voc
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -968,6 +1030,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeApproval() vocab.G
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -975,6 +1051,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyApproval() vocab.
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL {
@@ -1025,6 +1115,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1106,6 +1202,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1160,6 +1262,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1203,6 +1311,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1230,6 +1340,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMove() ||
this.IsActivityStreamsNote() ||
@@ -1248,6 +1360,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1665,6 +1779,21 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceApproval() bool
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1672,6 +1801,20 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeApproval() bool {
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1679,6 +1822,20 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyApproval() bool {
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsDescribesProperty) IsIRI() bool {
@@ -1725,6 +1882,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1779,6 +1940,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMove() {
@@ -1815,6 +1980,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1872,171 +2041,189 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 7
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 8
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 9
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 10
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 11
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 12
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 13
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 14
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 15
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 16
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 17
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 18
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 19
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 20
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 21
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 22
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 23
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsFollow() {
return 24
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsActivityStreamsGroup() {
return 25
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 26
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 27
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 28
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 29
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 30
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 31
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 32
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 33
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 34
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeApproval() {
return 35
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeAuthorization() {
return 36
}
- if this.IsActivityStreamsOffer() {
+ if this.IsGoToSocialLikeRequest() {
return 37
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsListen() {
return 38
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 39
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 40
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 41
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 42
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 43
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 44
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 45
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 46
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 47
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 48
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 49
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 50
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 51
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 52
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 53
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 54
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 55
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 56
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 57
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 58
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 59
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 60
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 61
}
+ if this.IsFunkwhaleTrack() {
+ return 62
+ }
+ if this.IsActivityStreamsTravel() {
+ return 63
+ }
+ if this.IsActivityStreamsUndo() {
+ return 64
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 65
+ }
+ if this.IsActivityStreamsVideo() {
+ return 66
+ }
+ if this.IsActivityStreamsView() {
+ return 67
+ }
if this.IsIRI() {
return -2
}
@@ -2068,6 +2255,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2122,6 +2313,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMove() {
@@ -2158,6 +2353,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2212,6 +2411,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2266,6 +2469,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMove() {
@@ -2302,6 +2509,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2727,6 +2938,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceApproval(v vo
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.Clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.Clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2734,6 +2959,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeApproval(v vocab.
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.Clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.Clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2741,6 +2980,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyApproval(v vocab
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.Clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.Clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) {
this.Clear()
@@ -2799,6 +3052,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2907,6 +3168,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2979,6 +3248,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go
index 2c3c0589d..26de9bede 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -140,6 +148,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeListenActivityStreams returns the deserialization method for
// the "ActivityStreamsListen" non-functional property in the
// vocabulary "ActivityStreams"
@@ -217,6 +233,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go
index 640028ff1..f1b4b898d 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go
@@ -24,6 +24,8 @@ type ActivityStreamsFormerTypePropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -51,6 +53,8 @@ type ActivityStreamsFormerTypePropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMoveMember vocab.ActivityStreamsMove
activitystreamsNoteMember vocab.ActivityStreamsNote
@@ -69,6 +73,8 @@ type ActivityStreamsFormerTypePropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -154,6 +160,18 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsFormerTypePropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsFormerTypePropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsFormerTypePropertyIterator{
activitystreamsApplicationMember: v,
@@ -316,6 +334,18 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsFormerTypePropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsFormerTypePropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsFormerTypePropertyIterator{
activitystreamsListenMember: v,
@@ -424,6 +454,18 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsFormerTypePropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsFormerTypePropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsFormerTypePropertyIterator{
activitystreamsServiceMember: v,
@@ -896,6 +938,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialAnnounceAppro
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -903,6 +959,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialLikeApproval(
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -910,6 +980,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialReplyApproval
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsFormerTypePropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsFormerTypePropertyIterator) GetIRI() *url.URL {
@@ -960,6 +1044,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1041,6 +1131,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1095,6 +1191,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1145,6 +1247,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1172,6 +1276,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMove() ||
this.IsActivityStreamsNote() ||
@@ -1190,6 +1296,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1607,6 +1715,21 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialAnnounceApprov
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1614,6 +1737,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialLikeApproval()
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1621,6 +1758,20 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialReplyApproval(
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsFormerTypePropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsFormerTypePropertyIterator) IsIRI() bool {
@@ -1674,6 +1825,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1728,6 +1883,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMove() {
@@ -1764,6 +1923,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1824,171 +1987,189 @@ func (this ActivityStreamsFormerTypePropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 27
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 28
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 29
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 30
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 31
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 32
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 33
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 34
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 35
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeApproval() {
return 36
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeAuthorization() {
return 37
}
- if this.IsActivityStreamsOffer() {
+ if this.IsGoToSocialLikeRequest() {
return 38
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsListen() {
return 39
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 40
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 41
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 42
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 43
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 44
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 45
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 46
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 47
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 48
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 49
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 50
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 51
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 52
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 53
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 54
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 55
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 56
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 57
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 58
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 59
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 60
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 61
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 62
}
+ if this.IsFunkwhaleTrack() {
+ return 63
+ }
+ if this.IsActivityStreamsTravel() {
+ return 64
+ }
+ if this.IsActivityStreamsUndo() {
+ return 65
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 66
+ }
+ if this.IsActivityStreamsVideo() {
+ return 67
+ }
+ if this.IsActivityStreamsView() {
+ return 68
+ }
if this.IsIRI() {
return -2
}
@@ -2022,6 +2203,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2076,6 +2261,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMove() {
@@ -2112,6 +2301,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2564,6 +2757,20 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialAnnounceAppr
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2571,6 +2778,20 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeApproval
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2578,6 +2799,20 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyApprova
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsFormerTypePropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsFormerTypePropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2636,6 +2871,14 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2744,6 +2987,14 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2816,6 +3067,14 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2879,6 +3138,8 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2906,6 +3167,8 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMoveMember = nil
this.activitystreamsNoteMember = nil
@@ -2924,6 +3187,8 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2959,6 +3224,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{},
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3013,6 +3282,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{},
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMove() {
@@ -3049,6 +3322,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{},
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3777,6 +4054,30 @@ func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialAnnounceApproval(
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "formerType". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "formerType". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "formerType". Invalidates iterators that are traversing
// using Prev.
@@ -3789,6 +4090,30 @@ func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialLikeApproval(v vo
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "formerType". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "formerType". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "formerType". Invalidates iterators that are
// traversing using Prev.
@@ -3801,6 +4126,30 @@ func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialReplyApproval(v v
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "formerType". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "formerType". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsFormerTypeProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "formerType"
func (this *ActivityStreamsFormerTypeProperty) AppendIRI(v *url.URL) {
@@ -4874,6 +5223,40 @@ func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialAnnounceApproval(
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "formerType". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "formerType". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "formerType". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -4891,6 +5274,40 @@ func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeApproval(idx
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "formerType". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "formerType". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "formerType". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -4908,6 +5325,40 @@ func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialReplyApproval(idx
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "formerType". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "formerType". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "formerType".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5088,222 +5539,246 @@ func (this ActivityStreamsFormerTypeProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 58 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6146,6 +6621,35 @@ func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialAnnounceApproval
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "formerType". Invalidates all
+// iterators.
+func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "formerType". Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "formerType". Invalidates all iterators.
func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6160,6 +6664,34 @@ func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeApproval(v v
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "formerType". Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "formerType". Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "formerType". Invalidates all iterators.
func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6174,6 +6706,34 @@ func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyApproval(v
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "formerType". Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "formerType". Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "formerType".
func (this *ActivityStreamsFormerTypeProperty) PrependIRI(v *url.URL) {
@@ -7038,6 +7598,32 @@ func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialAnnounceApproval(idx
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "formerType". Panics if the index is
+// out of bounds. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "formerType". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "formerType". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7051,6 +7637,32 @@ func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialLikeApproval(idx int
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "formerType". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "formerType". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "formerType". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7064,6 +7676,32 @@ func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialReplyApproval(idx in
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "formerType". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "formerType". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsFormerTypeProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "formerType". Panics if the index is out of bounds.
func (this *ActivityStreamsFormerTypeProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go
index f95bf1def..765f6045b 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go
index 853cfe0ed..6d40fcf90 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go
@@ -22,6 +22,8 @@ type ActivityStreamsGeneratorPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsGeneratorPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsGeneratorPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsGeneratorPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsGeneratorPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsGeneratorPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsGeneratorPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsGeneratorPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsGeneratorPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsGeneratorPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsGeneratorPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsGeneratorPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialAnnounceApprov
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialLikeApproval()
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialReplyApproval(
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsGeneratorPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsGeneratorPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialAnnounceApprova
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialLikeApproval()
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialReplyApproval()
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsGeneratorPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsGeneratorPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsGeneratorPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialAnnounceAppro
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeApproval(
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyApproval
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsGeneratorPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsGeneratorPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3896,6 +4173,30 @@ func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialAnnounceApproval(v
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "generator". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "generator". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "generator". Invalidates iterators that are traversing
// using Prev.
@@ -3908,6 +4209,30 @@ func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialLikeApproval(v voc
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "generator". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "generator". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "generator". Invalidates iterators that are traversing
// using Prev.
@@ -3920,6 +4245,30 @@ func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialReplyApproval(v vo
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "generator". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "generator". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsGeneratorProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "generator"
func (this *ActivityStreamsGeneratorProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{
@@ -5024,6 +5373,40 @@ func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialAnnounceApproval(i
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "generator". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "generator". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "generator". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5041,6 +5424,40 @@ func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeApproval(idx i
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "generator". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "generator". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "generator". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5058,6 +5475,40 @@ func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialReplyApproval(idx
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "generator". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "generator". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "generator".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5237,230 +5688,254 @@ func (this ActivityStreamsGeneratorProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6331,6 +6806,35 @@ func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialAnnounceApproval(
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "generator". Invalidates all
+// iterators.
+func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "generator". Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "generator". Invalidates all iterators.
func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6345,6 +6849,34 @@ func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeApproval(v vo
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "generator". Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "generator". Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "generator". Invalidates all iterators.
func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6359,6 +6891,34 @@ func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyApproval(v v
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "generator". Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "generator". Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "generator".
func (this *ActivityStreamsGeneratorProperty) PrependIRI(v *url.URL) {
@@ -7248,6 +7808,32 @@ func (this *ActivityStreamsGeneratorProperty) SetGoToSocialAnnounceApproval(idx
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "generator". Panics if the index is
+// out of bounds. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "generator". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "generator". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7261,6 +7847,32 @@ func (this *ActivityStreamsGeneratorProperty) SetGoToSocialLikeApproval(idx int,
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "generator". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "generator". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "generator". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7274,6 +7886,32 @@ func (this *ActivityStreamsGeneratorProperty) SetGoToSocialReplyApproval(idx int
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "generator". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "generator". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsGeneratorProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "generator". Panics if the index is out of bounds.
func (this *ActivityStreamsGeneratorProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go
index 02fbf08be..bf2249fc1 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go
index d7ad7dae1..dc766b5ef 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go
@@ -22,6 +22,8 @@ type ActivityStreamsInReplyToPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsInReplyToPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsInReplyToPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInReplyToPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInReplyToPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInReplyToPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInReplyToPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInReplyToPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInReplyToPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInReplyToPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInReplyToPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInReplyToPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialAnnounceApprov
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialLikeApproval()
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialReplyApproval(
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsInReplyToPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsInReplyToPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialAnnounceApprova
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialLikeApproval()
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialReplyApproval()
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsInReplyToPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsInReplyToPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string]
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsInReplyToPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialAnnounceAppro
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeApproval(
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyApproval
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsInReplyToPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsInReplyToPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3896,6 +4173,30 @@ func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialAnnounceApproval(v
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "inReplyTo". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "inReplyTo". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "inReplyTo". Invalidates iterators that are traversing
// using Prev.
@@ -3908,6 +4209,30 @@ func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialLikeApproval(v voc
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "inReplyTo". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "inReplyTo". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "inReplyTo". Invalidates iterators that are traversing
// using Prev.
@@ -3920,6 +4245,30 @@ func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialReplyApproval(v vo
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "inReplyTo". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "inReplyTo". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsInReplyToProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "inReplyTo"
func (this *ActivityStreamsInReplyToProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{
@@ -5024,6 +5373,40 @@ func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialAnnounceApproval(i
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "inReplyTo". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "inReplyTo". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "inReplyTo". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5041,6 +5424,40 @@ func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeApproval(idx i
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "inReplyTo". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "inReplyTo". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "inReplyTo". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5058,6 +5475,40 @@ func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialReplyApproval(idx
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "inReplyTo". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "inReplyTo". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "inReplyTo".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5237,230 +5688,254 @@ func (this ActivityStreamsInReplyToProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6331,6 +6806,35 @@ func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialAnnounceApproval(
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "inReplyTo". Invalidates all
+// iterators.
+func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "inReplyTo". Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "inReplyTo". Invalidates all iterators.
func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6345,6 +6849,34 @@ func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeApproval(v vo
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "inReplyTo". Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "inReplyTo". Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "inReplyTo". Invalidates all iterators.
func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6359,6 +6891,34 @@ func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyApproval(v v
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "inReplyTo". Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "inReplyTo". Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "inReplyTo".
func (this *ActivityStreamsInReplyToProperty) PrependIRI(v *url.URL) {
@@ -7248,6 +7808,32 @@ func (this *ActivityStreamsInReplyToProperty) SetGoToSocialAnnounceApproval(idx
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "inReplyTo". Panics if the index is
+// out of bounds. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "inReplyTo". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "inReplyTo". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7261,6 +7847,32 @@ func (this *ActivityStreamsInReplyToProperty) SetGoToSocialLikeApproval(idx int,
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "inReplyTo". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "inReplyTo". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "inReplyTo". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7274,6 +7886,32 @@ func (this *ActivityStreamsInReplyToProperty) SetGoToSocialReplyApproval(idx int
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "inReplyTo". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "inReplyTo". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsInReplyToProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "inReplyTo". Panics if the index is out of bounds.
func (this *ActivityStreamsInReplyToProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go
index b3d433ce9..2fe231bee 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go
index 09ae36386..316aeaa27 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go
@@ -22,6 +22,8 @@ type ActivityStreamsInstrumentPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsInstrumentPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsInstrumentPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInstrumentPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInstrumentPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInstrumentPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInstrumentPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInstrumentPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInstrumentPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInstrumentPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsInstrumentPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsInstrumentPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialAnnounceAppro
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialLikeApproval(
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialReplyApproval
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsInstrumentPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsInstrumentPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialAnnounceApprov
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialLikeApproval()
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialReplyApproval(
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsInstrumentPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsInstrumentPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsInstrumentPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialAnnounceAppr
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeApproval
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyApprova
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsInstrumentPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsInstrumentPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{},
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3896,6 +4173,30 @@ func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialAnnounceApproval(
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "instrument". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "instrument". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "instrument". Invalidates iterators that are traversing
// using Prev.
@@ -3908,6 +4209,30 @@ func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialLikeApproval(v vo
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "instrument". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "instrument". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "instrument". Invalidates iterators that are
// traversing using Prev.
@@ -3920,6 +4245,30 @@ func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialReplyApproval(v v
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "instrument". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "instrument". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsInstrumentProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "instrument"
func (this *ActivityStreamsInstrumentProperty) AppendIRI(v *url.URL) {
@@ -5026,6 +5375,40 @@ func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialAnnounceApproval(
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "instrument". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "instrument". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "instrument". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5043,6 +5426,40 @@ func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeApproval(idx
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "instrument". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "instrument". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "instrument". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5060,6 +5477,40 @@ func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialReplyApproval(idx
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "instrument". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "instrument". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "instrument".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5239,230 +5690,254 @@ func (this ActivityStreamsInstrumentProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6333,6 +6808,35 @@ func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialAnnounceApproval
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "instrument". Invalidates all
+// iterators.
+func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "instrument". Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "instrument". Invalidates all iterators.
func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6347,6 +6851,34 @@ func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeApproval(v v
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "instrument". Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "instrument". Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "instrument". Invalidates all iterators.
func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6361,6 +6893,34 @@ func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyApproval(v
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "instrument". Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "instrument". Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "instrument".
func (this *ActivityStreamsInstrumentProperty) PrependIRI(v *url.URL) {
@@ -7250,6 +7810,32 @@ func (this *ActivityStreamsInstrumentProperty) SetGoToSocialAnnounceApproval(idx
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "instrument". Panics if the index is
+// out of bounds. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "instrument". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "instrument". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7263,6 +7849,32 @@ func (this *ActivityStreamsInstrumentProperty) SetGoToSocialLikeApproval(idx int
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "instrument". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "instrument". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "instrument". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7276,6 +7888,32 @@ func (this *ActivityStreamsInstrumentProperty) SetGoToSocialReplyApproval(idx in
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "instrument". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "instrument". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsInstrumentProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "instrument". Panics if the index is out of bounds.
func (this *ActivityStreamsInstrumentProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go
index 3289ac3f3..4618c040e 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go
index f2cdb668f..09a73a7da 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go
@@ -22,6 +22,8 @@ type ActivityStreamsItemsPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsItemsPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsItemsPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsItemsPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsItemsPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsItemsPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsItemsPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsItemsPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsItemsPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsItemsPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsItemsPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsItemsPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialLikeApproval() voc
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialReplyApproval() vo
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsItemsPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsItemsPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialLikeApproval() bool
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialReplyApproval() boo
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsItemsPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsItemsPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsItemsPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialAnnounceApproval(
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeApproval(v vo
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyApproval(v v
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsItemsPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsItemsPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3887,6 +4164,30 @@ func (this *ActivityStreamsItemsProperty) AppendGoToSocialAnnounceApproval(v voc
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "items". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsItemsProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "items". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsItemsProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "items". Invalidates iterators that are traversing using
// Prev.
@@ -3899,6 +4200,30 @@ func (this *ActivityStreamsItemsProperty) AppendGoToSocialLikeApproval(v vocab.G
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "items". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsItemsProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "items". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsItemsProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "items". Invalidates iterators that are traversing
// using Prev.
@@ -3911,6 +4236,30 @@ func (this *ActivityStreamsItemsProperty) AppendGoToSocialReplyApproval(v vocab.
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "items". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsItemsProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "items". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsItemsProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "items"
func (this *ActivityStreamsItemsProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{
@@ -5014,6 +5363,40 @@ func (this *ActivityStreamsItemsProperty) InsertGoToSocialAnnounceApproval(idx i
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "items". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "items". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "items". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5031,6 +5414,40 @@ func (this *ActivityStreamsItemsProperty) InsertGoToSocialLikeApproval(idx int,
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "items". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "items". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "items". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5048,6 +5465,40 @@ func (this *ActivityStreamsItemsProperty) InsertGoToSocialReplyApproval(idx int,
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "items". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "items". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "items".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5227,230 +5678,254 @@ func (this ActivityStreamsItemsProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6321,6 +6796,34 @@ func (this *ActivityStreamsItemsProperty) PrependGoToSocialAnnounceApproval(v vo
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "items". Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "items". Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "items". Invalidates all iterators.
func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6335,6 +6838,34 @@ func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeApproval(v vocab.
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "items". Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "items". Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "items". Invalidates all iterators.
func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6349,6 +6880,34 @@ func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyApproval(v vocab
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "items". Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "items". Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "items".
func (this *ActivityStreamsItemsProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsItemsPropertyIterator{{
@@ -7237,6 +7796,32 @@ func (this *ActivityStreamsItemsProperty) SetGoToSocialAnnounceApproval(idx int,
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "items". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "items". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "items". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7250,6 +7835,32 @@ func (this *ActivityStreamsItemsProperty) SetGoToSocialLikeApproval(idx int, v v
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "items". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "items". Panics if the index is out of bounds. Invalidates
+// all iterators.
+func (this *ActivityStreamsItemsProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "items". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7263,6 +7874,32 @@ func (this *ActivityStreamsItemsProperty) SetGoToSocialReplyApproval(idx int, v
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "items". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "items". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsItemsProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "items".
// Panics if the index is out of bounds.
func (this *ActivityStreamsItemsProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go
index feba0ecc9..500eea9a8 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go
index 19e93d6cf..fbd644756 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go
@@ -22,6 +22,8 @@ type ActivityStreamsLocationPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsLocationPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsLocationPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsLocationPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsLocationPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsLocationPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsLocationPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsLocationPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsLocationPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsLocationPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsLocationPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsLocationPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialAnnounceApprova
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialLikeApproval()
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialReplyApproval()
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsLocationPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsLocationPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialAnnounceApproval
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialLikeApproval() b
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialReplyApproval()
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsLocationPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsLocationPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsLocationPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialAnnounceApprov
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeApproval(v
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyApproval(
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsLocationPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsLocationPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3896,6 +4173,30 @@ func (this *ActivityStreamsLocationProperty) AppendGoToSocialAnnounceApproval(v
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "location". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsLocationProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "location". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsLocationProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "location". Invalidates iterators that are traversing using
// Prev.
@@ -3908,6 +4209,30 @@ func (this *ActivityStreamsLocationProperty) AppendGoToSocialLikeApproval(v voca
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "location". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsLocationProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "location". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsLocationProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "location". Invalidates iterators that are traversing
// using Prev.
@@ -3920,6 +4245,30 @@ func (this *ActivityStreamsLocationProperty) AppendGoToSocialReplyApproval(v voc
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "location". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsLocationProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "location". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsLocationProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "location"
func (this *ActivityStreamsLocationProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{
@@ -5024,6 +5373,40 @@ func (this *ActivityStreamsLocationProperty) InsertGoToSocialAnnounceApproval(id
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "location". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "location". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "location". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5041,6 +5424,40 @@ func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeApproval(idx in
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "location". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "location". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "location". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5058,6 +5475,40 @@ func (this *ActivityStreamsLocationProperty) InsertGoToSocialReplyApproval(idx i
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "location". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "location". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "location".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5237,230 +5688,254 @@ func (this ActivityStreamsLocationProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6331,6 +6806,35 @@ func (this *ActivityStreamsLocationProperty) PrependGoToSocialAnnounceApproval(v
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "location". Invalidates all
+// iterators.
+func (this *ActivityStreamsLocationProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsLocationPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "location". Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsLocationPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "location". Invalidates all iterators.
func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6345,6 +6849,34 @@ func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeApproval(v voc
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "location". Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsLocationPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "location". Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsLocationPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "location". Invalidates all iterators.
func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6359,6 +6891,34 @@ func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyApproval(v vo
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "location". Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsLocationPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "location". Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsLocationPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "location".
func (this *ActivityStreamsLocationProperty) PrependIRI(v *url.URL) {
@@ -7248,6 +7808,32 @@ func (this *ActivityStreamsLocationProperty) SetGoToSocialAnnounceApproval(idx i
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "location". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "location". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "location". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7261,6 +7847,32 @@ func (this *ActivityStreamsLocationProperty) SetGoToSocialLikeApproval(idx int,
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "location". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "location". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "location". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7274,6 +7886,32 @@ func (this *ActivityStreamsLocationProperty) SetGoToSocialReplyApproval(idx int,
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "location". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "location". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsLocationProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "location". Panics if the index is out of bounds.
func (this *ActivityStreamsLocationProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go
index 8487a5a75..c40014c69 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go
index 2a9ad14dd..b2b2d7ae5 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go
@@ -22,6 +22,8 @@ type ActivityStreamsObjectPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsObjectPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsObjectPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsObjectPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsObjectPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsObjectPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsObjectPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsObjectPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsObjectPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsObjectPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsObjectPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsObjectPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialAnnounceApproval(
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialLikeApproval() vo
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialReplyApproval() v
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsObjectPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsObjectPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialLikeApproval() boo
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialReplyApproval() bo
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsObjectPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsObjectPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsObjectPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialAnnounceApproval
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeApproval(v v
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyApproval(v
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsObjectPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsObjectPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3887,6 +4164,30 @@ func (this *ActivityStreamsObjectProperty) AppendGoToSocialAnnounceApproval(v vo
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "object". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsObjectProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "object". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsObjectProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "object". Invalidates iterators that are traversing using
// Prev.
@@ -3899,6 +4200,30 @@ func (this *ActivityStreamsObjectProperty) AppendGoToSocialLikeApproval(v vocab.
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "object". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsObjectProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "object". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsObjectProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "object". Invalidates iterators that are traversing
// using Prev.
@@ -3911,6 +4236,30 @@ func (this *ActivityStreamsObjectProperty) AppendGoToSocialReplyApproval(v vocab
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "object". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsObjectProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "object". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsObjectProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "object"
func (this *ActivityStreamsObjectProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{
@@ -5014,6 +5363,40 @@ func (this *ActivityStreamsObjectProperty) InsertGoToSocialAnnounceApproval(idx
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "object". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "object". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "object". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5031,6 +5414,40 @@ func (this *ActivityStreamsObjectProperty) InsertGoToSocialLikeApproval(idx int,
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "object". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "object". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "object". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5048,6 +5465,40 @@ func (this *ActivityStreamsObjectProperty) InsertGoToSocialReplyApproval(idx int
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "object". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "object". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "object".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5227,230 +5678,254 @@ func (this ActivityStreamsObjectProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6321,6 +6796,34 @@ func (this *ActivityStreamsObjectProperty) PrependGoToSocialAnnounceApproval(v v
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "object". Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsObjectPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "object". Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsObjectPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "object". Invalidates all iterators.
func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6335,6 +6838,34 @@ func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeApproval(v vocab
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "object". Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsObjectPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "object". Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsObjectPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "object". Invalidates all iterators.
func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6349,6 +6880,34 @@ func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyApproval(v voca
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "object". Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsObjectPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "object". Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsObjectPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "object".
func (this *ActivityStreamsObjectProperty) PrependIRI(v *url.URL) {
@@ -7238,6 +7797,32 @@ func (this *ActivityStreamsObjectProperty) SetGoToSocialAnnounceApproval(idx int
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "object". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "object". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "object". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7251,6 +7836,32 @@ func (this *ActivityStreamsObjectProperty) SetGoToSocialLikeApproval(idx int, v
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "object". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "object". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "object". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7264,6 +7875,32 @@ func (this *ActivityStreamsObjectProperty) SetGoToSocialReplyApproval(idx int, v
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "object". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "object". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsObjectProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "object". Panics if the index is out of bounds.
func (this *ActivityStreamsObjectProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go
index e6ac8fb90..5dd21535c 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go
index 42b8aff52..5400d5c4b 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go
@@ -22,6 +22,8 @@ type ActivityStreamsOneOfPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsOneOfPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsOneOfPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOneOfPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOneOfPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOneOfPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOneOfPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOneOfPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOneOfPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOneOfPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOneOfPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOneOfPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialLikeApproval() voc
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialReplyApproval() vo
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsOneOfPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsOneOfPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialLikeApproval() bool
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialReplyApproval() boo
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsOneOfPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsOneOfPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsOneOfPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialAnnounceApproval(
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeApproval(v vo
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyApproval(v v
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsOneOfPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsOneOfPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3887,6 +4164,30 @@ func (this *ActivityStreamsOneOfProperty) AppendGoToSocialAnnounceApproval(v voc
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "oneOf". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOneOfProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "oneOf". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsOneOfProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "oneOf". Invalidates iterators that are traversing using
// Prev.
@@ -3899,6 +4200,30 @@ func (this *ActivityStreamsOneOfProperty) AppendGoToSocialLikeApproval(v vocab.G
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "oneOf". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOneOfProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "oneOf". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsOneOfProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "oneOf". Invalidates iterators that are traversing
// using Prev.
@@ -3911,6 +4236,30 @@ func (this *ActivityStreamsOneOfProperty) AppendGoToSocialReplyApproval(v vocab.
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "oneOf". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOneOfProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "oneOf". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsOneOfProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "oneOf"
func (this *ActivityStreamsOneOfProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{
@@ -5014,6 +5363,40 @@ func (this *ActivityStreamsOneOfProperty) InsertGoToSocialAnnounceApproval(idx i
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "oneOf". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "oneOf". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "oneOf". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5031,6 +5414,40 @@ func (this *ActivityStreamsOneOfProperty) InsertGoToSocialLikeApproval(idx int,
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "oneOf". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "oneOf". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "oneOf". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5048,6 +5465,40 @@ func (this *ActivityStreamsOneOfProperty) InsertGoToSocialReplyApproval(idx int,
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "oneOf". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "oneOf". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "oneOf".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5227,230 +5678,254 @@ func (this ActivityStreamsOneOfProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6321,6 +6796,34 @@ func (this *ActivityStreamsOneOfProperty) PrependGoToSocialAnnounceApproval(v vo
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "oneOf". Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "oneOf". Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "oneOf". Invalidates all iterators.
func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6335,6 +6838,34 @@ func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeApproval(v vocab.
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "oneOf". Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "oneOf". Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "oneOf". Invalidates all iterators.
func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6349,6 +6880,34 @@ func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyApproval(v vocab
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "oneOf". Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "oneOf". Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "oneOf".
func (this *ActivityStreamsOneOfProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{
@@ -7237,6 +7796,32 @@ func (this *ActivityStreamsOneOfProperty) SetGoToSocialAnnounceApproval(idx int,
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "oneOf". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "oneOf". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "oneOf". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7250,6 +7835,32 @@ func (this *ActivityStreamsOneOfProperty) SetGoToSocialLikeApproval(idx int, v v
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "oneOf". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "oneOf". Panics if the index is out of bounds. Invalidates
+// all iterators.
+func (this *ActivityStreamsOneOfProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "oneOf". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7263,6 +7874,32 @@ func (this *ActivityStreamsOneOfProperty) SetGoToSocialReplyApproval(idx int, v
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "oneOf". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "oneOf". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsOneOfProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "oneOf".
// Panics if the index is out of bounds.
func (this *ActivityStreamsOneOfProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go
index c32a38460..421d63a89 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go
index d3e6cdef4..a3fa33989 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go
@@ -22,6 +22,8 @@ type ActivityStreamsOrderedItemsPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsOrderedItemsPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsOrderedItemsPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOrderedItemsPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOrderedItemsPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOrderedItemsPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialAnnounceApp
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialLikeApprova
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialReplyApprov
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsOrderedItemsPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsOrderedItemsPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialAnnounceAppr
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialLikeApproval
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialReplyApprova
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsOrderedItemsPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsOrderedItemsPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialAnnounceAp
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeApprov
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyAppro
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsOrderedItemsPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsOrderedItemsPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3936,6 +4213,30 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialAnnounceApprova
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "orderedItems". Invalidates iterators
+// that are traversing using Prev.
+func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "orderedItems". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "orderedItems". Invalidates iterators that are traversing
// using Prev.
@@ -3948,6 +4249,30 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialLikeApproval(v
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "orderedItems". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "orderedItems". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "orderedItems". Invalidates iterators that are
// traversing using Prev.
@@ -3960,6 +4285,30 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialReplyApproval(v
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "orderedItems". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "orderedItems". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsOrderedItemsProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "orderedItems"
func (this *ActivityStreamsOrderedItemsProperty) AppendIRI(v *url.URL) {
@@ -5067,6 +5416,40 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialAnnounceApprova
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "orderedItems". Existing elements at
+// that index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "orderedItems". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "orderedItems". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5084,6 +5467,40 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialLikeApproval(id
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "orderedItems". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "orderedItems". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "orderedItems". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -5101,6 +5518,40 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialReplyApproval(i
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "orderedItems". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "orderedItems". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property
// "orderedItems". Existing elements at that index and higher are shifted back
// once. Invalidates all iterators.
@@ -5280,230 +5731,254 @@ func (this ActivityStreamsOrderedItemsProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6375,6 +6850,35 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialAnnounceApprov
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "orderedItems". Invalidates all
+// iterators.
+func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "orderedItems". Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "orderedItems". Invalidates all iterators.
func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6389,6 +6893,34 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeApproval(v
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "orderedItems". Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "orderedItems". Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "orderedItems". Invalidates all iterators.
func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6403,6 +6935,34 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyApproval(
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "orderedItems". Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "orderedItems". Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "orderedItems".
func (this *ActivityStreamsOrderedItemsProperty) PrependIRI(v *url.URL) {
@@ -7292,6 +7852,32 @@ func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialAnnounceApproval(i
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "orderedItems". Panics if the index is
+// out of bounds. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "orderedItems". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "orderedItems". Panics if the index is out of
// bounds. Invalidates all iterators.
@@ -7305,6 +7891,32 @@ func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialLikeApproval(idx i
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "orderedItems". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "orderedItems". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "orderedItems". Panics if the index is out of
// bounds. Invalidates all iterators.
@@ -7318,6 +7930,32 @@ func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialReplyApproval(idx
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "orderedItems". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "orderedItems". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsOrderedItemsProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "orderedItems". Panics if the index is out of bounds.
func (this *ActivityStreamsOrderedItemsProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go
index 783f51b19..545c4f429 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go
index 95f3ddc4e..978e86f21 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go
@@ -22,6 +22,8 @@ type ActivityStreamsOriginPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsOriginPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsOriginPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOriginPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOriginPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOriginPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOriginPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOriginPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOriginPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOriginPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsOriginPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsOriginPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialAnnounceApproval(
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialLikeApproval() vo
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialReplyApproval() v
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsOriginPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsOriginPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialLikeApproval() boo
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialReplyApproval() bo
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsOriginPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsOriginPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsOriginPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialAnnounceApproval
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeApproval(v v
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyApproval(v
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsOriginPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsOriginPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3887,6 +4164,30 @@ func (this *ActivityStreamsOriginProperty) AppendGoToSocialAnnounceApproval(v vo
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "origin". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOriginProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "origin". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsOriginProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "origin". Invalidates iterators that are traversing using
// Prev.
@@ -3899,6 +4200,30 @@ func (this *ActivityStreamsOriginProperty) AppendGoToSocialLikeApproval(v vocab.
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "origin". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOriginProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "origin". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsOriginProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "origin". Invalidates iterators that are traversing
// using Prev.
@@ -3911,6 +4236,30 @@ func (this *ActivityStreamsOriginProperty) AppendGoToSocialReplyApproval(v vocab
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "origin". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsOriginProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "origin". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsOriginProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "origin"
func (this *ActivityStreamsOriginProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{
@@ -5014,6 +5363,40 @@ func (this *ActivityStreamsOriginProperty) InsertGoToSocialAnnounceApproval(idx
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "origin". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "origin". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "origin". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5031,6 +5414,40 @@ func (this *ActivityStreamsOriginProperty) InsertGoToSocialLikeApproval(idx int,
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "origin". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "origin". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "origin". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5048,6 +5465,40 @@ func (this *ActivityStreamsOriginProperty) InsertGoToSocialReplyApproval(idx int
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "origin". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "origin". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "origin".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5227,230 +5678,254 @@ func (this ActivityStreamsOriginProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6321,6 +6796,34 @@ func (this *ActivityStreamsOriginProperty) PrependGoToSocialAnnounceApproval(v v
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "origin". Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsOriginPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "origin". Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsOriginPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "origin". Invalidates all iterators.
func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6335,6 +6838,34 @@ func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeApproval(v vocab
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "origin". Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsOriginPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "origin". Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsOriginPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "origin". Invalidates all iterators.
func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6349,6 +6880,34 @@ func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyApproval(v voca
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "origin". Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsOriginPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "origin". Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsOriginPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "origin".
func (this *ActivityStreamsOriginProperty) PrependIRI(v *url.URL) {
@@ -7238,6 +7797,32 @@ func (this *ActivityStreamsOriginProperty) SetGoToSocialAnnounceApproval(idx int
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "origin". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "origin". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "origin". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7251,6 +7836,32 @@ func (this *ActivityStreamsOriginProperty) SetGoToSocialLikeApproval(idx int, v
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "origin". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "origin". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "origin". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7264,6 +7875,32 @@ func (this *ActivityStreamsOriginProperty) SetGoToSocialReplyApproval(idx int, v
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "origin". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "origin". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsOriginProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "origin". Panics if the index is out of bounds.
func (this *ActivityStreamsOriginProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go
index f16e6ecaf..a2a88880d 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go
index 4810f32ff..baf4e5ac1 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go
@@ -22,6 +22,8 @@ type ActivityStreamsPreviewPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsPreviewPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsPreviewPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsPreviewPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsPreviewPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsPreviewPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsPreviewPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsPreviewPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsPreviewPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsPreviewPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsPreviewPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsPreviewPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialAnnounceApproval
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialLikeApproval() v
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialReplyApproval()
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsPreviewPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsPreviewPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialAnnounceApproval(
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialLikeApproval() bo
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialReplyApproval() b
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsPreviewPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsPreviewPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsPreviewPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialAnnounceApprova
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeApproval(v
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyApproval(v
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsPreviewPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsPreviewPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3896,6 +4173,30 @@ func (this *ActivityStreamsPreviewProperty) AppendGoToSocialAnnounceApproval(v v
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "preview". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsPreviewProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "preview". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsPreviewProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "preview". Invalidates iterators that are traversing using
// Prev.
@@ -3908,6 +4209,30 @@ func (this *ActivityStreamsPreviewProperty) AppendGoToSocialLikeApproval(v vocab
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "preview". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsPreviewProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "preview". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsPreviewProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "preview". Invalidates iterators that are traversing
// using Prev.
@@ -3920,6 +4245,30 @@ func (this *ActivityStreamsPreviewProperty) AppendGoToSocialReplyApproval(v voca
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "preview". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsPreviewProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "preview". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsPreviewProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "preview"
func (this *ActivityStreamsPreviewProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{
@@ -5024,6 +5373,40 @@ func (this *ActivityStreamsPreviewProperty) InsertGoToSocialAnnounceApproval(idx
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "preview". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "preview". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "preview". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5041,6 +5424,40 @@ func (this *ActivityStreamsPreviewProperty) InsertGoToSocialLikeApproval(idx int
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "preview". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "preview". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "preview". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5058,6 +5475,40 @@ func (this *ActivityStreamsPreviewProperty) InsertGoToSocialReplyApproval(idx in
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "preview". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "preview". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "preview".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5237,230 +5688,254 @@ func (this ActivityStreamsPreviewProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6331,6 +6806,34 @@ func (this *ActivityStreamsPreviewProperty) PrependGoToSocialAnnounceApproval(v
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "preview". Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "preview". Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "preview". Invalidates all iterators.
func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6345,6 +6848,34 @@ func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeApproval(v voca
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "preview". Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "preview". Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "preview". Invalidates all iterators.
func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6359,6 +6890,34 @@ func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyApproval(v voc
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "preview". Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "preview". Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "preview".
func (this *ActivityStreamsPreviewProperty) PrependIRI(v *url.URL) {
@@ -7248,6 +7807,32 @@ func (this *ActivityStreamsPreviewProperty) SetGoToSocialAnnounceApproval(idx in
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "preview". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "preview". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "preview". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7261,6 +7846,32 @@ func (this *ActivityStreamsPreviewProperty) SetGoToSocialLikeApproval(idx int, v
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "preview". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "preview". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "preview". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7274,6 +7885,32 @@ func (this *ActivityStreamsPreviewProperty) SetGoToSocialReplyApproval(idx int,
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "preview". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "preview". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsPreviewProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "preview". Panics if the index is out of bounds.
func (this *ActivityStreamsPreviewProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go
index 83f7b36c6..3ed75f19a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -140,6 +148,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeListenActivityStreams returns the deserialization method for
// the "ActivityStreamsListen" non-functional property in the
// vocabulary "ActivityStreams"
@@ -217,6 +233,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go
index a35c51eaf..28511e01d 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go
@@ -21,6 +21,8 @@ type ActivityStreamsRelationshipPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -48,6 +50,8 @@ type ActivityStreamsRelationshipPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMoveMember vocab.ActivityStreamsMove
activitystreamsNoteMember vocab.ActivityStreamsNote
@@ -66,6 +70,8 @@ type ActivityStreamsRelationshipPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -151,6 +157,18 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsRelationshipPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsRelationshipPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsRelationshipPropertyIterator{
activitystreamsApplicationMember: v,
@@ -313,6 +331,18 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsRelationshipPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsRelationshipPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsRelationshipPropertyIterator{
activitystreamsListenMember: v,
@@ -421,6 +451,18 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsRelationshipPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsRelationshipPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsRelationshipPropertyIterator{
activitystreamsServiceMember: v,
@@ -885,6 +927,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialAnnounceApp
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -892,6 +948,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialLikeApprova
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -899,6 +969,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialReplyApprov
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsRelationshipPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsRelationshipPropertyIterator) GetIRI() *url.URL {
@@ -949,6 +1033,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1030,6 +1120,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1084,6 +1180,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1127,6 +1229,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1154,6 +1258,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMove() ||
this.IsActivityStreamsNote() ||
@@ -1172,6 +1278,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1589,6 +1697,21 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialAnnounceAppr
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1596,6 +1719,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialLikeApproval
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1603,6 +1740,20 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialReplyApprova
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsRelationshipPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsRelationshipPropertyIterator) IsIRI() bool {
@@ -1649,6 +1800,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1703,6 +1858,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMove() {
@@ -1739,6 +1898,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1796,171 +1959,189 @@ func (this ActivityStreamsRelationshipPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 6
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 7
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 8
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 9
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 10
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 11
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 12
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 13
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 14
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 15
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 16
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 17
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 18
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 19
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 20
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 21
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 22
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 23
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsFollow() {
return 24
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsActivityStreamsGroup() {
return 25
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 26
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 27
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 28
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 29
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 30
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 31
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 32
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 33
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 34
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeApproval() {
return 35
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeAuthorization() {
return 36
}
- if this.IsActivityStreamsOffer() {
+ if this.IsGoToSocialLikeRequest() {
return 37
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsListen() {
return 38
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 39
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 40
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 41
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 42
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 43
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 44
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 45
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 46
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 47
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 48
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 49
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 50
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 51
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 52
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 53
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 54
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 55
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 56
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 57
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 58
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 59
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 60
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 61
}
+ if this.IsFunkwhaleTrack() {
+ return 62
+ }
+ if this.IsActivityStreamsTravel() {
+ return 63
+ }
+ if this.IsActivityStreamsUndo() {
+ return 64
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 65
+ }
+ if this.IsActivityStreamsVideo() {
+ return 66
+ }
+ if this.IsActivityStreamsView() {
+ return 67
+ }
if this.IsIRI() {
return -2
}
@@ -1992,6 +2173,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2046,6 +2231,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMove() {
@@ -2082,6 +2271,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2534,6 +2727,20 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialAnnounceAp
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2541,6 +2748,20 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeApprov
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2548,6 +2769,20 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyAppro
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsRelationshipPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsRelationshipPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2606,6 +2841,14 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2714,6 +2957,14 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2786,6 +3037,14 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2840,6 +3099,8 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2867,6 +3128,8 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMoveMember = nil
this.activitystreamsNoteMember = nil
@@ -2885,6 +3148,8 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -2918,6 +3183,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2972,6 +3241,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMove() {
@@ -3008,6 +3281,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{}
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3775,6 +4052,30 @@ func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialAnnounceApprova
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "relationship". Invalidates iterators
+// that are traversing using Prev.
+func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "relationship". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "relationship". Invalidates iterators that are traversing
// using Prev.
@@ -3787,6 +4088,30 @@ func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialLikeApproval(v
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "relationship". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "relationship". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "relationship". Invalidates iterators that are
// traversing using Prev.
@@ -3799,6 +4124,30 @@ func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialReplyApproval(v
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "relationship". Invalidates iterators that
+// are traversing using Prev.
+func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "relationship". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsRelationshipProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property
// "relationship"
func (this *ActivityStreamsRelationshipProperty) AppendIRI(v *url.URL) {
@@ -4861,6 +5210,40 @@ func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialAnnounceApprova
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "relationship". Existing elements at
+// that index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "relationship". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "relationship". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -4878,6 +5261,40 @@ func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeApproval(id
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "relationship". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "relationship". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "relationship". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
@@ -4895,6 +5312,40 @@ func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialReplyApproval(i
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "relationship". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "relationship". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property
// "relationship". Existing elements at that index and higher are shifted back
// once. Invalidates all iterators.
@@ -5053,222 +5504,246 @@ func (this ActivityStreamsRelationshipProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 7 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 8 {
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 37 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 38 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 39 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 57 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 58 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 59 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 60 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6112,6 +6587,35 @@ func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialAnnounceApprov
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "relationship". Invalidates all
+// iterators.
+func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "relationship". Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "relationship". Invalidates all iterators.
func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6126,6 +6630,34 @@ func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeApproval(v
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "relationship". Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "relationship". Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "relationship". Invalidates all iterators.
func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6140,6 +6672,34 @@ func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyApproval(
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "relationship". Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "relationship". Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "relationship".
func (this *ActivityStreamsRelationshipProperty) PrependIRI(v *url.URL) {
@@ -6989,6 +7549,32 @@ func (this *ActivityStreamsRelationshipProperty) SetGoToSocialAnnounceApproval(i
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "relationship". Panics if the index is
+// out of bounds. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "relationship". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "relationship". Panics if the index is out of
// bounds. Invalidates all iterators.
@@ -7002,6 +7588,32 @@ func (this *ActivityStreamsRelationshipProperty) SetGoToSocialLikeApproval(idx i
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "relationship". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "relationship". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "relationship". Panics if the index is out of
// bounds. Invalidates all iterators.
@@ -7015,6 +7627,32 @@ func (this *ActivityStreamsRelationshipProperty) SetGoToSocialReplyApproval(idx
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "relationship". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "relationship". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsRelationshipProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "relationship". Panics if the index is out of bounds.
func (this *ActivityStreamsRelationshipProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go
index ad5b2ff62..df6752b36 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go
index 9a20d2f01..2ee426a95 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go
@@ -22,6 +22,8 @@ type ActivityStreamsResultPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsResultPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsResultPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsResultPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsResultPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsResultPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsResultPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsResultPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsResultPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsResultPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsResultPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsResultPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsResultPropertyIterator) GetGoToSocialAnnounceApproval(
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsResultPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsResultPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsResultPropertyIterator) GetGoToSocialLikeApproval() vo
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsResultPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsResultPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsResultPropertyIterator) GetGoToSocialReplyApproval() v
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsResultPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsResultPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsResultPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsResultPropertyIterator) IsGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsResultPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsResultPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsResultPropertyIterator) IsGoToSocialLikeApproval() boo
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsResultPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsResultPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsResultPropertyIterator) IsGoToSocialReplyApproval() bo
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsResultPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsResultPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsResultPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsResultPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialAnnounceApproval
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeApproval(v v
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyApproval(v
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsResultPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsResultPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsResultPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsResultPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsResultPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3887,6 +4164,30 @@ func (this *ActivityStreamsResultProperty) AppendGoToSocialAnnounceApproval(v vo
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "result". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsResultProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "result". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsResultProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "result". Invalidates iterators that are traversing using
// Prev.
@@ -3899,6 +4200,30 @@ func (this *ActivityStreamsResultProperty) AppendGoToSocialLikeApproval(v vocab.
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "result". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsResultProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "result". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsResultProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "result". Invalidates iterators that are traversing
// using Prev.
@@ -3911,6 +4236,30 @@ func (this *ActivityStreamsResultProperty) AppendGoToSocialReplyApproval(v vocab
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "result". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsResultProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "result". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsResultProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "result"
func (this *ActivityStreamsResultProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{
@@ -5014,6 +5363,40 @@ func (this *ActivityStreamsResultProperty) InsertGoToSocialAnnounceApproval(idx
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "result". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "result". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "result". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5031,6 +5414,40 @@ func (this *ActivityStreamsResultProperty) InsertGoToSocialLikeApproval(idx int,
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "result". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "result". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "result". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5048,6 +5465,40 @@ func (this *ActivityStreamsResultProperty) InsertGoToSocialReplyApproval(idx int
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "result". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "result". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "result".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5227,230 +5678,254 @@ func (this ActivityStreamsResultProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6321,6 +6796,34 @@ func (this *ActivityStreamsResultProperty) PrependGoToSocialAnnounceApproval(v v
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "result". Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsResultPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "result". Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsResultPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "result". Invalidates all iterators.
func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6335,6 +6838,34 @@ func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeApproval(v vocab
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "result". Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsResultPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "result". Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsResultPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "result". Invalidates all iterators.
func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6349,6 +6880,34 @@ func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyApproval(v voca
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "result". Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsResultPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "result". Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsResultPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "result".
func (this *ActivityStreamsResultProperty) PrependIRI(v *url.URL) {
@@ -7238,6 +7797,32 @@ func (this *ActivityStreamsResultProperty) SetGoToSocialAnnounceApproval(idx int
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "result". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "result". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "result". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7251,6 +7836,32 @@ func (this *ActivityStreamsResultProperty) SetGoToSocialLikeApproval(idx int, v
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "result". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "result". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "result". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7264,6 +7875,32 @@ func (this *ActivityStreamsResultProperty) SetGoToSocialReplyApproval(idx int, v
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "result". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "result". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsResultProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "result". Panics if the index is out of bounds.
func (this *ActivityStreamsResultProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go
index 269814323..72e7b08eb 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go
index 488beedae..fcf87a858 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go
@@ -22,6 +22,8 @@ type ActivityStreamsSourceProperty struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsSourceProperty struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsSourceProperty struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSourceProperty{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSourceProperty{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSourceProperty{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSourceProperty{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSourceProperty{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSourceProperty{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsServiceMember: v,
@@ -529,6 +571,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -557,6 +601,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -576,6 +622,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -999,6 +1047,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceApproval() vocab.
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -1006,6 +1068,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialLikeApproval() vocab.GoTo
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsSourceProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsSourceProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -1013,6 +1089,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialReplyApproval() vocab.GoT
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsSourceProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsSourceProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetIRI() *url.URL {
@@ -1072,6 +1162,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1156,6 +1252,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1213,6 +1315,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1257,6 +1365,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1285,6 +1395,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1304,6 +1416,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1735,6 +1849,21 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceApproval() bool {
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1742,6 +1871,20 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialLikeApproval() bool {
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsSourceProperty) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsSourceProperty) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1749,6 +1892,20 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialReplyApproval() bool {
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsSourceProperty) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsSourceProperty) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsSourceProperty) IsIRI() bool {
@@ -1804,6 +1961,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1860,6 +2021,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1898,6 +2063,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1958,177 +2127,195 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2162,6 +2349,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2218,6 +2409,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2256,6 +2451,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2312,6 +2511,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2368,6 +2571,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2406,6 +2613,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2845,6 +3056,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceApproval(v vocab
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.Clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.Clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2852,6 +3077,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeApproval(v vocab.GoT
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.Clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.Clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2859,6 +3098,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyApproval(v vocab.Go
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.Clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.Clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) {
this.Clear()
@@ -2928,6 +3181,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -3040,6 +3301,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -3116,6 +3385,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go
index 79f2ae5c9..3c5ee854a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go
index 2fa8b44a3..592b738c5 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go
@@ -22,6 +22,8 @@ type ActivityStreamsSubjectProperty struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsSubjectProperty struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSubjectProperty{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSubjectProperty{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSubjectProperty{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSubjectProperty{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSubjectProperty{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsSubjectProperty{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsServiceMember: v,
@@ -529,6 +571,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -557,6 +601,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -576,6 +622,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -999,6 +1047,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceApproval() vocab
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -1006,6 +1068,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeApproval() vocab.GoT
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -1013,6 +1089,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyApproval() vocab.Go
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL {
@@ -1072,6 +1162,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1156,6 +1252,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1213,6 +1315,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1257,6 +1365,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1285,6 +1395,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1304,6 +1416,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1735,6 +1849,21 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceApproval() bool {
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1742,6 +1871,20 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeApproval() bool {
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1749,6 +1892,20 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyApproval() bool {
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsSubjectProperty) IsIRI() bool {
@@ -1804,6 +1961,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1860,6 +2021,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1898,6 +2063,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1958,177 +2127,195 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2162,6 +2349,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2218,6 +2409,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2256,6 +2451,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2312,6 +2511,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -2368,6 +2571,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -2406,6 +2613,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2845,6 +3056,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceApproval(v voca
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.Clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.Clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2852,6 +3077,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeApproval(v vocab.Go
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.Clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.Clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2859,6 +3098,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyApproval(v vocab.G
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.Clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.Clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) {
this.Clear()
@@ -2928,6 +3181,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -3040,6 +3301,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -3116,6 +3385,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go
index 35257972b..04b27f129 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go
index 5bd53153f..44066b137 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go
@@ -22,6 +22,8 @@ type ActivityStreamsTagPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsTagPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsTagPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -159,6 +165,18 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTagPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTagPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTagPropertyIterator{
activitystreamsApplicationMember: v,
@@ -327,6 +345,18 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTagPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTagPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTagPropertyIterator{
activitystreamsListenMember: v,
@@ -441,6 +471,18 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTagPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTagPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTagPropertyIterator{
activitystreamsServiceMember: v,
@@ -919,6 +961,20 @@ func (this ActivityStreamsTagPropertyIterator) GetGoToSocialAnnounceApproval() v
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsTagPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsTagPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -926,6 +982,20 @@ func (this ActivityStreamsTagPropertyIterator) GetGoToSocialLikeApproval() vocab
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsTagPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsTagPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -933,6 +1003,20 @@ func (this ActivityStreamsTagPropertyIterator) GetGoToSocialReplyApproval() voca
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsTagPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsTagPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsTagPropertyIterator) GetIRI() *url.URL {
@@ -992,6 +1076,12 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1076,6 +1166,12 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1133,6 +1229,12 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1177,6 +1279,8 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1205,6 +1309,8 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1224,6 +1330,8 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1655,6 +1763,21 @@ func (this ActivityStreamsTagPropertyIterator) IsGoToSocialAnnounceApproval() bo
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsTagPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsTagPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1662,6 +1785,20 @@ func (this ActivityStreamsTagPropertyIterator) IsGoToSocialLikeApproval() bool {
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsTagPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsTagPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1669,6 +1806,20 @@ func (this ActivityStreamsTagPropertyIterator) IsGoToSocialReplyApproval() bool
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsTagPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsTagPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsTagPropertyIterator) IsIRI() bool {
@@ -1724,6 +1875,10 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1780,6 +1935,10 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1818,6 +1977,10 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1878,177 +2041,195 @@ func (this ActivityStreamsTagPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2082,6 +2263,10 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2138,6 +2323,10 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2176,6 +2365,10 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2642,6 +2835,20 @@ func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialAnnounceApproval(v
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2649,6 +2856,20 @@ func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeApproval(v voca
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2656,6 +2877,20 @@ func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyApproval(v voc
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsTagPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsTagPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2725,6 +2960,14 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2837,6 +3080,14 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2913,6 +3164,14 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2968,6 +3227,8 @@ func (this *ActivityStreamsTagPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2996,6 +3257,8 @@ func (this *ActivityStreamsTagPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3015,6 +3278,8 @@ func (this *ActivityStreamsTagPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3050,6 +3315,10 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3106,6 +3375,10 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3144,6 +3417,10 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3885,6 +4162,30 @@ func (this *ActivityStreamsTagProperty) AppendGoToSocialAnnounceApproval(v vocab
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "tag". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsTagProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "tag". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsTagProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "tag". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -3896,6 +4197,29 @@ func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeApproval(v vocab.GoT
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "tag". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "tag". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsTagProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "tag". Invalidates iterators that are traversing using
// Prev.
@@ -3908,6 +4232,29 @@ func (this *ActivityStreamsTagProperty) AppendGoToSocialReplyApproval(v vocab.Go
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "tag". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsTagProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "tag". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsTagProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "tag"
func (this *ActivityStreamsTagProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{
@@ -5010,6 +5357,40 @@ func (this *ActivityStreamsTagProperty) InsertGoToSocialAnnounceApproval(idx int
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "tag". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "tag". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "tag". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5027,6 +5408,40 @@ func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeApproval(idx int, v
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "tag". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "tag". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "tag". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5044,6 +5459,40 @@ func (this *ActivityStreamsTagProperty) InsertGoToSocialReplyApproval(idx int, v
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "tag". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "tag". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "tag".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5223,230 +5672,254 @@ func (this ActivityStreamsTagProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6317,6 +6790,34 @@ func (this *ActivityStreamsTagProperty) PrependGoToSocialAnnounceApproval(v voca
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "tag". Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsTagPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "tag". Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsTagPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "tag". Invalidates all iterators.
func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6331,6 +6832,34 @@ func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeApproval(v vocab.Go
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "tag". Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsTagPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "tag". Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsTagPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "tag". Invalidates all iterators.
func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6345,6 +6874,34 @@ func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyApproval(v vocab.G
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "tag". Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsTagPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "tag". Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsTagPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "tag".
func (this *ActivityStreamsTagProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsTagPropertyIterator{{
@@ -7233,6 +7790,32 @@ func (this *ActivityStreamsTagProperty) SetGoToSocialAnnounceApproval(idx int, v
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "tag". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "tag". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "tag". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7246,6 +7829,32 @@ func (this *ActivityStreamsTagProperty) SetGoToSocialLikeApproval(idx int, v voc
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "tag". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "tag". Panics if the index is out of bounds. Invalidates
+// all iterators.
+func (this *ActivityStreamsTagProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "tag". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7259,6 +7868,32 @@ func (this *ActivityStreamsTagProperty) SetGoToSocialReplyApproval(idx int, v vo
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "tag". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "tag". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsTagProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "tag".
// Panics if the index is out of bounds.
func (this *ActivityStreamsTagProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go
index 48446301e..01131ce07 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go
index 1d0821938..401cf1386 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go
@@ -22,6 +22,8 @@ type ActivityStreamsTargetPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsTargetPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsTargetPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -160,6 +166,18 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTargetPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTargetPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTargetPropertyIterator{
activitystreamsApplicationMember: v,
@@ -328,6 +346,18 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTargetPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTargetPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTargetPropertyIterator{
activitystreamsListenMember: v,
@@ -442,6 +472,18 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTargetPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsTargetPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsTargetPropertyIterator{
activitystreamsServiceMember: v,
@@ -920,6 +962,20 @@ func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialAnnounceApproval(
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -927,6 +983,20 @@ func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialLikeApproval() vo
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -934,6 +1004,20 @@ func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialReplyApproval() v
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsTargetPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsTargetPropertyIterator) GetIRI() *url.URL {
@@ -993,6 +1077,12 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1077,6 +1167,12 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1134,6 +1230,12 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1178,6 +1280,8 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1206,6 +1310,8 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1225,6 +1331,8 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1656,6 +1764,21 @@ func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialAnnounceApproval()
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1663,6 +1786,20 @@ func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialLikeApproval() boo
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1670,6 +1807,20 @@ func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialReplyApproval() bo
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsTargetPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsTargetPropertyIterator) IsIRI() bool {
@@ -1725,6 +1876,10 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1781,6 +1936,10 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1819,6 +1978,10 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1879,177 +2042,195 @@ func (this ActivityStreamsTargetPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2083,6 +2264,10 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2139,6 +2324,10 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2177,6 +2366,10 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2643,6 +2836,20 @@ func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialAnnounceApproval
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2650,6 +2857,20 @@ func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeApproval(v v
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2657,6 +2878,20 @@ func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyApproval(v
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsTargetPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsTargetPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2726,6 +2961,14 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2838,6 +3081,14 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2914,6 +3165,14 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2969,6 +3228,8 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2997,6 +3258,8 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3016,6 +3279,8 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3051,6 +3316,10 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3107,6 +3376,10 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3145,6 +3418,10 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3887,6 +4164,30 @@ func (this *ActivityStreamsTargetProperty) AppendGoToSocialAnnounceApproval(v vo
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "target". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsTargetProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "target". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsTargetProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "target". Invalidates iterators that are traversing using
// Prev.
@@ -3899,6 +4200,30 @@ func (this *ActivityStreamsTargetProperty) AppendGoToSocialLikeApproval(v vocab.
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "target". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsTargetProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "target". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsTargetProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "target". Invalidates iterators that are traversing
// using Prev.
@@ -3911,6 +4236,30 @@ func (this *ActivityStreamsTargetProperty) AppendGoToSocialReplyApproval(v vocab
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "target". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsTargetProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "target". Invalidates iterators that are traversing using
+// Prev.
+func (this *ActivityStreamsTargetProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "target"
func (this *ActivityStreamsTargetProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{
@@ -5014,6 +5363,40 @@ func (this *ActivityStreamsTargetProperty) InsertGoToSocialAnnounceApproval(idx
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "target". Existing elements at that
+// index and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "target". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "target". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5031,6 +5414,40 @@ func (this *ActivityStreamsTargetProperty) InsertGoToSocialLikeApproval(idx int,
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "target". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "target". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "target". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
@@ -5048,6 +5465,40 @@ func (this *ActivityStreamsTargetProperty) InsertGoToSocialReplyApproval(idx int
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "target". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "target". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "target".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5227,230 +5678,254 @@ func (this ActivityStreamsTargetProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6321,6 +6796,34 @@ func (this *ActivityStreamsTargetProperty) PrependGoToSocialAnnounceApproval(v v
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "target". Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsTargetPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "target". Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsTargetPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "target". Invalidates all iterators.
func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6335,6 +6838,34 @@ func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeApproval(v vocab
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "target". Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsTargetPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "target". Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsTargetPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "target". Invalidates all iterators.
func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6349,6 +6880,34 @@ func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyApproval(v voca
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "target". Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsTargetPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "target". Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsTargetPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property
// "target".
func (this *ActivityStreamsTargetProperty) PrependIRI(v *url.URL) {
@@ -7238,6 +7797,32 @@ func (this *ActivityStreamsTargetProperty) SetGoToSocialAnnounceApproval(idx int
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "target". Panics if the index is out
+// of bounds. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "target". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "target". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7251,6 +7836,32 @@ func (this *ActivityStreamsTargetProperty) SetGoToSocialLikeApproval(idx int, v
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "target". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "target". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "target". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7264,6 +7875,32 @@ func (this *ActivityStreamsTargetProperty) SetGoToSocialReplyApproval(idx int, v
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "target". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "target". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsTargetProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property
// "target". Panics if the index is out of bounds.
func (this *ActivityStreamsTargetProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go
index 73cd3ce6a..481fd6476 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go
@@ -33,6 +33,14 @@ type privateManager interface {
// method for the "GoToSocialAnnounceApproval" non-functional property
// in the vocabulary "GoToSocial"
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
+ // DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialAnnounceAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
+ // DeserializeAnnounceRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialAnnounceRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
// DeserializeApplicationActivityStreams returns the deserialization
// method for the "ActivityStreamsApplication" non-functional property
// in the vocabulary "ActivityStreams"
@@ -143,6 +151,14 @@ type privateManager interface {
// for the "GoToSocialLikeApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
+ // DeserializeLikeAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialLikeAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
+ // DeserializeLikeRequestGoToSocial returns the deserialization method for
+ // the "GoToSocialLikeRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"
@@ -228,6 +244,14 @@ type privateManager interface {
// for the "GoToSocialReplyApproval" non-functional property in the
// vocabulary "GoToSocial"
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
+ // DeserializeReplyAuthorizationGoToSocial returns the deserialization
+ // method for the "GoToSocialReplyAuthorization" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
+ // DeserializeReplyRequestGoToSocial returns the deserialization method
+ // for the "GoToSocialReplyRequest" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go
index 76d4195ce..69e1ea313 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go
@@ -22,6 +22,8 @@ type ActivityStreamsToPropertyIterator struct {
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
+ gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
+ gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
@@ -50,6 +52,8 @@ type ActivityStreamsToPropertyIterator struct {
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
+ gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
+ gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
activitystreamsListenMember vocab.ActivityStreamsListen
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsMoveMember vocab.ActivityStreamsMove
@@ -69,6 +73,8 @@ type ActivityStreamsToPropertyIterator struct {
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
+ gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
+ gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
@@ -159,6 +165,18 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st
gotosocialAnnounceApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsToPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsToPropertyIterator{
+ alias: alias,
+ gotosocialAnnounceRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsToPropertyIterator{
activitystreamsApplicationMember: v,
@@ -327,6 +345,18 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st
gotosocialLikeApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsToPropertyIterator{
+ alias: alias,
+ gotosocialLikeAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsToPropertyIterator{
+ alias: alias,
+ gotosocialLikeRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsToPropertyIterator{
activitystreamsListenMember: v,
@@ -441,6 +471,18 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st
gotosocialReplyApprovalMember: v,
}
return this, nil
+ } else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsToPropertyIterator{
+ alias: alias,
+ gotosocialReplyAuthorizationMember: v,
+ }
+ return this, nil
+ } else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
+ this := &ActivityStreamsToPropertyIterator{
+ alias: alias,
+ gotosocialReplyRequestMember: v,
+ }
+ return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsToPropertyIterator{
activitystreamsServiceMember: v,
@@ -919,6 +961,20 @@ func (this ActivityStreamsToPropertyIterator) GetGoToSocialAnnounceApproval() vo
return this.gotosocialAnnounceApprovalMember
}
+// GetGoToSocialAnnounceAuthorization returns the value of this property. When
+// IsGoToSocialAnnounceAuthorization returns false,
+// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+func (this ActivityStreamsToPropertyIterator) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
+ return this.gotosocialAnnounceAuthorizationMember
+}
+
+// GetGoToSocialAnnounceRequest returns the value of this property. When
+// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
+// will return an arbitrary value.
+func (this ActivityStreamsToPropertyIterator) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
+ return this.gotosocialAnnounceRequestMember
+}
+
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
// return an arbitrary value.
@@ -926,6 +982,20 @@ func (this ActivityStreamsToPropertyIterator) GetGoToSocialLikeApproval() vocab.
return this.gotosocialLikeApprovalMember
}
+// GetGoToSocialLikeAuthorization returns the value of this property. When
+// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
+// will return an arbitrary value.
+func (this ActivityStreamsToPropertyIterator) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
+ return this.gotosocialLikeAuthorizationMember
+}
+
+// GetGoToSocialLikeRequest returns the value of this property. When
+// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
+// an arbitrary value.
+func (this ActivityStreamsToPropertyIterator) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
+ return this.gotosocialLikeRequestMember
+}
+
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
// return an arbitrary value.
@@ -933,6 +1003,20 @@ func (this ActivityStreamsToPropertyIterator) GetGoToSocialReplyApproval() vocab
return this.gotosocialReplyApprovalMember
}
+// GetGoToSocialReplyAuthorization returns the value of this property. When
+// IsGoToSocialReplyAuthorization returns false,
+// GetGoToSocialReplyAuthorization will return an arbitrary value.
+func (this ActivityStreamsToPropertyIterator) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
+ return this.gotosocialReplyAuthorizationMember
+}
+
+// GetGoToSocialReplyRequest returns the value of this property. When
+// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
+// return an arbitrary value.
+func (this ActivityStreamsToPropertyIterator) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
+ return this.gotosocialReplyRequestMember
+}
+
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsToPropertyIterator) GetIRI() *url.URL {
@@ -992,6 +1076,12 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval()
}
+ if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization()
+ }
+ if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest()
+ }
if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication()
}
@@ -1076,6 +1166,12 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval()
}
+ if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization()
+ }
+ if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest()
+ }
if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen()
}
@@ -1133,6 +1229,12 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type {
if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval()
}
+ if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization()
+ }
+ if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest()
+ }
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@@ -1177,6 +1279,8 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool {
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
+ this.IsGoToSocialAnnounceAuthorization() ||
+ this.IsGoToSocialAnnounceRequest() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
@@ -1205,6 +1309,8 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool {
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
+ this.IsGoToSocialLikeAuthorization() ||
+ this.IsGoToSocialLikeRequest() ||
this.IsActivityStreamsListen() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsMove() ||
@@ -1224,6 +1330,8 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool {
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsGoToSocialReplyApproval() ||
+ this.IsGoToSocialReplyAuthorization() ||
+ this.IsGoToSocialReplyRequest() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
@@ -1655,6 +1763,21 @@ func (this ActivityStreamsToPropertyIterator) IsGoToSocialAnnounceApproval() boo
return this.gotosocialAnnounceApprovalMember != nil
}
+// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
+// "AnnounceAuthorization". When true, use the
+// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
+// methods to access and set this property.
+func (this ActivityStreamsToPropertyIterator) IsGoToSocialAnnounceAuthorization() bool {
+ return this.gotosocialAnnounceAuthorizationMember != nil
+}
+
+// IsGoToSocialAnnounceRequest returns true if this property has a type of
+// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
+// SetGoToSocialAnnounceRequest methods to access and set this property.
+func (this ActivityStreamsToPropertyIterator) IsGoToSocialAnnounceRequest() bool {
+ return this.gotosocialAnnounceRequestMember != nil
+}
+
// IsGoToSocialLikeApproval returns true if this property has a type of
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
// SetGoToSocialLikeApproval methods to access and set this property.
@@ -1662,6 +1785,20 @@ func (this ActivityStreamsToPropertyIterator) IsGoToSocialLikeApproval() bool {
return this.gotosocialLikeApprovalMember != nil
}
+// IsGoToSocialLikeAuthorization returns true if this property has a type of
+// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
+// SetGoToSocialLikeAuthorization methods to access and set this property.
+func (this ActivityStreamsToPropertyIterator) IsGoToSocialLikeAuthorization() bool {
+ return this.gotosocialLikeAuthorizationMember != nil
+}
+
+// IsGoToSocialLikeRequest returns true if this property has a type of
+// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+// SetGoToSocialLikeRequest methods to access and set this property.
+func (this ActivityStreamsToPropertyIterator) IsGoToSocialLikeRequest() bool {
+ return this.gotosocialLikeRequestMember != nil
+}
+
// IsGoToSocialReplyApproval returns true if this property has a type of
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
// SetGoToSocialReplyApproval methods to access and set this property.
@@ -1669,6 +1806,20 @@ func (this ActivityStreamsToPropertyIterator) IsGoToSocialReplyApproval() bool {
return this.gotosocialReplyApprovalMember != nil
}
+// IsGoToSocialReplyAuthorization returns true if this property has a type of
+// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
+// and SetGoToSocialReplyAuthorization methods to access and set this property.
+func (this ActivityStreamsToPropertyIterator) IsGoToSocialReplyAuthorization() bool {
+ return this.gotosocialReplyAuthorizationMember != nil
+}
+
+// IsGoToSocialReplyRequest returns true if this property has a type of
+// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+// SetGoToSocialReplyRequest methods to access and set this property.
+func (this ActivityStreamsToPropertyIterator) IsGoToSocialReplyRequest() bool {
+ return this.gotosocialReplyRequestMember != nil
+}
+
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsToPropertyIterator) IsIRI() bool {
@@ -1724,6 +1875,10 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
} else if this.IsActivityStreamsApplication() {
child = this.GetActivityStreamsApplication().JSONLDContext()
} else if this.IsActivityStreamsArrive() {
@@ -1780,6 +1935,10 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
child = this.GetGoToSocialLikeApproval().JSONLDContext()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialLikeRequest() {
+ child = this.GetGoToSocialLikeRequest().JSONLDContext()
} else if this.IsActivityStreamsListen() {
child = this.GetActivityStreamsListen().JSONLDContext()
} else if this.IsActivityStreamsMention() {
@@ -1818,6 +1977,10 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsGoToSocialReplyApproval() {
child = this.GetGoToSocialReplyApproval().JSONLDContext()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
+ } else if this.IsGoToSocialReplyRequest() {
+ child = this.GetGoToSocialReplyRequest().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -1878,177 +2041,195 @@ func (this ActivityStreamsToPropertyIterator) KindIndex() int {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
- if this.IsActivityStreamsApplication() {
+ if this.IsGoToSocialAnnounceAuthorization() {
return 8
}
- if this.IsActivityStreamsArrive() {
+ if this.IsGoToSocialAnnounceRequest() {
return 9
}
- if this.IsActivityStreamsArticle() {
+ if this.IsActivityStreamsApplication() {
return 10
}
- if this.IsFunkwhaleArtist() {
+ if this.IsActivityStreamsArrive() {
return 11
}
- if this.IsActivityStreamsAudio() {
+ if this.IsActivityStreamsArticle() {
return 12
}
- if this.IsActivityStreamsBlock() {
+ if this.IsFunkwhaleArtist() {
return 13
}
- if this.IsActivityStreamsCollection() {
+ if this.IsActivityStreamsAudio() {
return 14
}
- if this.IsActivityStreamsCollectionPage() {
+ if this.IsActivityStreamsBlock() {
return 15
}
- if this.IsActivityStreamsCreate() {
+ if this.IsActivityStreamsCollection() {
return 16
}
- if this.IsActivityStreamsDelete() {
+ if this.IsActivityStreamsCollectionPage() {
return 17
}
- if this.IsActivityStreamsDislike() {
+ if this.IsActivityStreamsCreate() {
return 18
}
- if this.IsActivityStreamsDocument() {
+ if this.IsActivityStreamsDelete() {
return 19
}
- if this.IsTootEmoji() {
+ if this.IsActivityStreamsDislike() {
return 20
}
- if this.IsActivityStreamsEvent() {
+ if this.IsActivityStreamsDocument() {
return 21
}
- if this.IsActivityStreamsFlag() {
+ if this.IsTootEmoji() {
return 22
}
- if this.IsActivityStreamsFollow() {
+ if this.IsActivityStreamsEvent() {
return 23
}
- if this.IsActivityStreamsGroup() {
+ if this.IsActivityStreamsFlag() {
return 24
}
- if this.IsTootHashtag() {
+ if this.IsActivityStreamsFollow() {
return 25
}
- if this.IsTootIdentityProof() {
+ if this.IsActivityStreamsGroup() {
return 26
}
- if this.IsActivityStreamsIgnore() {
+ if this.IsTootHashtag() {
return 27
}
- if this.IsActivityStreamsImage() {
+ if this.IsTootIdentityProof() {
return 28
}
- if this.IsActivityStreamsIntransitiveActivity() {
+ if this.IsActivityStreamsIgnore() {
return 29
}
- if this.IsActivityStreamsInvite() {
+ if this.IsActivityStreamsImage() {
return 30
}
- if this.IsActivityStreamsJoin() {
+ if this.IsActivityStreamsIntransitiveActivity() {
return 31
}
- if this.IsActivityStreamsLeave() {
+ if this.IsActivityStreamsInvite() {
return 32
}
- if this.IsFunkwhaleLibrary() {
+ if this.IsActivityStreamsJoin() {
return 33
}
- if this.IsActivityStreamsLike() {
+ if this.IsActivityStreamsLeave() {
return 34
}
- if this.IsGoToSocialLikeApproval() {
+ if this.IsFunkwhaleLibrary() {
return 35
}
- if this.IsActivityStreamsListen() {
+ if this.IsActivityStreamsLike() {
return 36
}
- if this.IsActivityStreamsMention() {
+ if this.IsGoToSocialLikeApproval() {
return 37
}
- if this.IsActivityStreamsMove() {
+ if this.IsGoToSocialLikeAuthorization() {
return 38
}
- if this.IsActivityStreamsNote() {
+ if this.IsGoToSocialLikeRequest() {
return 39
}
- if this.IsActivityStreamsOffer() {
+ if this.IsActivityStreamsListen() {
return 40
}
- if this.IsActivityStreamsOrderedCollection() {
+ if this.IsActivityStreamsMention() {
return 41
}
- if this.IsActivityStreamsOrderedCollectionPage() {
+ if this.IsActivityStreamsMove() {
return 42
}
- if this.IsActivityStreamsOrganization() {
+ if this.IsActivityStreamsNote() {
return 43
}
- if this.IsActivityStreamsPage() {
+ if this.IsActivityStreamsOffer() {
return 44
}
- if this.IsActivityStreamsPerson() {
+ if this.IsActivityStreamsOrderedCollection() {
return 45
}
- if this.IsActivityStreamsPlace() {
+ if this.IsActivityStreamsOrderedCollectionPage() {
return 46
}
- if this.IsActivityStreamsProfile() {
+ if this.IsActivityStreamsOrganization() {
return 47
}
- if this.IsSchemaPropertyValue() {
+ if this.IsActivityStreamsPage() {
return 48
}
- if this.IsActivityStreamsQuestion() {
+ if this.IsActivityStreamsPerson() {
return 49
}
- if this.IsActivityStreamsRead() {
+ if this.IsActivityStreamsPlace() {
return 50
}
- if this.IsActivityStreamsReject() {
+ if this.IsActivityStreamsProfile() {
return 51
}
- if this.IsActivityStreamsRelationship() {
+ if this.IsSchemaPropertyValue() {
return 52
}
- if this.IsActivityStreamsRemove() {
+ if this.IsActivityStreamsQuestion() {
return 53
}
- if this.IsGoToSocialReplyApproval() {
+ if this.IsActivityStreamsRead() {
return 54
}
- if this.IsActivityStreamsService() {
+ if this.IsActivityStreamsReject() {
return 55
}
- if this.IsActivityStreamsTentativeAccept() {
+ if this.IsActivityStreamsRelationship() {
return 56
}
- if this.IsActivityStreamsTentativeReject() {
+ if this.IsActivityStreamsRemove() {
return 57
}
- if this.IsActivityStreamsTombstone() {
+ if this.IsGoToSocialReplyApproval() {
return 58
}
- if this.IsFunkwhaleTrack() {
+ if this.IsGoToSocialReplyAuthorization() {
return 59
}
- if this.IsActivityStreamsTravel() {
+ if this.IsGoToSocialReplyRequest() {
return 60
}
- if this.IsActivityStreamsUndo() {
+ if this.IsActivityStreamsService() {
return 61
}
- if this.IsActivityStreamsUpdate() {
+ if this.IsActivityStreamsTentativeAccept() {
return 62
}
- if this.IsActivityStreamsVideo() {
+ if this.IsActivityStreamsTentativeReject() {
return 63
}
- if this.IsActivityStreamsView() {
+ if this.IsActivityStreamsTombstone() {
return 64
}
+ if this.IsFunkwhaleTrack() {
+ return 65
+ }
+ if this.IsActivityStreamsTravel() {
+ return 66
+ }
+ if this.IsActivityStreamsUndo() {
+ return 67
+ }
+ if this.IsActivityStreamsUpdate() {
+ return 68
+ }
+ if this.IsActivityStreamsVideo() {
+ return 69
+ }
+ if this.IsActivityStreamsView() {
+ return 70
+ }
if this.IsIRI() {
return -2
}
@@ -2082,6 +2263,10 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
} else if this.IsActivityStreamsArrive() {
@@ -2138,6 +2323,10 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
} else if this.IsActivityStreamsMention() {
@@ -2176,6 +2365,10 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
@@ -2642,6 +2835,20 @@ func (this *ActivityStreamsToPropertyIterator) SetGoToSocialAnnounceApproval(v v
this.gotosocialAnnounceApprovalMember = v
}
+// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
+// IsGoToSocialAnnounceAuthorization afterwards returns true.
+func (this *ActivityStreamsToPropertyIterator) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.clear()
+ this.gotosocialAnnounceAuthorizationMember = v
+}
+
+// SetGoToSocialAnnounceRequest sets the value of this property. Calling
+// IsGoToSocialAnnounceRequest afterwards returns true.
+func (this *ActivityStreamsToPropertyIterator) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.clear()
+ this.gotosocialAnnounceRequestMember = v
+}
+
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -2649,6 +2856,20 @@ func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeApproval(v vocab
this.gotosocialLikeApprovalMember = v
}
+// SetGoToSocialLikeAuthorization sets the value of this property. Calling
+// IsGoToSocialLikeAuthorization afterwards returns true.
+func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.clear()
+ this.gotosocialLikeAuthorizationMember = v
+}
+
+// SetGoToSocialLikeRequest sets the value of this property. Calling
+// IsGoToSocialLikeRequest afterwards returns true.
+func (this *ActivityStreamsToPropertyIterator) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.clear()
+ this.gotosocialLikeRequestMember = v
+}
+
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -2656,6 +2877,20 @@ func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyApproval(v voca
this.gotosocialReplyApprovalMember = v
}
+// SetGoToSocialReplyAuthorization sets the value of this property. Calling
+// IsGoToSocialReplyAuthorization afterwards returns true.
+func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.clear()
+ this.gotosocialReplyAuthorizationMember = v
+}
+
+// SetGoToSocialReplyRequest sets the value of this property. Calling
+// IsGoToSocialReplyRequest afterwards returns true.
+func (this *ActivityStreamsToPropertyIterator) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.clear()
+ this.gotosocialReplyRequestMember = v
+}
+
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsToPropertyIterator) SetIRI(v *url.URL) {
this.clear()
@@ -2725,6 +2960,14 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialAnnounceApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
+ this.SetGoToSocialAnnounceAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
+ this.SetGoToSocialAnnounceRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
this.SetActivityStreamsApplication(v)
return nil
@@ -2837,6 +3080,14 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialLikeApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
+ this.SetGoToSocialLikeAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
+ this.SetGoToSocialLikeRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsListen); ok {
this.SetActivityStreamsListen(v)
return nil
@@ -2913,6 +3164,14 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error {
this.SetGoToSocialReplyApproval(v)
return nil
}
+ if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
+ this.SetGoToSocialReplyAuthorization(v)
+ return nil
+ }
+ if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
+ this.SetGoToSocialReplyRequest(v)
+ return nil
+ }
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@@ -2968,6 +3227,8 @@ func (this *ActivityStreamsToPropertyIterator) clear() {
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
+ this.gotosocialAnnounceAuthorizationMember = nil
+ this.gotosocialAnnounceRequestMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
@@ -2996,6 +3257,8 @@ func (this *ActivityStreamsToPropertyIterator) clear() {
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
+ this.gotosocialLikeAuthorizationMember = nil
+ this.gotosocialLikeRequestMember = nil
this.activitystreamsListenMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsMoveMember = nil
@@ -3015,6 +3278,8 @@ func (this *ActivityStreamsToPropertyIterator) clear() {
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.gotosocialReplyApprovalMember = nil
+ this.gotosocialReplyAuthorizationMember = nil
+ this.gotosocialReplyRequestMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
@@ -3050,6 +3315,10 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
return this.GetGoToSocialAnnounceApproval().Serialize()
+ } else if this.IsGoToSocialAnnounceAuthorization() {
+ return this.GetGoToSocialAnnounceAuthorization().Serialize()
+ } else if this.IsGoToSocialAnnounceRequest() {
+ return this.GetGoToSocialAnnounceRequest().Serialize()
} else if this.IsActivityStreamsApplication() {
return this.GetActivityStreamsApplication().Serialize()
} else if this.IsActivityStreamsArrive() {
@@ -3106,6 +3375,10 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
return this.GetGoToSocialLikeApproval().Serialize()
+ } else if this.IsGoToSocialLikeAuthorization() {
+ return this.GetGoToSocialLikeAuthorization().Serialize()
+ } else if this.IsGoToSocialLikeRequest() {
+ return this.GetGoToSocialLikeRequest().Serialize()
} else if this.IsActivityStreamsListen() {
return this.GetActivityStreamsListen().Serialize()
} else if this.IsActivityStreamsMention() {
@@ -3144,6 +3417,10 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) {
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsGoToSocialReplyApproval() {
return this.GetGoToSocialReplyApproval().Serialize()
+ } else if this.IsGoToSocialReplyAuthorization() {
+ return this.GetGoToSocialReplyAuthorization().Serialize()
+ } else if this.IsGoToSocialReplyRequest() {
+ return this.GetGoToSocialReplyRequest().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
@@ -3885,6 +4162,30 @@ func (this *ActivityStreamsToProperty) AppendGoToSocialAnnounceApproval(v vocab.
})
}
+// AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization value to
+// the back of a list of the property "to". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsToProperty) AppendGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the back of
+// a list of the property "to". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsToProperty) AppendGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialLikeApproval appends a LikeApproval value to the back of a list
// of the property "to". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsToProperty) AppendGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -3896,6 +4197,29 @@ func (this *ActivityStreamsToProperty) AppendGoToSocialLikeApproval(v vocab.GoTo
})
}
+// AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to the back
+// of a list of the property "to". Invalidates iterators that are traversing
+// using Prev.
+func (this *ActivityStreamsToProperty) AppendGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialLikeRequest appends a LikeRequest value to the back of a list
+// of the property "to". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsToProperty) AppendGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendGoToSocialReplyApproval appends a ReplyApproval value to the back of a
// list of the property "to". Invalidates iterators that are traversing using
// Prev.
@@ -3908,6 +4232,29 @@ func (this *ActivityStreamsToProperty) AppendGoToSocialReplyApproval(v vocab.GoT
})
}
+// AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value to the
+// back of a list of the property "to". Invalidates iterators that are
+// traversing using Prev.
+func (this *ActivityStreamsToProperty) AppendGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendGoToSocialReplyRequest appends a ReplyRequest value to the back of a list
+// of the property "to". Invalidates iterators that are traversing using Prev.
+func (this *ActivityStreamsToProperty) AppendGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
// AppendIRI appends an IRI value to the back of a list of the property "to"
func (this *ActivityStreamsToProperty) AppendIRI(v *url.URL) {
this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{
@@ -5010,6 +5357,40 @@ func (this *ActivityStreamsToProperty) InsertGoToSocialAnnounceApproval(idx int,
}
}
+// InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization value at
+// the specified index for a property "to". Existing elements at that index
+// and higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) InsertGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+// specified index for a property "to". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) InsertGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialLikeApproval inserts a LikeApproval value at the specified
// index for a property "to". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5027,6 +5408,40 @@ func (this *ActivityStreamsToProperty) InsertGoToSocialLikeApproval(idx int, v v
}
}
+// InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at the
+// specified index for a property "to". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) InsertGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialLikeRequest inserts a LikeRequest value at the specified index
+// for a property "to". Existing elements at that index and higher are shifted
+// back once. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) InsertGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// InsertGoToSocialReplyApproval inserts a ReplyApproval value at the specified
// index for a property "to". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
@@ -5044,6 +5459,40 @@ func (this *ActivityStreamsToProperty) InsertGoToSocialReplyApproval(idx int, v
}
}
+// InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value at the
+// specified index for a property "to". Existing elements at that index and
+// higher are shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) InsertGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertGoToSocialReplyRequest inserts a ReplyRequest value at the specified
+// index for a property "to". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) InsertGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// Insert inserts an IRI value at the specified index for a property "to".
// Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
@@ -5223,230 +5672,254 @@ func (this ActivityStreamsToProperty) Less(i, j int) bool {
rhs := this.properties[j].GetGoToSocialAnnounceApproval()
return lhs.LessThan(rhs)
} else if idx1 == 8 {
+ lhs := this.properties[i].GetGoToSocialAnnounceAuthorization()
+ rhs := this.properties[j].GetGoToSocialAnnounceAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 9 {
+ lhs := this.properties[i].GetGoToSocialAnnounceRequest()
+ rhs := this.properties[j].GetGoToSocialAnnounceRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 10 {
lhs := this.properties[i].GetActivityStreamsApplication()
rhs := this.properties[j].GetActivityStreamsApplication()
return lhs.LessThan(rhs)
- } else if idx1 == 9 {
+ } else if idx1 == 11 {
lhs := this.properties[i].GetActivityStreamsArrive()
rhs := this.properties[j].GetActivityStreamsArrive()
return lhs.LessThan(rhs)
- } else if idx1 == 10 {
+ } else if idx1 == 12 {
lhs := this.properties[i].GetActivityStreamsArticle()
rhs := this.properties[j].GetActivityStreamsArticle()
return lhs.LessThan(rhs)
- } else if idx1 == 11 {
+ } else if idx1 == 13 {
lhs := this.properties[i].GetFunkwhaleArtist()
rhs := this.properties[j].GetFunkwhaleArtist()
return lhs.LessThan(rhs)
- } else if idx1 == 12 {
+ } else if idx1 == 14 {
lhs := this.properties[i].GetActivityStreamsAudio()
rhs := this.properties[j].GetActivityStreamsAudio()
return lhs.LessThan(rhs)
- } else if idx1 == 13 {
+ } else if idx1 == 15 {
lhs := this.properties[i].GetActivityStreamsBlock()
rhs := this.properties[j].GetActivityStreamsBlock()
return lhs.LessThan(rhs)
- } else if idx1 == 14 {
+ } else if idx1 == 16 {
lhs := this.properties[i].GetActivityStreamsCollection()
rhs := this.properties[j].GetActivityStreamsCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 15 {
+ } else if idx1 == 17 {
lhs := this.properties[i].GetActivityStreamsCollectionPage()
rhs := this.properties[j].GetActivityStreamsCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 16 {
+ } else if idx1 == 18 {
lhs := this.properties[i].GetActivityStreamsCreate()
rhs := this.properties[j].GetActivityStreamsCreate()
return lhs.LessThan(rhs)
- } else if idx1 == 17 {
+ } else if idx1 == 19 {
lhs := this.properties[i].GetActivityStreamsDelete()
rhs := this.properties[j].GetActivityStreamsDelete()
return lhs.LessThan(rhs)
- } else if idx1 == 18 {
+ } else if idx1 == 20 {
lhs := this.properties[i].GetActivityStreamsDislike()
rhs := this.properties[j].GetActivityStreamsDislike()
return lhs.LessThan(rhs)
- } else if idx1 == 19 {
+ } else if idx1 == 21 {
lhs := this.properties[i].GetActivityStreamsDocument()
rhs := this.properties[j].GetActivityStreamsDocument()
return lhs.LessThan(rhs)
- } else if idx1 == 20 {
+ } else if idx1 == 22 {
lhs := this.properties[i].GetTootEmoji()
rhs := this.properties[j].GetTootEmoji()
return lhs.LessThan(rhs)
- } else if idx1 == 21 {
+ } else if idx1 == 23 {
lhs := this.properties[i].GetActivityStreamsEvent()
rhs := this.properties[j].GetActivityStreamsEvent()
return lhs.LessThan(rhs)
- } else if idx1 == 22 {
+ } else if idx1 == 24 {
lhs := this.properties[i].GetActivityStreamsFlag()
rhs := this.properties[j].GetActivityStreamsFlag()
return lhs.LessThan(rhs)
- } else if idx1 == 23 {
+ } else if idx1 == 25 {
lhs := this.properties[i].GetActivityStreamsFollow()
rhs := this.properties[j].GetActivityStreamsFollow()
return lhs.LessThan(rhs)
- } else if idx1 == 24 {
+ } else if idx1 == 26 {
lhs := this.properties[i].GetActivityStreamsGroup()
rhs := this.properties[j].GetActivityStreamsGroup()
return lhs.LessThan(rhs)
- } else if idx1 == 25 {
+ } else if idx1 == 27 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
- } else if idx1 == 26 {
+ } else if idx1 == 28 {
lhs := this.properties[i].GetTootIdentityProof()
rhs := this.properties[j].GetTootIdentityProof()
return lhs.LessThan(rhs)
- } else if idx1 == 27 {
+ } else if idx1 == 29 {
lhs := this.properties[i].GetActivityStreamsIgnore()
rhs := this.properties[j].GetActivityStreamsIgnore()
return lhs.LessThan(rhs)
- } else if idx1 == 28 {
+ } else if idx1 == 30 {
lhs := this.properties[i].GetActivityStreamsImage()
rhs := this.properties[j].GetActivityStreamsImage()
return lhs.LessThan(rhs)
- } else if idx1 == 29 {
+ } else if idx1 == 31 {
lhs := this.properties[i].GetActivityStreamsIntransitiveActivity()
rhs := this.properties[j].GetActivityStreamsIntransitiveActivity()
return lhs.LessThan(rhs)
- } else if idx1 == 30 {
+ } else if idx1 == 32 {
lhs := this.properties[i].GetActivityStreamsInvite()
rhs := this.properties[j].GetActivityStreamsInvite()
return lhs.LessThan(rhs)
- } else if idx1 == 31 {
+ } else if idx1 == 33 {
lhs := this.properties[i].GetActivityStreamsJoin()
rhs := this.properties[j].GetActivityStreamsJoin()
return lhs.LessThan(rhs)
- } else if idx1 == 32 {
+ } else if idx1 == 34 {
lhs := this.properties[i].GetActivityStreamsLeave()
rhs := this.properties[j].GetActivityStreamsLeave()
return lhs.LessThan(rhs)
- } else if idx1 == 33 {
+ } else if idx1 == 35 {
lhs := this.properties[i].GetFunkwhaleLibrary()
rhs := this.properties[j].GetFunkwhaleLibrary()
return lhs.LessThan(rhs)
- } else if idx1 == 34 {
+ } else if idx1 == 36 {
lhs := this.properties[i].GetActivityStreamsLike()
rhs := this.properties[j].GetActivityStreamsLike()
return lhs.LessThan(rhs)
- } else if idx1 == 35 {
+ } else if idx1 == 37 {
lhs := this.properties[i].GetGoToSocialLikeApproval()
rhs := this.properties[j].GetGoToSocialLikeApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 36 {
+ } else if idx1 == 38 {
+ lhs := this.properties[i].GetGoToSocialLikeAuthorization()
+ rhs := this.properties[j].GetGoToSocialLikeAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 39 {
+ lhs := this.properties[i].GetGoToSocialLikeRequest()
+ rhs := this.properties[j].GetGoToSocialLikeRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 40 {
lhs := this.properties[i].GetActivityStreamsListen()
rhs := this.properties[j].GetActivityStreamsListen()
return lhs.LessThan(rhs)
- } else if idx1 == 37 {
+ } else if idx1 == 41 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
- } else if idx1 == 38 {
+ } else if idx1 == 42 {
lhs := this.properties[i].GetActivityStreamsMove()
rhs := this.properties[j].GetActivityStreamsMove()
return lhs.LessThan(rhs)
- } else if idx1 == 39 {
+ } else if idx1 == 43 {
lhs := this.properties[i].GetActivityStreamsNote()
rhs := this.properties[j].GetActivityStreamsNote()
return lhs.LessThan(rhs)
- } else if idx1 == 40 {
+ } else if idx1 == 44 {
lhs := this.properties[i].GetActivityStreamsOffer()
rhs := this.properties[j].GetActivityStreamsOffer()
return lhs.LessThan(rhs)
- } else if idx1 == 41 {
+ } else if idx1 == 45 {
lhs := this.properties[i].GetActivityStreamsOrderedCollection()
rhs := this.properties[j].GetActivityStreamsOrderedCollection()
return lhs.LessThan(rhs)
- } else if idx1 == 42 {
+ } else if idx1 == 46 {
lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage()
rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage()
return lhs.LessThan(rhs)
- } else if idx1 == 43 {
+ } else if idx1 == 47 {
lhs := this.properties[i].GetActivityStreamsOrganization()
rhs := this.properties[j].GetActivityStreamsOrganization()
return lhs.LessThan(rhs)
- } else if idx1 == 44 {
+ } else if idx1 == 48 {
lhs := this.properties[i].GetActivityStreamsPage()
rhs := this.properties[j].GetActivityStreamsPage()
return lhs.LessThan(rhs)
- } else if idx1 == 45 {
+ } else if idx1 == 49 {
lhs := this.properties[i].GetActivityStreamsPerson()
rhs := this.properties[j].GetActivityStreamsPerson()
return lhs.LessThan(rhs)
- } else if idx1 == 46 {
+ } else if idx1 == 50 {
lhs := this.properties[i].GetActivityStreamsPlace()
rhs := this.properties[j].GetActivityStreamsPlace()
return lhs.LessThan(rhs)
- } else if idx1 == 47 {
+ } else if idx1 == 51 {
lhs := this.properties[i].GetActivityStreamsProfile()
rhs := this.properties[j].GetActivityStreamsProfile()
return lhs.LessThan(rhs)
- } else if idx1 == 48 {
+ } else if idx1 == 52 {
lhs := this.properties[i].GetSchemaPropertyValue()
rhs := this.properties[j].GetSchemaPropertyValue()
return lhs.LessThan(rhs)
- } else if idx1 == 49 {
+ } else if idx1 == 53 {
lhs := this.properties[i].GetActivityStreamsQuestion()
rhs := this.properties[j].GetActivityStreamsQuestion()
return lhs.LessThan(rhs)
- } else if idx1 == 50 {
+ } else if idx1 == 54 {
lhs := this.properties[i].GetActivityStreamsRead()
rhs := this.properties[j].GetActivityStreamsRead()
return lhs.LessThan(rhs)
- } else if idx1 == 51 {
+ } else if idx1 == 55 {
lhs := this.properties[i].GetActivityStreamsReject()
rhs := this.properties[j].GetActivityStreamsReject()
return lhs.LessThan(rhs)
- } else if idx1 == 52 {
+ } else if idx1 == 56 {
lhs := this.properties[i].GetActivityStreamsRelationship()
rhs := this.properties[j].GetActivityStreamsRelationship()
return lhs.LessThan(rhs)
- } else if idx1 == 53 {
+ } else if idx1 == 57 {
lhs := this.properties[i].GetActivityStreamsRemove()
rhs := this.properties[j].GetActivityStreamsRemove()
return lhs.LessThan(rhs)
- } else if idx1 == 54 {
+ } else if idx1 == 58 {
lhs := this.properties[i].GetGoToSocialReplyApproval()
rhs := this.properties[j].GetGoToSocialReplyApproval()
return lhs.LessThan(rhs)
- } else if idx1 == 55 {
+ } else if idx1 == 59 {
+ lhs := this.properties[i].GetGoToSocialReplyAuthorization()
+ rhs := this.properties[j].GetGoToSocialReplyAuthorization()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 60 {
+ lhs := this.properties[i].GetGoToSocialReplyRequest()
+ rhs := this.properties[j].GetGoToSocialReplyRequest()
+ return lhs.LessThan(rhs)
+ } else if idx1 == 61 {
lhs := this.properties[i].GetActivityStreamsService()
rhs := this.properties[j].GetActivityStreamsService()
return lhs.LessThan(rhs)
- } else if idx1 == 56 {
+ } else if idx1 == 62 {
lhs := this.properties[i].GetActivityStreamsTentativeAccept()
rhs := this.properties[j].GetActivityStreamsTentativeAccept()
return lhs.LessThan(rhs)
- } else if idx1 == 57 {
+ } else if idx1 == 63 {
lhs := this.properties[i].GetActivityStreamsTentativeReject()
rhs := this.properties[j].GetActivityStreamsTentativeReject()
return lhs.LessThan(rhs)
- } else if idx1 == 58 {
+ } else if idx1 == 64 {
lhs := this.properties[i].GetActivityStreamsTombstone()
rhs := this.properties[j].GetActivityStreamsTombstone()
return lhs.LessThan(rhs)
- } else if idx1 == 59 {
+ } else if idx1 == 65 {
lhs := this.properties[i].GetFunkwhaleTrack()
rhs := this.properties[j].GetFunkwhaleTrack()
return lhs.LessThan(rhs)
- } else if idx1 == 60 {
+ } else if idx1 == 66 {
lhs := this.properties[i].GetActivityStreamsTravel()
rhs := this.properties[j].GetActivityStreamsTravel()
return lhs.LessThan(rhs)
- } else if idx1 == 61 {
+ } else if idx1 == 67 {
lhs := this.properties[i].GetActivityStreamsUndo()
rhs := this.properties[j].GetActivityStreamsUndo()
return lhs.LessThan(rhs)
- } else if idx1 == 62 {
+ } else if idx1 == 68 {
lhs := this.properties[i].GetActivityStreamsUpdate()
rhs := this.properties[j].GetActivityStreamsUpdate()
return lhs.LessThan(rhs)
- } else if idx1 == 63 {
+ } else if idx1 == 69 {
lhs := this.properties[i].GetActivityStreamsVideo()
rhs := this.properties[j].GetActivityStreamsVideo()
return lhs.LessThan(rhs)
- } else if idx1 == 64 {
+ } else if idx1 == 70 {
lhs := this.properties[i].GetActivityStreamsView()
rhs := this.properties[j].GetActivityStreamsView()
return lhs.LessThan(rhs)
@@ -6317,6 +6790,34 @@ func (this *ActivityStreamsToProperty) PrependGoToSocialAnnounceApproval(v vocab
}
}
+// PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization value
+// to the front of a list of the property "to". Invalidates all iterators.
+func (this *ActivityStreamsToProperty) PrependGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
+ this.properties = append([]*ActivityStreamsToPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to the front
+// of a list of the property "to". Invalidates all iterators.
+func (this *ActivityStreamsToProperty) PrependGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
+ this.properties = append([]*ActivityStreamsToPropertyIterator{{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the front of a
// list of the property "to". Invalidates all iterators.
func (this *ActivityStreamsToProperty) PrependGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
@@ -6331,6 +6832,34 @@ func (this *ActivityStreamsToProperty) PrependGoToSocialLikeApproval(v vocab.GoT
}
}
+// PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value to the
+// front of a list of the property "to". Invalidates all iterators.
+func (this *ActivityStreamsToProperty) PrependGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
+ this.properties = append([]*ActivityStreamsToPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialLikeRequest prepends a LikeRequest value to the front of a
+// list of the property "to". Invalidates all iterators.
+func (this *ActivityStreamsToProperty) PrependGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
+ this.properties = append([]*ActivityStreamsToPropertyIterator{{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the front of a
// list of the property "to". Invalidates all iterators.
func (this *ActivityStreamsToProperty) PrependGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
@@ -6345,6 +6874,34 @@ func (this *ActivityStreamsToProperty) PrependGoToSocialReplyApproval(v vocab.Go
}
}
+// PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value to the
+// front of a list of the property "to". Invalidates all iterators.
+func (this *ActivityStreamsToProperty) PrependGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
+ this.properties = append([]*ActivityStreamsToPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependGoToSocialReplyRequest prepends a ReplyRequest value to the front of a
+// list of the property "to". Invalidates all iterators.
+func (this *ActivityStreamsToProperty) PrependGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
+ this.properties = append([]*ActivityStreamsToPropertyIterator{{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
// PrependIRI prepends an IRI value to the front of a list of the property "to".
func (this *ActivityStreamsToProperty) PrependIRI(v *url.URL) {
this.properties = append([]*ActivityStreamsToPropertyIterator{{
@@ -7233,6 +7790,32 @@ func (this *ActivityStreamsToProperty) SetGoToSocialAnnounceApproval(idx int, v
}
}
+// SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value to be at
+// the specified index for the property "to". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) SetGoToSocialAnnounceAuthorization(idx int, v vocab.GoToSocialAnnounceAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+// specified index for the property "to". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) SetGoToSocialAnnounceRequest(idx int, v vocab.GoToSocialAnnounceRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialAnnounceRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialLikeApproval sets a LikeApproval value to be at the specified
// index for the property "to". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7246,6 +7829,32 @@ func (this *ActivityStreamsToProperty) SetGoToSocialLikeApproval(idx int, v voca
}
}
+// SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at the
+// specified index for the property "to". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) SetGoToSocialLikeAuthorization(idx int, v vocab.GoToSocialLikeAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialLikeRequest sets a LikeRequest value to be at the specified index
+// for the property "to". Panics if the index is out of bounds. Invalidates
+// all iterators.
+func (this *ActivityStreamsToProperty) SetGoToSocialLikeRequest(idx int, v vocab.GoToSocialLikeRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialLikeRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetGoToSocialReplyApproval sets a ReplyApproval value to be at the specified
// index for the property "to". Panics if the index is out of bounds.
// Invalidates all iterators.
@@ -7259,6 +7868,32 @@ func (this *ActivityStreamsToProperty) SetGoToSocialReplyApproval(idx int, v voc
}
}
+// SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be at the
+// specified index for the property "to". Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *ActivityStreamsToProperty) SetGoToSocialReplyAuthorization(idx int, v vocab.GoToSocialReplyAuthorization) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyAuthorizationMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetGoToSocialReplyRequest sets a ReplyRequest value to be at the specified
+// index for the property "to". Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *ActivityStreamsToProperty) SetGoToSocialReplyRequest(idx int, v vocab.GoToSocialReplyRequest) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &ActivityStreamsToPropertyIterator{
+ alias: this.alias,
+ gotosocialReplyRequestMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
// SetIRI sets an IRI value to be at the specified index for the property "to".
// Panics if the index is out of bounds.
func (this *ActivityStreamsToProperty) SetIRI(idx int, v *url.URL) {
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go
index 00f8acaa5..dd1b8e6de 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go
@@ -88,7 +88,7 @@ func ActivityIsDisjointWith(other vocab.Type) bool {
// Activity type. Note that it returns false if the types are the same; see
// the "IsOrExtendsActivity" variant instead.
func ActivityIsExtendedBy(other vocab.Type) bool {
- extensions := []string{"Accept", "Add", "Announce", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
+ extensions := []string{"Accept", "Add", "Announce", "AnnounceRequest", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeRequest", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "ReplyRequest", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
for _, ext := range extensions {
if ext == other.GetTypeName() {
return true
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go
index 7fb8998c6..9c00e24f3 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go
@@ -104,6 +104,10 @@ type privateManager interface {
// method for the "ActivityStreamsInboxProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
+ // DeserializeIndexablePropertyToot returns the deserialization method for
+ // the "TootIndexableProperty" non-functional property in the
+ // vocabulary "Toot"
+ DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
// DeserializeLikedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLikedProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go
index 92550fa6e..ad21cd307 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go
@@ -40,6 +40,7 @@ type ActivityStreamsApplication struct {
ActivityStreamsImage vocab.ActivityStreamsImageProperty
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
+ TootIndexable vocab.TootIndexableProperty
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
@@ -253,6 +254,11 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
} else if p != nil {
this.ActivityStreamsInbox = p
}
+ if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.TootIndexable = p
+ }
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -431,6 +437,8 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
continue
} else if k == "inbox" {
continue
+ } else if k == "indexable" {
+ continue
} else if k == "liked" {
continue
} else if k == "likes" {
@@ -793,6 +801,12 @@ func (this ActivityStreamsApplication) GetTootFeatured() vocab.TootFeaturedPrope
return this.TootFeatured
}
+// GetTootIndexable returns the "indexable" property if it exists, and nil
+// otherwise.
+func (this ActivityStreamsApplication) GetTootIndexable() vocab.TootIndexableProperty {
+ return this.TootIndexable
+}
+
// GetTypeName returns the name of this type.
func (this ActivityStreamsApplication) GetTypeName() string {
return "Application"
@@ -847,6 +861,7 @@ func (this ActivityStreamsApplication) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
+ m = this.helperJSONLDContext(this.TootIndexable, m)
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
@@ -1202,6 +1217,20 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "indexable"
+ if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
// Compare property "liked"
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1759,6 +1788,14 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro
m[this.ActivityStreamsInbox.Name()] = i
}
}
+ // Maybe serialize property "indexable"
+ if this.TootIndexable != nil {
+ if i, err := this.TootIndexable.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.TootIndexable.Name()] = i
+ }
+ }
// Maybe serialize property "liked"
if this.ActivityStreamsLiked != nil {
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
@@ -2209,6 +2246,11 @@ func (this *ActivityStreamsApplication) SetTootFeatured(i vocab.TootFeaturedProp
this.TootFeatured = i
}
+// SetTootIndexable sets the "indexable" property.
+func (this *ActivityStreamsApplication) SetTootIndexable(i vocab.TootIndexableProperty) {
+ this.TootIndexable = i
+}
+
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
func (this *ActivityStreamsApplication) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
this.W3IDSecurityV1PublicKey = i
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go
index 649e13d05..017cd65be 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go
@@ -64,6 +64,10 @@ type privateManager interface {
// method for the "ActivityStreamsEndTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
+ // DeserializeFocalPointPropertyToot returns the deserialization method
+ // for the "TootFocalPointProperty" non-functional property in the
+ // vocabulary "Toot"
+ DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go
index df38202ed..ea8e5d61b 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go
@@ -35,6 +35,7 @@ type ActivityStreamsAudio struct {
ActivityStreamsContext vocab.ActivityStreamsContextProperty
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
+ TootFocalPoint vocab.TootFocalPointProperty
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
JSONLDId vocab.JSONLDIdProperty
@@ -197,6 +198,11 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac
} else if p != nil {
this.ActivityStreamsEndTime = p
}
+ if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.TootFocalPoint = p
+ }
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -350,6 +356,8 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac
continue
} else if k == "endTime" {
continue
+ } else if k == "focalPoint" {
+ continue
} else if k == "generator" {
continue
} else if k == "icon" {
@@ -648,6 +656,12 @@ func (this ActivityStreamsAudio) GetTootBlurhash() vocab.TootBlurhashProperty {
return this.TootBlurhash
}
+// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
+// otherwise.
+func (this ActivityStreamsAudio) GetTootFocalPoint() vocab.TootFocalPointProperty {
+ return this.TootFocalPoint
+}
+
// GetTypeName returns the name of this type.
func (this ActivityStreamsAudio) GetTypeName() string {
return "Audio"
@@ -686,6 +700,7 @@ func (this ActivityStreamsAudio) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
+ m = this.helperJSONLDContext(this.TootFocalPoint, m)
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
@@ -900,6 +915,20 @@ func (this ActivityStreamsAudio) LessThan(o vocab.ActivityStreamsAudio) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "focalPoint"
+ if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
// Compare property "generator"
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1363,6 +1392,14 @@ func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsEndTime.Name()] = i
}
}
+ // Maybe serialize property "focalPoint"
+ if this.TootFocalPoint != nil {
+ if i, err := this.TootFocalPoint.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.TootFocalPoint.Name()] = i
+ }
+ }
// Maybe serialize property "generator"
if this.ActivityStreamsGenerator != nil {
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
@@ -1754,6 +1791,11 @@ func (this *ActivityStreamsAudio) SetTootBlurhash(i vocab.TootBlurhashProperty)
this.TootBlurhash = i
}
+// SetTootFocalPoint sets the "focalPoint" property.
+func (this *ActivityStreamsAudio) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
+ this.TootFocalPoint = i
+}
+
// VocabularyURI returns the vocabulary's URI as a string.
func (this ActivityStreamsAudio) VocabularyURI() string {
return "https://www.w3.org/ns/activitystreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go
index c36d68080..aafe2e5b2 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go
@@ -64,6 +64,10 @@ type privateManager interface {
// method for the "ActivityStreamsEndTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
+ // DeserializeFocalPointPropertyToot returns the deserialization method
+ // for the "TootFocalPointProperty" non-functional property in the
+ // vocabulary "Toot"
+ DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go
index ed7d701fe..5fdc732e7 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go
@@ -31,6 +31,7 @@ type ActivityStreamsDocument struct {
ActivityStreamsContext vocab.ActivityStreamsContextProperty
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
+ TootFocalPoint vocab.TootFocalPointProperty
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
JSONLDId vocab.JSONLDIdProperty
@@ -173,6 +174,11 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) (
} else if p != nil {
this.ActivityStreamsEndTime = p
}
+ if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.TootFocalPoint = p
+ }
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -326,6 +332,8 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) (
continue
} else if k == "endTime" {
continue
+ } else if k == "focalPoint" {
+ continue
} else if k == "generator" {
continue
} else if k == "icon" {
@@ -649,6 +657,12 @@ func (this ActivityStreamsDocument) GetTootBlurhash() vocab.TootBlurhashProperty
return this.TootBlurhash
}
+// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
+// otherwise.
+func (this ActivityStreamsDocument) GetTootFocalPoint() vocab.TootFocalPointProperty {
+ return this.TootFocalPoint
+}
+
// GetTypeName returns the name of this type.
func (this ActivityStreamsDocument) GetTypeName() string {
return "Document"
@@ -687,6 +701,7 @@ func (this ActivityStreamsDocument) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
+ m = this.helperJSONLDContext(this.TootFocalPoint, m)
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
@@ -901,6 +916,20 @@ func (this ActivityStreamsDocument) LessThan(o vocab.ActivityStreamsDocument) bo
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "focalPoint"
+ if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
// Compare property "generator"
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1364,6 +1393,14 @@ func (this ActivityStreamsDocument) Serialize() (map[string]interface{}, error)
m[this.ActivityStreamsEndTime.Name()] = i
}
}
+ // Maybe serialize property "focalPoint"
+ if this.TootFocalPoint != nil {
+ if i, err := this.TootFocalPoint.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.TootFocalPoint.Name()] = i
+ }
+ }
// Maybe serialize property "generator"
if this.ActivityStreamsGenerator != nil {
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
@@ -1755,6 +1792,11 @@ func (this *ActivityStreamsDocument) SetTootBlurhash(i vocab.TootBlurhashPropert
this.TootBlurhash = i
}
+// SetTootFocalPoint sets the "focalPoint" property.
+func (this *ActivityStreamsDocument) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
+ this.TootFocalPoint = i
+}
+
// VocabularyURI returns the vocabulary's URI as a string.
func (this ActivityStreamsDocument) VocabularyURI() string {
return "https://www.w3.org/ns/activitystreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go
index 41a90ead5..1b80a5f34 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go
@@ -104,6 +104,10 @@ type privateManager interface {
// method for the "ActivityStreamsInboxProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
+ // DeserializeIndexablePropertyToot returns the deserialization method for
+ // the "TootIndexableProperty" non-functional property in the
+ // vocabulary "Toot"
+ DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
// DeserializeLikedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLikedProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go
index a488ddde8..8e7e9d883 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go
@@ -40,6 +40,7 @@ type ActivityStreamsGroup struct {
ActivityStreamsImage vocab.ActivityStreamsImageProperty
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
+ TootIndexable vocab.TootIndexableProperty
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
@@ -233,6 +234,11 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac
} else if p != nil {
this.ActivityStreamsInbox = p
}
+ if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.TootIndexable = p
+ }
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -411,6 +417,8 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac
continue
} else if k == "inbox" {
continue
+ } else if k == "indexable" {
+ continue
} else if k == "liked" {
continue
} else if k == "likes" {
@@ -793,6 +801,12 @@ func (this ActivityStreamsGroup) GetTootFeatured() vocab.TootFeaturedProperty {
return this.TootFeatured
}
+// GetTootIndexable returns the "indexable" property if it exists, and nil
+// otherwise.
+func (this ActivityStreamsGroup) GetTootIndexable() vocab.TootIndexableProperty {
+ return this.TootIndexable
+}
+
// GetTypeName returns the name of this type.
func (this ActivityStreamsGroup) GetTypeName() string {
return "Group"
@@ -847,6 +861,7 @@ func (this ActivityStreamsGroup) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
+ m = this.helperJSONLDContext(this.TootIndexable, m)
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
@@ -1202,6 +1217,20 @@ func (this ActivityStreamsGroup) LessThan(o vocab.ActivityStreamsGroup) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "indexable"
+ if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
// Compare property "liked"
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1759,6 +1788,14 @@ func (this ActivityStreamsGroup) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsInbox.Name()] = i
}
}
+ // Maybe serialize property "indexable"
+ if this.TootIndexable != nil {
+ if i, err := this.TootIndexable.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.TootIndexable.Name()] = i
+ }
+ }
// Maybe serialize property "liked"
if this.ActivityStreamsLiked != nil {
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
@@ -2209,6 +2246,11 @@ func (this *ActivityStreamsGroup) SetTootFeatured(i vocab.TootFeaturedProperty)
this.TootFeatured = i
}
+// SetTootIndexable sets the "indexable" property.
+func (this *ActivityStreamsGroup) SetTootIndexable(i vocab.TootIndexableProperty) {
+ this.TootIndexable = i
+}
+
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
func (this *ActivityStreamsGroup) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
this.W3IDSecurityV1PublicKey = i
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go
index cd8b58fb2..f10004083 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go
@@ -64,6 +64,10 @@ type privateManager interface {
// method for the "ActivityStreamsEndTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
+ // DeserializeFocalPointPropertyToot returns the deserialization method
+ // for the "TootFocalPointProperty" non-functional property in the
+ // vocabulary "Toot"
+ DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go
index 00a22c403..af9bd1833 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go
@@ -42,6 +42,7 @@ type ActivityStreamsImage struct {
ActivityStreamsContext vocab.ActivityStreamsContextProperty
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
+ TootFocalPoint vocab.TootFocalPointProperty
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
ActivityStreamsHeight vocab.ActivityStreamsHeightProperty
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
@@ -186,6 +187,11 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac
} else if p != nil {
this.ActivityStreamsEndTime = p
}
+ if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.TootFocalPoint = p
+ }
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -349,6 +355,8 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac
continue
} else if k == "endTime" {
continue
+ } else if k == "focalPoint" {
+ continue
} else if k == "generator" {
continue
} else if k == "height" {
@@ -683,6 +691,12 @@ func (this ActivityStreamsImage) GetTootBlurhash() vocab.TootBlurhashProperty {
return this.TootBlurhash
}
+// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
+// otherwise.
+func (this ActivityStreamsImage) GetTootFocalPoint() vocab.TootFocalPointProperty {
+ return this.TootFocalPoint
+}
+
// GetTypeName returns the name of this type.
func (this ActivityStreamsImage) GetTypeName() string {
return "Image"
@@ -721,6 +735,7 @@ func (this ActivityStreamsImage) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
+ m = this.helperJSONLDContext(this.TootFocalPoint, m)
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
m = this.helperJSONLDContext(this.ActivityStreamsHeight, m)
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
@@ -937,6 +952,20 @@ func (this ActivityStreamsImage) LessThan(o vocab.ActivityStreamsImage) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "focalPoint"
+ if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
// Compare property "generator"
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1428,6 +1457,14 @@ func (this ActivityStreamsImage) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsEndTime.Name()] = i
}
}
+ // Maybe serialize property "focalPoint"
+ if this.TootFocalPoint != nil {
+ if i, err := this.TootFocalPoint.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.TootFocalPoint.Name()] = i
+ }
+ }
// Maybe serialize property "generator"
if this.ActivityStreamsGenerator != nil {
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
@@ -1845,6 +1882,11 @@ func (this *ActivityStreamsImage) SetTootBlurhash(i vocab.TootBlurhashProperty)
this.TootBlurhash = i
}
+// SetTootFocalPoint sets the "focalPoint" property.
+func (this *ActivityStreamsImage) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
+ this.TootFocalPoint = i
+}
+
// VocabularyURI returns the vocabulary's URI as a string.
func (this ActivityStreamsImage) VocabularyURI() string {
return "https://www.w3.org/ns/activitystreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go
index 0dd7b1ee9..0b59890f4 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go
@@ -200,7 +200,7 @@ func IsOrExtendsLink(other vocab.Type) bool {
// LinkIsDisjointWith returns true if the other provided type is disjoint with the
// Link type.
func LinkIsDisjointWith(other vocab.Type) bool {
- disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
+ disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go
index 7b0af6770..97f390605 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go
@@ -198,7 +198,7 @@ func IsOrExtendsMention(other vocab.Type) bool {
// MentionIsDisjointWith returns true if the other provided type is disjoint with
// the Mention type.
func MentionIsDisjointWith(other vocab.Type) bool {
- disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
+ disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go
index ba9ba9d12..6c278e0fa 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go
@@ -397,7 +397,7 @@ func ObjectIsDisjointWith(other vocab.Type) bool {
// Object type. Note that it returns false if the types are the same; see the
// "IsOrExtendsObject" variant instead.
func ObjectIsExtendedBy(other vocab.Type) bool {
- extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
+ extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
for _, ext := range extensions {
if ext == other.GetTypeName() {
return true
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go
index d07eadafc..d1cca4d19 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go
@@ -104,6 +104,10 @@ type privateManager interface {
// method for the "ActivityStreamsInboxProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
+ // DeserializeIndexablePropertyToot returns the deserialization method for
+ // the "TootIndexableProperty" non-functional property in the
+ // vocabulary "Toot"
+ DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
// DeserializeLikedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLikedProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go
index 26d37e535..35257782c 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go
@@ -40,6 +40,7 @@ type ActivityStreamsOrganization struct {
ActivityStreamsImage vocab.ActivityStreamsImageProperty
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
+ TootIndexable vocab.TootIndexableProperty
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
@@ -233,6 +234,11 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin
} else if p != nil {
this.ActivityStreamsInbox = p
}
+ if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.TootIndexable = p
+ }
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -411,6 +417,8 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin
continue
} else if k == "inbox" {
continue
+ } else if k == "indexable" {
+ continue
} else if k == "liked" {
continue
} else if k == "likes" {
@@ -793,6 +801,12 @@ func (this ActivityStreamsOrganization) GetTootFeatured() vocab.TootFeaturedProp
return this.TootFeatured
}
+// GetTootIndexable returns the "indexable" property if it exists, and nil
+// otherwise.
+func (this ActivityStreamsOrganization) GetTootIndexable() vocab.TootIndexableProperty {
+ return this.TootIndexable
+}
+
// GetTypeName returns the name of this type.
func (this ActivityStreamsOrganization) GetTypeName() string {
return "Organization"
@@ -847,6 +861,7 @@ func (this ActivityStreamsOrganization) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
+ m = this.helperJSONLDContext(this.TootIndexable, m)
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
@@ -1202,6 +1217,20 @@ func (this ActivityStreamsOrganization) LessThan(o vocab.ActivityStreamsOrganiza
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "indexable"
+ if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
// Compare property "liked"
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1759,6 +1788,14 @@ func (this ActivityStreamsOrganization) Serialize() (map[string]interface{}, err
m[this.ActivityStreamsInbox.Name()] = i
}
}
+ // Maybe serialize property "indexable"
+ if this.TootIndexable != nil {
+ if i, err := this.TootIndexable.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.TootIndexable.Name()] = i
+ }
+ }
// Maybe serialize property "liked"
if this.ActivityStreamsLiked != nil {
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
@@ -2209,6 +2246,11 @@ func (this *ActivityStreamsOrganization) SetTootFeatured(i vocab.TootFeaturedPro
this.TootFeatured = i
}
+// SetTootIndexable sets the "indexable" property.
+func (this *ActivityStreamsOrganization) SetTootIndexable(i vocab.TootIndexableProperty) {
+ this.TootIndexable = i
+}
+
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
func (this *ActivityStreamsOrganization) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
this.W3IDSecurityV1PublicKey = i
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go
index 7e9ad6eef..aa3bc61a3 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go
@@ -64,6 +64,10 @@ type privateManager interface {
// method for the "ActivityStreamsEndTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
+ // DeserializeFocalPointPropertyToot returns the deserialization method
+ // for the "TootFocalPointProperty" non-functional property in the
+ // vocabulary "Toot"
+ DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go
index 147a5cfbe..51b5f9ee0 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go
@@ -31,6 +31,7 @@ type ActivityStreamsPage struct {
ActivityStreamsContext vocab.ActivityStreamsContextProperty
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
+ TootFocalPoint vocab.TootFocalPointProperty
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
JSONLDId vocab.JSONLDIdProperty
@@ -173,6 +174,11 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act
} else if p != nil {
this.ActivityStreamsEndTime = p
}
+ if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.TootFocalPoint = p
+ }
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -326,6 +332,8 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act
continue
} else if k == "endTime" {
continue
+ } else if k == "focalPoint" {
+ continue
} else if k == "generator" {
continue
} else if k == "icon" {
@@ -644,6 +652,12 @@ func (this ActivityStreamsPage) GetTootBlurhash() vocab.TootBlurhashProperty {
return this.TootBlurhash
}
+// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
+// otherwise.
+func (this ActivityStreamsPage) GetTootFocalPoint() vocab.TootFocalPointProperty {
+ return this.TootFocalPoint
+}
+
// GetTypeName returns the name of this type.
func (this ActivityStreamsPage) GetTypeName() string {
return "Page"
@@ -682,6 +696,7 @@ func (this ActivityStreamsPage) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
+ m = this.helperJSONLDContext(this.TootFocalPoint, m)
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
@@ -896,6 +911,20 @@ func (this ActivityStreamsPage) LessThan(o vocab.ActivityStreamsPage) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "focalPoint"
+ if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
// Compare property "generator"
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1359,6 +1388,14 @@ func (this ActivityStreamsPage) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsEndTime.Name()] = i
}
}
+ // Maybe serialize property "focalPoint"
+ if this.TootFocalPoint != nil {
+ if i, err := this.TootFocalPoint.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.TootFocalPoint.Name()] = i
+ }
+ }
// Maybe serialize property "generator"
if this.ActivityStreamsGenerator != nil {
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
@@ -1750,6 +1787,11 @@ func (this *ActivityStreamsPage) SetTootBlurhash(i vocab.TootBlurhashProperty) {
this.TootBlurhash = i
}
+// SetTootFocalPoint sets the "focalPoint" property.
+func (this *ActivityStreamsPage) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
+ this.TootFocalPoint = i
+}
+
// VocabularyURI returns the vocabulary's URI as a string.
func (this ActivityStreamsPage) VocabularyURI() string {
return "https://www.w3.org/ns/activitystreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go
index c2fe15622..ed6162ae5 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go
@@ -104,6 +104,10 @@ type privateManager interface {
// method for the "ActivityStreamsInboxProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
+ // DeserializeIndexablePropertyToot returns the deserialization method for
+ // the "TootIndexableProperty" non-functional property in the
+ // vocabulary "Toot"
+ DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
// DeserializeLikedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLikedProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go
index 418201f28..4fe3ff3d7 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go
@@ -40,6 +40,7 @@ type ActivityStreamsPerson struct {
ActivityStreamsImage vocab.ActivityStreamsImageProperty
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
+ TootIndexable vocab.TootIndexableProperty
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
@@ -233,6 +234,11 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A
} else if p != nil {
this.ActivityStreamsInbox = p
}
+ if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.TootIndexable = p
+ }
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -411,6 +417,8 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A
continue
} else if k == "inbox" {
continue
+ } else if k == "indexable" {
+ continue
} else if k == "liked" {
continue
} else if k == "likes" {
@@ -793,6 +801,12 @@ func (this ActivityStreamsPerson) GetTootFeatured() vocab.TootFeaturedProperty {
return this.TootFeatured
}
+// GetTootIndexable returns the "indexable" property if it exists, and nil
+// otherwise.
+func (this ActivityStreamsPerson) GetTootIndexable() vocab.TootIndexableProperty {
+ return this.TootIndexable
+}
+
// GetTypeName returns the name of this type.
func (this ActivityStreamsPerson) GetTypeName() string {
return "Person"
@@ -847,6 +861,7 @@ func (this ActivityStreamsPerson) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
+ m = this.helperJSONLDContext(this.TootIndexable, m)
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
@@ -1202,6 +1217,20 @@ func (this ActivityStreamsPerson) LessThan(o vocab.ActivityStreamsPerson) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "indexable"
+ if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
// Compare property "liked"
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1759,6 +1788,14 @@ func (this ActivityStreamsPerson) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsInbox.Name()] = i
}
}
+ // Maybe serialize property "indexable"
+ if this.TootIndexable != nil {
+ if i, err := this.TootIndexable.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.TootIndexable.Name()] = i
+ }
+ }
// Maybe serialize property "liked"
if this.ActivityStreamsLiked != nil {
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
@@ -2209,6 +2246,11 @@ func (this *ActivityStreamsPerson) SetTootFeatured(i vocab.TootFeaturedProperty)
this.TootFeatured = i
}
+// SetTootIndexable sets the "indexable" property.
+func (this *ActivityStreamsPerson) SetTootIndexable(i vocab.TootIndexableProperty) {
+ this.TootIndexable = i
+}
+
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
func (this *ActivityStreamsPerson) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
this.W3IDSecurityV1PublicKey = i
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go
index 31765e76c..ee042723a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go
@@ -104,6 +104,10 @@ type privateManager interface {
// method for the "ActivityStreamsInboxProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
+ // DeserializeIndexablePropertyToot returns the deserialization method for
+ // the "TootIndexableProperty" non-functional property in the
+ // vocabulary "Toot"
+ DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
// DeserializeLikedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLikedProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go
index b2fcb4765..98823e5b1 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go
@@ -40,6 +40,7 @@ type ActivityStreamsService struct {
ActivityStreamsImage vocab.ActivityStreamsImageProperty
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
+ TootIndexable vocab.TootIndexableProperty
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
@@ -233,6 +234,11 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (*
} else if p != nil {
this.ActivityStreamsInbox = p
}
+ if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.TootIndexable = p
+ }
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -411,6 +417,8 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (*
continue
} else if k == "inbox" {
continue
+ } else if k == "indexable" {
+ continue
} else if k == "liked" {
continue
} else if k == "likes" {
@@ -793,6 +801,12 @@ func (this ActivityStreamsService) GetTootFeatured() vocab.TootFeaturedProperty
return this.TootFeatured
}
+// GetTootIndexable returns the "indexable" property if it exists, and nil
+// otherwise.
+func (this ActivityStreamsService) GetTootIndexable() vocab.TootIndexableProperty {
+ return this.TootIndexable
+}
+
// GetTypeName returns the name of this type.
func (this ActivityStreamsService) GetTypeName() string {
return "Service"
@@ -847,6 +861,7 @@ func (this ActivityStreamsService) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
+ m = this.helperJSONLDContext(this.TootIndexable, m)
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
@@ -1202,6 +1217,20 @@ func (this ActivityStreamsService) LessThan(o vocab.ActivityStreamsService) bool
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "indexable"
+ if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
// Compare property "liked"
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1759,6 +1788,14 @@ func (this ActivityStreamsService) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsInbox.Name()] = i
}
}
+ // Maybe serialize property "indexable"
+ if this.TootIndexable != nil {
+ if i, err := this.TootIndexable.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.TootIndexable.Name()] = i
+ }
+ }
// Maybe serialize property "liked"
if this.ActivityStreamsLiked != nil {
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
@@ -2209,6 +2246,11 @@ func (this *ActivityStreamsService) SetTootFeatured(i vocab.TootFeaturedProperty
this.TootFeatured = i
}
+// SetTootIndexable sets the "indexable" property.
+func (this *ActivityStreamsService) SetTootIndexable(i vocab.TootIndexableProperty) {
+ this.TootIndexable = i
+}
+
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
func (this *ActivityStreamsService) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
this.W3IDSecurityV1PublicKey = i
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go
index 5033b47fc..3eb42b64c 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go
@@ -64,6 +64,10 @@ type privateManager interface {
// method for the "ActivityStreamsEndTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
+ // DeserializeFocalPointPropertyToot returns the deserialization method
+ // for the "TootFocalPointProperty" non-functional property in the
+ // vocabulary "Toot"
+ DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go
index 328357c52..2618cf011 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go
@@ -32,6 +32,7 @@ type ActivityStreamsVideo struct {
ActivityStreamsContext vocab.ActivityStreamsContextProperty
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
+ TootFocalPoint vocab.TootFocalPointProperty
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
JSONLDId vocab.JSONLDIdProperty
@@ -174,6 +175,11 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac
} else if p != nil {
this.ActivityStreamsEndTime = p
}
+ if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.TootFocalPoint = p
+ }
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -327,6 +333,8 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac
continue
} else if k == "endTime" {
continue
+ } else if k == "focalPoint" {
+ continue
} else if k == "generator" {
continue
} else if k == "icon" {
@@ -645,6 +653,12 @@ func (this ActivityStreamsVideo) GetTootBlurhash() vocab.TootBlurhashProperty {
return this.TootBlurhash
}
+// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
+// otherwise.
+func (this ActivityStreamsVideo) GetTootFocalPoint() vocab.TootFocalPointProperty {
+ return this.TootFocalPoint
+}
+
// GetTypeName returns the name of this type.
func (this ActivityStreamsVideo) GetTypeName() string {
return "Video"
@@ -683,6 +697,7 @@ func (this ActivityStreamsVideo) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
+ m = this.helperJSONLDContext(this.TootFocalPoint, m)
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
@@ -897,6 +912,20 @@ func (this ActivityStreamsVideo) LessThan(o vocab.ActivityStreamsVideo) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "focalPoint"
+ if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil {
+ if lhs.LessThan(rhs) {
+ return true
+ } else if rhs.LessThan(lhs) {
+ return false
+ }
+ } else if lhs == nil && rhs != nil {
+ // Nil is less than anything else
+ return true
+ } else if rhs != nil && rhs == nil {
+ // Anything else is greater than nil
+ return false
+ } // Else: Both are nil
// Compare property "generator"
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -1360,6 +1389,14 @@ func (this ActivityStreamsVideo) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsEndTime.Name()] = i
}
}
+ // Maybe serialize property "focalPoint"
+ if this.TootFocalPoint != nil {
+ if i, err := this.TootFocalPoint.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.TootFocalPoint.Name()] = i
+ }
+ }
// Maybe serialize property "generator"
if this.ActivityStreamsGenerator != nil {
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
@@ -1751,6 +1788,11 @@ func (this *ActivityStreamsVideo) SetTootBlurhash(i vocab.TootBlurhashProperty)
this.TootBlurhash = i
}
+// SetTootFocalPoint sets the "focalPoint" property.
+func (this *ActivityStreamsVideo) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
+ this.TootFocalPoint = i
+}
+
// VocabularyURI returns the vocabulary's URI as a string.
func (this ActivityStreamsVideo) VocabularyURI() string {
return "https://www.w3.org/ns/activitystreams"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go
new file mode 100644
index 000000000..70135362b
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package propertyautomaticapproval contains the implementation for the
+// automaticApproval property. All applications are strongly encouraged to use
+// the interface instead of this concrete definition. The interfaces allow
+// applications to consume only the types and properties needed and be
+// independent of the go-fed implementation if another alternative
+// implementation is created. This package is code-generated and subject to
+// the same license as the go-fed tool used to generate it.
+//
+// This package is independent of other types' and properties' implementations
+// by having a Manager injected into it to act as a factory for the concrete
+// implementations. The implementations have been generated into their own
+// separate subpackages for each vocabulary.
+//
+// Strongly consider using the interfaces instead of this package.
+package propertyautomaticapproval
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go
new file mode 100644
index 000000000..d46f7b30a
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go
@@ -0,0 +1,15 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertyautomaticapproval
+
+var mgr privateManager
+
+// privateManager abstracts the code-generated manager that provides access to
+// concrete implementations.
+type privateManager interface{}
+
+// SetManager sets the manager package-global variable. For internal use only, do
+// not use as part of Application behavior. Must be called at golang init time.
+func SetManager(m privateManager) {
+ mgr = m
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go
new file mode 100644
index 000000000..c79d76152
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_property_gotosocial_automaticApproval.go
@@ -0,0 +1,511 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertyautomaticapproval
+
+import (
+ anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI"
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "net/url"
+)
+
+// GoToSocialAutomaticApprovalPropertyIterator is an iterator for a property. It
+// is permitted to be a single nilable value type.
+type GoToSocialAutomaticApprovalPropertyIterator struct {
+ xmlschemaAnyURIMember *url.URL
+ unknown interface{}
+ alias string
+ myIdx int
+ parent vocab.GoToSocialAutomaticApprovalProperty
+}
+
+// NewGoToSocialAutomaticApprovalPropertyIterator creates a new
+// GoToSocialAutomaticApproval property.
+func NewGoToSocialAutomaticApprovalPropertyIterator() *GoToSocialAutomaticApprovalPropertyIterator {
+ return &GoToSocialAutomaticApprovalPropertyIterator{alias: ""}
+}
+
+// deserializeGoToSocialAutomaticApprovalPropertyIterator creates an iterator from
+// an element that has been unmarshalled from a text or binary format.
+func deserializeGoToSocialAutomaticApprovalPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialAutomaticApprovalPropertyIterator, error) {
+ alias := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ }
+ if v, err := anyuri.DeserializeAnyURI(i); err == nil {
+ this := &GoToSocialAutomaticApprovalPropertyIterator{
+ alias: alias,
+ xmlschemaAnyURIMember: v,
+ }
+ return this, nil
+ }
+ this := &GoToSocialAutomaticApprovalPropertyIterator{
+ alias: alias,
+ unknown: i,
+ }
+ return this, nil
+}
+
+// Get returns the value of this property. When IsXMLSchemaAnyURI returns false,
+// Get will return any arbitrary value.
+func (this GoToSocialAutomaticApprovalPropertyIterator) Get() *url.URL {
+ return this.xmlschemaAnyURIMember
+}
+
+// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
+// return any arbitrary value.
+func (this GoToSocialAutomaticApprovalPropertyIterator) GetIRI() *url.URL {
+ return this.xmlschemaAnyURIMember
+}
+
+// HasAny returns true if the value or IRI is set.
+func (this GoToSocialAutomaticApprovalPropertyIterator) HasAny() bool {
+ return this.IsXMLSchemaAnyURI()
+}
+
+// IsIRI returns true if this property is an IRI.
+func (this GoToSocialAutomaticApprovalPropertyIterator) IsIRI() bool {
+ return this.xmlschemaAnyURIMember != nil
+}
+
+// IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
+func (this GoToSocialAutomaticApprovalPropertyIterator) IsXMLSchemaAnyURI() bool {
+ return this.xmlschemaAnyURIMember != nil
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this GoToSocialAutomaticApprovalPropertyIterator) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ var child map[string]string
+
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API detail only for folks looking to replace the go-fed
+// implementation. Applications should not use this method.
+func (this GoToSocialAutomaticApprovalPropertyIterator) KindIndex() int {
+ if this.IsXMLSchemaAnyURI() {
+ return 0
+ }
+ if this.IsIRI() {
+ return -2
+ }
+ return -1
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this GoToSocialAutomaticApprovalPropertyIterator) LessThan(o vocab.GoToSocialAutomaticApprovalPropertyIterator) bool {
+ if this.IsIRI() {
+ // IRIs are always less than other values, none, or unknowns
+ return true
+ } else if o.IsIRI() {
+ // This other, none, or unknown value is always greater than IRIs
+ return false
+ }
+ // LessThan comparison for the single value or unknown value.
+ if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
+ // Both are unknowns.
+ return false
+ } else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
+ // Values are always greater than unknown values.
+ return false
+ } else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() {
+ // Unknowns are always less than known values.
+ return true
+ } else {
+ // Actual comparison.
+ return anyuri.LessAnyURI(this.Get(), o.Get())
+ }
+}
+
+// Name returns the name of this property: "GoToSocialAutomaticApproval".
+func (this GoToSocialAutomaticApprovalPropertyIterator) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "GoToSocialAutomaticApproval"
+ } else {
+ return "GoToSocialAutomaticApproval"
+ }
+}
+
+// Next returns the next iterator, or nil if there is no next iterator.
+func (this GoToSocialAutomaticApprovalPropertyIterator) Next() vocab.GoToSocialAutomaticApprovalPropertyIterator {
+ if this.myIdx+1 >= this.parent.Len() {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx + 1)
+ }
+}
+
+// Prev returns the previous iterator, or nil if there is no previous iterator.
+func (this GoToSocialAutomaticApprovalPropertyIterator) Prev() vocab.GoToSocialAutomaticApprovalPropertyIterator {
+ if this.myIdx-1 < 0 {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx - 1)
+ }
+}
+
+// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will
+// return true.
+func (this *GoToSocialAutomaticApprovalPropertyIterator) Set(v *url.URL) {
+ this.clear()
+ this.xmlschemaAnyURIMember = v
+}
+
+// SetIRI sets the value of this property. Calling IsIRI afterwards will return
+// true.
+func (this *GoToSocialAutomaticApprovalPropertyIterator) SetIRI(v *url.URL) {
+ this.clear()
+ this.Set(v)
+}
+
+// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI
+// afterwards will return false.
+func (this *GoToSocialAutomaticApprovalPropertyIterator) clear() {
+ this.unknown = nil
+ this.xmlschemaAnyURIMember = nil
+}
+
+// serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this GoToSocialAutomaticApprovalPropertyIterator) serialize() (interface{}, error) {
+ if this.IsXMLSchemaAnyURI() {
+ return anyuri.SerializeAnyURI(this.Get())
+ }
+ return this.unknown, nil
+}
+
+// GoToSocialAutomaticApprovalProperty is the non-functional property
+// "automaticApproval". It is permitted to have one or more values, and of
+// different value types.
+type GoToSocialAutomaticApprovalProperty struct {
+ properties []*GoToSocialAutomaticApprovalPropertyIterator
+ alias string
+}
+
+// DeserializeAutomaticApprovalProperty creates a "automaticApproval" property
+// from an interface representation that has been unmarshalled from a text or
+// binary format.
+func DeserializeAutomaticApprovalProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) {
+ alias := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ }
+ propName := "automaticApproval"
+ if len(alias) > 0 {
+ propName = fmt.Sprintf("%s:%s", alias, "automaticApproval")
+ }
+ i, ok := m[propName]
+
+ if ok {
+ this := &GoToSocialAutomaticApprovalProperty{
+ alias: alias,
+ properties: []*GoToSocialAutomaticApprovalPropertyIterator{},
+ }
+ if list, ok := i.([]interface{}); ok {
+ for _, iterator := range list {
+ if p, err := deserializeGoToSocialAutomaticApprovalPropertyIterator(iterator, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ } else {
+ if p, err := deserializeGoToSocialAutomaticApprovalPropertyIterator(i, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ // Set up the properties for iteration.
+ for idx, ele := range this.properties {
+ ele.parent = this
+ ele.myIdx = idx
+ }
+ return this, nil
+ }
+ return nil, nil
+}
+
+// NewGoToSocialAutomaticApprovalProperty creates a new automaticApproval property.
+func NewGoToSocialAutomaticApprovalProperty() *GoToSocialAutomaticApprovalProperty {
+ return &GoToSocialAutomaticApprovalProperty{alias: ""}
+}
+
+// AppendIRI appends an IRI value to the back of a list of the property
+// "automaticApproval"
+func (this *GoToSocialAutomaticApprovalProperty) AppendIRI(v *url.URL) {
+ this.properties = append(this.properties, &GoToSocialAutomaticApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: this.Len(),
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ })
+}
+
+// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the
+// property "automaticApproval". Invalidates iterators that are traversing
+// using Prev.
+func (this *GoToSocialAutomaticApprovalProperty) AppendXMLSchemaAnyURI(v *url.URL) {
+ this.properties = append(this.properties, &GoToSocialAutomaticApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: this.Len(),
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ })
+}
+
+// At returns the property value for the specified index. Panics if the index is
+// out of bounds.
+func (this GoToSocialAutomaticApprovalProperty) At(index int) vocab.GoToSocialAutomaticApprovalPropertyIterator {
+ return this.properties[index]
+}
+
+// Begin returns the first iterator, or nil if empty. Can be used with the
+// iterator's Next method and this property's End method to iterate from front
+// to back through all values.
+func (this GoToSocialAutomaticApprovalProperty) Begin() vocab.GoToSocialAutomaticApprovalPropertyIterator {
+ if this.Empty() {
+ return nil
+ } else {
+ return this.properties[0]
+ }
+}
+
+// Empty returns returns true if there are no elements.
+func (this GoToSocialAutomaticApprovalProperty) Empty() bool {
+ return this.Len() == 0
+}
+
+// End returns beyond-the-last iterator, which is nil. Can be used with the
+// iterator's Next method and this property's Begin method to iterate from
+// front to back through all values.
+func (this GoToSocialAutomaticApprovalProperty) End() vocab.GoToSocialAutomaticApprovalPropertyIterator {
+ return nil
+}
+
+// Insert inserts an IRI value at the specified index for a property
+// "automaticApproval". Existing elements at that index and higher are shifted
+// back once. Invalidates all iterators.
+func (this *GoToSocialAutomaticApprovalProperty) InsertIRI(idx int, v *url.URL) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &GoToSocialAutomaticApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a
+// property "automaticApproval". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *GoToSocialAutomaticApprovalProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &GoToSocialAutomaticApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this GoToSocialAutomaticApprovalProperty) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ for _, elem := range this.properties {
+ child := elem.JSONLDContext()
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API method specifically needed only for alternate implementations
+// for go-fed. Applications should not use this method. Panics if the index is
+// out of bounds.
+func (this GoToSocialAutomaticApprovalProperty) KindIndex(idx int) int {
+ return this.properties[idx].KindIndex()
+}
+
+// Len returns the number of values that exist for the "automaticApproval"
+// property.
+func (this GoToSocialAutomaticApprovalProperty) Len() (length int) {
+ return len(this.properties)
+}
+
+// Less computes whether another property is less than this one. Mixing types
+// results in a consistent but arbitrary ordering
+func (this GoToSocialAutomaticApprovalProperty) Less(i, j int) bool {
+ idx1 := this.KindIndex(i)
+ idx2 := this.KindIndex(j)
+ if idx1 < idx2 {
+ return true
+ } else if idx1 == idx2 {
+ if idx1 == 0 {
+ lhs := this.properties[i].Get()
+ rhs := this.properties[j].Get()
+ return anyuri.LessAnyURI(lhs, rhs)
+ } else if idx1 == -2 {
+ lhs := this.properties[i].GetIRI()
+ rhs := this.properties[j].GetIRI()
+ return lhs.String() < rhs.String()
+ }
+ }
+ return false
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this GoToSocialAutomaticApprovalProperty) LessThan(o vocab.GoToSocialAutomaticApprovalProperty) bool {
+ l1 := this.Len()
+ l2 := o.Len()
+ l := l1
+ if l2 < l1 {
+ l = l2
+ }
+ for i := 0; i < l; i++ {
+ if this.properties[i].LessThan(o.At(i)) {
+ return true
+ } else if o.At(i).LessThan(this.properties[i]) {
+ return false
+ }
+ }
+ return l1 < l2
+}
+
+// Name returns the name of this property ("automaticApproval") with any alias.
+func (this GoToSocialAutomaticApprovalProperty) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "automaticApproval"
+ } else {
+ return "automaticApproval"
+ }
+}
+
+// PrependIRI prepends an IRI value to the front of a list of the property
+// "automaticApproval".
+func (this *GoToSocialAutomaticApprovalProperty) PrependIRI(v *url.URL) {
+ this.properties = append([]*GoToSocialAutomaticApprovalPropertyIterator{{
+ alias: this.alias,
+ myIdx: 0,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the
+// property "automaticApproval". Invalidates all iterators.
+func (this *GoToSocialAutomaticApprovalProperty) PrependXMLSchemaAnyURI(v *url.URL) {
+ this.properties = append([]*GoToSocialAutomaticApprovalPropertyIterator{{
+ alias: this.alias,
+ myIdx: 0,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// Remove deletes an element at the specified index from a list of the property
+// "automaticApproval", regardless of its type. Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *GoToSocialAutomaticApprovalProperty) Remove(idx int) {
+ (this.properties)[idx].parent = nil
+ copy((this.properties)[idx:], (this.properties)[idx+1:])
+ (this.properties)[len(this.properties)-1] = &GoToSocialAutomaticApprovalPropertyIterator{}
+ this.properties = (this.properties)[:len(this.properties)-1]
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// Serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this GoToSocialAutomaticApprovalProperty) Serialize() (interface{}, error) {
+ s := make([]interface{}, 0, len(this.properties))
+ for _, iterator := range this.properties {
+ if b, err := iterator.serialize(); err != nil {
+ return s, err
+ } else {
+ s = append(s, b)
+ }
+ }
+ // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
+ if len(s) == 1 {
+ return s[0], nil
+ }
+ return s, nil
+}
+
+// Set sets a anyURI value to be at the specified index for the property
+// "automaticApproval". Panics if the index is out of bounds. Invalidates all
+// iterators.
+func (this *GoToSocialAutomaticApprovalProperty) Set(idx int, v *url.URL) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &GoToSocialAutomaticApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+}
+
+// SetIRI sets an IRI value to be at the specified index for the property
+// "automaticApproval". Panics if the index is out of bounds.
+func (this *GoToSocialAutomaticApprovalProperty) SetIRI(idx int, v *url.URL) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &GoToSocialAutomaticApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+}
+
+// Swap swaps the location of values at two indices for the "automaticApproval"
+// property.
+func (this GoToSocialAutomaticApprovalProperty) Swap(i, j int) {
+ this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go
new file mode 100644
index 000000000..21077ff16
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package propertycanquote contains the implementation for the canQuote property.
+// All applications are strongly encouraged to use the interface instead of
+// this concrete definition. The interfaces allow applications to consume only
+// the types and properties needed and be independent of the go-fed
+// implementation if another alternative implementation is created. This
+// package is code-generated and subject to the same license as the go-fed
+// tool used to generate it.
+//
+// This package is independent of other types' and properties' implementations
+// by having a Manager injected into it to act as a factory for the concrete
+// implementations. The implementations have been generated into their own
+// separate subpackages for each vocabulary.
+//
+// Strongly consider using the interfaces instead of this package.
+package propertycanquote
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go
new file mode 100644
index 000000000..26d625911
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go
@@ -0,0 +1,22 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertycanquote
+
+import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+
+var mgr privateManager
+
+// privateManager abstracts the code-generated manager that provides access to
+// concrete implementations.
+type privateManager interface {
+ // DeserializeCanQuoteGoToSocial returns the deserialization method for
+ // the "GoToSocialCanQuote" non-functional property in the vocabulary
+ // "GoToSocial"
+ DeserializeCanQuoteGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanQuote, error)
+}
+
+// SetManager sets the manager package-global variable. For internal use only, do
+// not use as part of Application behavior. Must be called at golang init time.
+func SetManager(m privateManager) {
+ mgr = m
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go
new file mode 100644
index 000000000..1ae1347bc
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go
@@ -0,0 +1,618 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertycanquote
+
+import (
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "net/url"
+)
+
+// GoToSocialCanQuotePropertyIterator is an iterator for a property. It is
+// permitted to be a single nilable value type.
+type GoToSocialCanQuotePropertyIterator struct {
+ gotosocialCanQuoteMember vocab.GoToSocialCanQuote
+ unknown interface{}
+ iri *url.URL
+ alias string
+ myIdx int
+ parent vocab.GoToSocialCanQuoteProperty
+}
+
+// NewGoToSocialCanQuotePropertyIterator creates a new GoToSocialCanQuote property.
+func NewGoToSocialCanQuotePropertyIterator() *GoToSocialCanQuotePropertyIterator {
+ return &GoToSocialCanQuotePropertyIterator{alias: ""}
+}
+
+// deserializeGoToSocialCanQuotePropertyIterator creates an iterator from an
+// element that has been unmarshalled from a text or binary format.
+func deserializeGoToSocialCanQuotePropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialCanQuotePropertyIterator, error) {
+ alias := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ }
+ if s, ok := i.(string); ok {
+ u, err := url.Parse(s)
+ // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst
+ // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy
+ if err == nil && len(u.Scheme) > 0 {
+ this := &GoToSocialCanQuotePropertyIterator{
+ alias: alias,
+ iri: u,
+ }
+ return this, nil
+ }
+ }
+ if m, ok := i.(map[string]interface{}); ok {
+ if v, err := mgr.DeserializeCanQuoteGoToSocial()(m, aliasMap); err == nil {
+ this := &GoToSocialCanQuotePropertyIterator{
+ alias: alias,
+ gotosocialCanQuoteMember: v,
+ }
+ return this, nil
+ }
+ }
+ this := &GoToSocialCanQuotePropertyIterator{
+ alias: alias,
+ unknown: i,
+ }
+ return this, nil
+}
+
+// Get returns the value of this property. When IsGoToSocialCanQuote returns
+// false, Get will return any arbitrary value.
+func (this GoToSocialCanQuotePropertyIterator) Get() vocab.GoToSocialCanQuote {
+ return this.gotosocialCanQuoteMember
+}
+
+// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
+// return any arbitrary value.
+func (this GoToSocialCanQuotePropertyIterator) GetIRI() *url.URL {
+ return this.iri
+}
+
+// GetType returns the value in this property as a Type. Returns nil if the value
+// is not an ActivityStreams type, such as an IRI or another value.
+func (this GoToSocialCanQuotePropertyIterator) GetType() vocab.Type {
+ if this.IsGoToSocialCanQuote() {
+ return this.Get()
+ }
+
+ return nil
+}
+
+// HasAny returns true if the value or IRI is set.
+func (this GoToSocialCanQuotePropertyIterator) HasAny() bool {
+ return this.IsGoToSocialCanQuote() || this.iri != nil
+}
+
+// IsGoToSocialCanQuote returns true if this property is set and not an IRI.
+func (this GoToSocialCanQuotePropertyIterator) IsGoToSocialCanQuote() bool {
+ return this.gotosocialCanQuoteMember != nil
+}
+
+// IsIRI returns true if this property is an IRI.
+func (this GoToSocialCanQuotePropertyIterator) IsIRI() bool {
+ return this.iri != nil
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this GoToSocialCanQuotePropertyIterator) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ var child map[string]string
+ if this.IsGoToSocialCanQuote() {
+ child = this.Get().JSONLDContext()
+ }
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API detail only for folks looking to replace the go-fed
+// implementation. Applications should not use this method.
+func (this GoToSocialCanQuotePropertyIterator) KindIndex() int {
+ if this.IsGoToSocialCanQuote() {
+ return 0
+ }
+ if this.IsIRI() {
+ return -2
+ }
+ return -1
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this GoToSocialCanQuotePropertyIterator) LessThan(o vocab.GoToSocialCanQuotePropertyIterator) bool {
+ // LessThan comparison for if either or both are IRIs.
+ if this.IsIRI() && o.IsIRI() {
+ return this.iri.String() < o.GetIRI().String()
+ } else if this.IsIRI() {
+ // IRIs are always less than other values, none, or unknowns
+ return true
+ } else if o.IsIRI() {
+ // This other, none, or unknown value is always greater than IRIs
+ return false
+ }
+ // LessThan comparison for the single value or unknown value.
+ if !this.IsGoToSocialCanQuote() && !o.IsGoToSocialCanQuote() {
+ // Both are unknowns.
+ return false
+ } else if this.IsGoToSocialCanQuote() && !o.IsGoToSocialCanQuote() {
+ // Values are always greater than unknown values.
+ return false
+ } else if !this.IsGoToSocialCanQuote() && o.IsGoToSocialCanQuote() {
+ // Unknowns are always less than known values.
+ return true
+ } else {
+ // Actual comparison.
+ return this.Get().LessThan(o.Get())
+ }
+}
+
+// Name returns the name of this property: "GoToSocialCanQuote".
+func (this GoToSocialCanQuotePropertyIterator) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "GoToSocialCanQuote"
+ } else {
+ return "GoToSocialCanQuote"
+ }
+}
+
+// Next returns the next iterator, or nil if there is no next iterator.
+func (this GoToSocialCanQuotePropertyIterator) Next() vocab.GoToSocialCanQuotePropertyIterator {
+ if this.myIdx+1 >= this.parent.Len() {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx + 1)
+ }
+}
+
+// Prev returns the previous iterator, or nil if there is no previous iterator.
+func (this GoToSocialCanQuotePropertyIterator) Prev() vocab.GoToSocialCanQuotePropertyIterator {
+ if this.myIdx-1 < 0 {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx - 1)
+ }
+}
+
+// Set sets the value of this property. Calling IsGoToSocialCanQuote afterwards
+// will return true.
+func (this *GoToSocialCanQuotePropertyIterator) Set(v vocab.GoToSocialCanQuote) {
+ this.clear()
+ this.gotosocialCanQuoteMember = v
+}
+
+// SetIRI sets the value of this property. Calling IsIRI afterwards will return
+// true.
+func (this *GoToSocialCanQuotePropertyIterator) SetIRI(v *url.URL) {
+ this.clear()
+ this.iri = v
+}
+
+// SetType attempts to set the property for the arbitrary type. Returns an error
+// if it is not a valid type to set on this property.
+func (this *GoToSocialCanQuotePropertyIterator) SetType(t vocab.Type) error {
+ if v, ok := t.(vocab.GoToSocialCanQuote); ok {
+ this.Set(v)
+ return nil
+ }
+
+ return fmt.Errorf("illegal type to set on GoToSocialCanQuote property: %T", t)
+}
+
+// clear ensures no value of this property is set. Calling IsGoToSocialCanQuote
+// afterwards will return false.
+func (this *GoToSocialCanQuotePropertyIterator) clear() {
+ this.unknown = nil
+ this.iri = nil
+ this.gotosocialCanQuoteMember = nil
+}
+
+// serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this GoToSocialCanQuotePropertyIterator) serialize() (interface{}, error) {
+ if this.IsGoToSocialCanQuote() {
+ return this.Get().Serialize()
+ } else if this.IsIRI() {
+ return this.iri.String(), nil
+ }
+ return this.unknown, nil
+}
+
+// GoToSocialCanQuoteProperty is the non-functional property "canQuote". It is
+// permitted to have one or more values, and of different value types.
+type GoToSocialCanQuoteProperty struct {
+ properties []*GoToSocialCanQuotePropertyIterator
+ alias string
+}
+
+// DeserializeCanQuoteProperty creates a "canQuote" property from an interface
+// representation that has been unmarshalled from a text or binary format.
+func DeserializeCanQuoteProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialCanQuoteProperty, error) {
+ alias := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ }
+ propName := "canQuote"
+ if len(alias) > 0 {
+ propName = fmt.Sprintf("%s:%s", alias, "canQuote")
+ }
+ i, ok := m[propName]
+
+ if ok {
+ this := &GoToSocialCanQuoteProperty{
+ alias: alias,
+ properties: []*GoToSocialCanQuotePropertyIterator{},
+ }
+ if list, ok := i.([]interface{}); ok {
+ for _, iterator := range list {
+ if p, err := deserializeGoToSocialCanQuotePropertyIterator(iterator, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ } else {
+ if p, err := deserializeGoToSocialCanQuotePropertyIterator(i, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ // Set up the properties for iteration.
+ for idx, ele := range this.properties {
+ ele.parent = this
+ ele.myIdx = idx
+ }
+ return this, nil
+ }
+ return nil, nil
+}
+
+// NewGoToSocialCanQuoteProperty creates a new canQuote property.
+func NewGoToSocialCanQuoteProperty() *GoToSocialCanQuoteProperty {
+ return &GoToSocialCanQuoteProperty{alias: ""}
+}
+
+// AppendGoToSocialCanQuote appends a CanQuote value to the back of a list of the
+// property "canQuote". Invalidates iterators that are traversing using Prev.
+func (this *GoToSocialCanQuoteProperty) AppendGoToSocialCanQuote(v vocab.GoToSocialCanQuote) {
+ this.properties = append(this.properties, &GoToSocialCanQuotePropertyIterator{
+ alias: this.alias,
+ gotosocialCanQuoteMember: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendIRI appends an IRI value to the back of a list of the property "canQuote"
+func (this *GoToSocialCanQuoteProperty) AppendIRI(v *url.URL) {
+ this.properties = append(this.properties, &GoToSocialCanQuotePropertyIterator{
+ alias: this.alias,
+ iri: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// PrependType prepends an arbitrary type value to the front of a list of the
+// property "canQuote". Invalidates iterators that are traversing using Prev.
+// Returns an error if the type is not a valid one to set for this property.
+func (this *GoToSocialCanQuoteProperty) AppendType(t vocab.Type) error {
+ n := &GoToSocialCanQuotePropertyIterator{
+ alias: this.alias,
+ myIdx: this.Len(),
+ parent: this,
+ }
+ if err := n.SetType(t); err != nil {
+ return err
+ }
+ this.properties = append(this.properties, n)
+ return nil
+}
+
+// At returns the property value for the specified index. Panics if the index is
+// out of bounds.
+func (this GoToSocialCanQuoteProperty) At(index int) vocab.GoToSocialCanQuotePropertyIterator {
+ return this.properties[index]
+}
+
+// Begin returns the first iterator, or nil if empty. Can be used with the
+// iterator's Next method and this property's End method to iterate from front
+// to back through all values.
+func (this GoToSocialCanQuoteProperty) Begin() vocab.GoToSocialCanQuotePropertyIterator {
+ if this.Empty() {
+ return nil
+ } else {
+ return this.properties[0]
+ }
+}
+
+// Empty returns returns true if there are no elements.
+func (this GoToSocialCanQuoteProperty) Empty() bool {
+ return this.Len() == 0
+}
+
+// End returns beyond-the-last iterator, which is nil. Can be used with the
+// iterator's Next method and this property's Begin method to iterate from
+// front to back through all values.
+func (this GoToSocialCanQuoteProperty) End() vocab.GoToSocialCanQuotePropertyIterator {
+ return nil
+}
+
+// InsertGoToSocialCanQuote inserts a CanQuote value at the specified index for a
+// property "canQuote". Existing elements at that index and higher are shifted
+// back once. Invalidates all iterators.
+func (this *GoToSocialCanQuoteProperty) InsertGoToSocialCanQuote(idx int, v vocab.GoToSocialCanQuote) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &GoToSocialCanQuotePropertyIterator{
+ alias: this.alias,
+ gotosocialCanQuoteMember: 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 "canQuote".
+// Existing elements at that index and higher are shifted back once.
+// Invalidates all iterators.
+func (this *GoToSocialCanQuoteProperty) InsertIRI(idx int, v *url.URL) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &GoToSocialCanQuotePropertyIterator{
+ alias: this.alias,
+ iri: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependType prepends an arbitrary type value to the front of a list of the
+// property "canQuote". Invalidates all iterators. Returns an error if the
+// type is not a valid one to set for this property.
+func (this *GoToSocialCanQuoteProperty) InsertType(idx int, t vocab.Type) error {
+ n := &GoToSocialCanQuotePropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ }
+ if err := n.SetType(t); err != nil {
+ return err
+ }
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = n
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+ return nil
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this GoToSocialCanQuoteProperty) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ for _, elem := range this.properties {
+ child := elem.JSONLDContext()
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API method specifically needed only for alternate implementations
+// for go-fed. Applications should not use this method. Panics if the index is
+// out of bounds.
+func (this GoToSocialCanQuoteProperty) KindIndex(idx int) int {
+ return this.properties[idx].KindIndex()
+}
+
+// Len returns the number of values that exist for the "canQuote" property.
+func (this GoToSocialCanQuoteProperty) Len() (length int) {
+ return len(this.properties)
+}
+
+// Less computes whether another property is less than this one. Mixing types
+// results in a consistent but arbitrary ordering
+func (this GoToSocialCanQuoteProperty) Less(i, j int) bool {
+ idx1 := this.KindIndex(i)
+ idx2 := this.KindIndex(j)
+ if idx1 < idx2 {
+ return true
+ } else if idx1 == idx2 {
+ if idx1 == 0 {
+ lhs := this.properties[i].Get()
+ rhs := this.properties[j].Get()
+ return lhs.LessThan(rhs)
+ } else if idx1 == -2 {
+ lhs := this.properties[i].GetIRI()
+ rhs := this.properties[j].GetIRI()
+ return lhs.String() < rhs.String()
+ }
+ }
+ return false
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this GoToSocialCanQuoteProperty) LessThan(o vocab.GoToSocialCanQuoteProperty) bool {
+ l1 := this.Len()
+ l2 := o.Len()
+ l := l1
+ if l2 < l1 {
+ l = l2
+ }
+ for i := 0; i < l; i++ {
+ if this.properties[i].LessThan(o.At(i)) {
+ return true
+ } else if o.At(i).LessThan(this.properties[i]) {
+ return false
+ }
+ }
+ return l1 < l2
+}
+
+// Name returns the name of this property ("canQuote") with any alias.
+func (this GoToSocialCanQuoteProperty) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "canQuote"
+ } else {
+ return "canQuote"
+ }
+}
+
+// PrependGoToSocialCanQuote prepends a CanQuote value to the front of a list of
+// the property "canQuote". Invalidates all iterators.
+func (this *GoToSocialCanQuoteProperty) PrependGoToSocialCanQuote(v vocab.GoToSocialCanQuote) {
+ this.properties = append([]*GoToSocialCanQuotePropertyIterator{{
+ alias: this.alias,
+ gotosocialCanQuoteMember: 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
+// "canQuote".
+func (this *GoToSocialCanQuoteProperty) PrependIRI(v *url.URL) {
+ this.properties = append([]*GoToSocialCanQuotePropertyIterator{{
+ alias: this.alias,
+ iri: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependType prepends an arbitrary type value to the front of a list of the
+// property "canQuote". Invalidates all iterators. Returns an error if the
+// type is not a valid one to set for this property.
+func (this *GoToSocialCanQuoteProperty) PrependType(t vocab.Type) error {
+ n := &GoToSocialCanQuotePropertyIterator{
+ alias: this.alias,
+ myIdx: 0,
+ parent: this,
+ }
+ if err := n.SetType(t); err != nil {
+ return err
+ }
+ this.properties = append([]*GoToSocialCanQuotePropertyIterator{n}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+ return nil
+}
+
+// Remove deletes an element at the specified index from a list of the property
+// "canQuote", regardless of its type. Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *GoToSocialCanQuoteProperty) Remove(idx int) {
+ (this.properties)[idx].parent = nil
+ copy((this.properties)[idx:], (this.properties)[idx+1:])
+ (this.properties)[len(this.properties)-1] = &GoToSocialCanQuotePropertyIterator{}
+ this.properties = (this.properties)[:len(this.properties)-1]
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// Serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this GoToSocialCanQuoteProperty) Serialize() (interface{}, error) {
+ s := make([]interface{}, 0, len(this.properties))
+ for _, iterator := range this.properties {
+ if b, err := iterator.serialize(); err != nil {
+ return s, err
+ } else {
+ s = append(s, b)
+ }
+ }
+ // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
+ if len(s) == 1 {
+ return s[0], nil
+ }
+ return s, nil
+}
+
+// Set sets a CanQuote value to be at the specified index for the property
+// "canQuote". Panics if the index is out of bounds. Invalidates all iterators.
+func (this *GoToSocialCanQuoteProperty) Set(idx int, v vocab.GoToSocialCanQuote) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &GoToSocialCanQuotePropertyIterator{
+ alias: this.alias,
+ gotosocialCanQuoteMember: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetIRI sets an IRI value to be at the specified index for the property
+// "canQuote". Panics if the index is out of bounds.
+func (this *GoToSocialCanQuoteProperty) SetIRI(idx int, v *url.URL) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &GoToSocialCanQuotePropertyIterator{
+ alias: this.alias,
+ iri: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// SetType sets an arbitrary type value to the specified index of the property
+// "canQuote". Invalidates all iterators. Returns an error if the type is not
+// a valid one to set for this property. Panics if the index is out of bounds.
+func (this *GoToSocialCanQuoteProperty) SetType(idx int, t vocab.Type) error {
+ n := &GoToSocialCanQuotePropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ }
+ if err := n.SetType(t); err != nil {
+ return err
+ }
+ (this.properties)[idx] = n
+ return nil
+}
+
+// Swap swaps the location of values at two indices for the "canQuote" property.
+func (this GoToSocialCanQuoteProperty) Swap(i, j int) {
+ this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go
new file mode 100644
index 000000000..742c63349
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package propertyinteractingobject contains the implementation for the
+// interactingObject property. All applications are strongly encouraged to use
+// the interface instead of this concrete definition. The interfaces allow
+// applications to consume only the types and properties needed and be
+// independent of the go-fed implementation if another alternative
+// implementation is created. This package is code-generated and subject to
+// the same license as the go-fed tool used to generate it.
+//
+// This package is independent of other types' and properties' implementations
+// by having a Manager injected into it to act as a factory for the concrete
+// implementations. The implementations have been generated into their own
+// separate subpackages for each vocabulary.
+//
+// Strongly consider using the interfaces instead of this package.
+package propertyinteractingobject
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go
new file mode 100644
index 000000000..20cb4d776
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go
@@ -0,0 +1,15 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertyinteractingobject
+
+var mgr privateManager
+
+// privateManager abstracts the code-generated manager that provides access to
+// concrete implementations.
+type privateManager interface{}
+
+// SetManager sets the manager package-global variable. For internal use only, do
+// not use as part of Application behavior. Must be called at golang init time.
+func SetManager(m privateManager) {
+ mgr = m
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go
new file mode 100644
index 000000000..350547631
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_property_gotosocial_interactingObject.go
@@ -0,0 +1,511 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertyinteractingobject
+
+import (
+ anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI"
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "net/url"
+)
+
+// GoToSocialInteractingObjectPropertyIterator is an iterator for a property. It
+// is permitted to be a single nilable value type.
+type GoToSocialInteractingObjectPropertyIterator struct {
+ xmlschemaAnyURIMember *url.URL
+ unknown interface{}
+ alias string
+ myIdx int
+ parent vocab.GoToSocialInteractingObjectProperty
+}
+
+// NewGoToSocialInteractingObjectPropertyIterator creates a new
+// GoToSocialInteractingObject property.
+func NewGoToSocialInteractingObjectPropertyIterator() *GoToSocialInteractingObjectPropertyIterator {
+ return &GoToSocialInteractingObjectPropertyIterator{alias: ""}
+}
+
+// deserializeGoToSocialInteractingObjectPropertyIterator creates an iterator from
+// an element that has been unmarshalled from a text or binary format.
+func deserializeGoToSocialInteractingObjectPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialInteractingObjectPropertyIterator, error) {
+ alias := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ }
+ if v, err := anyuri.DeserializeAnyURI(i); err == nil {
+ this := &GoToSocialInteractingObjectPropertyIterator{
+ alias: alias,
+ xmlschemaAnyURIMember: v,
+ }
+ return this, nil
+ }
+ this := &GoToSocialInteractingObjectPropertyIterator{
+ alias: alias,
+ unknown: i,
+ }
+ return this, nil
+}
+
+// Get returns the value of this property. When IsXMLSchemaAnyURI returns false,
+// Get will return any arbitrary value.
+func (this GoToSocialInteractingObjectPropertyIterator) Get() *url.URL {
+ return this.xmlschemaAnyURIMember
+}
+
+// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
+// return any arbitrary value.
+func (this GoToSocialInteractingObjectPropertyIterator) GetIRI() *url.URL {
+ return this.xmlschemaAnyURIMember
+}
+
+// HasAny returns true if the value or IRI is set.
+func (this GoToSocialInteractingObjectPropertyIterator) HasAny() bool {
+ return this.IsXMLSchemaAnyURI()
+}
+
+// IsIRI returns true if this property is an IRI.
+func (this GoToSocialInteractingObjectPropertyIterator) IsIRI() bool {
+ return this.xmlschemaAnyURIMember != nil
+}
+
+// IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
+func (this GoToSocialInteractingObjectPropertyIterator) IsXMLSchemaAnyURI() bool {
+ return this.xmlschemaAnyURIMember != nil
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this GoToSocialInteractingObjectPropertyIterator) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ var child map[string]string
+
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API detail only for folks looking to replace the go-fed
+// implementation. Applications should not use this method.
+func (this GoToSocialInteractingObjectPropertyIterator) KindIndex() int {
+ if this.IsXMLSchemaAnyURI() {
+ return 0
+ }
+ if this.IsIRI() {
+ return -2
+ }
+ return -1
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this GoToSocialInteractingObjectPropertyIterator) LessThan(o vocab.GoToSocialInteractingObjectPropertyIterator) bool {
+ if this.IsIRI() {
+ // IRIs are always less than other values, none, or unknowns
+ return true
+ } else if o.IsIRI() {
+ // This other, none, or unknown value is always greater than IRIs
+ return false
+ }
+ // LessThan comparison for the single value or unknown value.
+ if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
+ // Both are unknowns.
+ return false
+ } else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
+ // Values are always greater than unknown values.
+ return false
+ } else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() {
+ // Unknowns are always less than known values.
+ return true
+ } else {
+ // Actual comparison.
+ return anyuri.LessAnyURI(this.Get(), o.Get())
+ }
+}
+
+// Name returns the name of this property: "GoToSocialInteractingObject".
+func (this GoToSocialInteractingObjectPropertyIterator) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "GoToSocialInteractingObject"
+ } else {
+ return "GoToSocialInteractingObject"
+ }
+}
+
+// Next returns the next iterator, or nil if there is no next iterator.
+func (this GoToSocialInteractingObjectPropertyIterator) Next() vocab.GoToSocialInteractingObjectPropertyIterator {
+ if this.myIdx+1 >= this.parent.Len() {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx + 1)
+ }
+}
+
+// Prev returns the previous iterator, or nil if there is no previous iterator.
+func (this GoToSocialInteractingObjectPropertyIterator) Prev() vocab.GoToSocialInteractingObjectPropertyIterator {
+ if this.myIdx-1 < 0 {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx - 1)
+ }
+}
+
+// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will
+// return true.
+func (this *GoToSocialInteractingObjectPropertyIterator) Set(v *url.URL) {
+ this.clear()
+ this.xmlschemaAnyURIMember = v
+}
+
+// SetIRI sets the value of this property. Calling IsIRI afterwards will return
+// true.
+func (this *GoToSocialInteractingObjectPropertyIterator) SetIRI(v *url.URL) {
+ this.clear()
+ this.Set(v)
+}
+
+// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI
+// afterwards will return false.
+func (this *GoToSocialInteractingObjectPropertyIterator) clear() {
+ this.unknown = nil
+ this.xmlschemaAnyURIMember = nil
+}
+
+// serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this GoToSocialInteractingObjectPropertyIterator) serialize() (interface{}, error) {
+ if this.IsXMLSchemaAnyURI() {
+ return anyuri.SerializeAnyURI(this.Get())
+ }
+ return this.unknown, nil
+}
+
+// GoToSocialInteractingObjectProperty is the non-functional property
+// "interactingObject". It is permitted to have one or more values, and of
+// different value types.
+type GoToSocialInteractingObjectProperty struct {
+ properties []*GoToSocialInteractingObjectPropertyIterator
+ alias string
+}
+
+// DeserializeInteractingObjectProperty creates a "interactingObject" property
+// from an interface representation that has been unmarshalled from a text or
+// binary format.
+func DeserializeInteractingObjectProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) {
+ alias := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ }
+ propName := "interactingObject"
+ if len(alias) > 0 {
+ propName = fmt.Sprintf("%s:%s", alias, "interactingObject")
+ }
+ i, ok := m[propName]
+
+ if ok {
+ this := &GoToSocialInteractingObjectProperty{
+ alias: alias,
+ properties: []*GoToSocialInteractingObjectPropertyIterator{},
+ }
+ if list, ok := i.([]interface{}); ok {
+ for _, iterator := range list {
+ if p, err := deserializeGoToSocialInteractingObjectPropertyIterator(iterator, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ } else {
+ if p, err := deserializeGoToSocialInteractingObjectPropertyIterator(i, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ // Set up the properties for iteration.
+ for idx, ele := range this.properties {
+ ele.parent = this
+ ele.myIdx = idx
+ }
+ return this, nil
+ }
+ return nil, nil
+}
+
+// NewGoToSocialInteractingObjectProperty creates a new interactingObject property.
+func NewGoToSocialInteractingObjectProperty() *GoToSocialInteractingObjectProperty {
+ return &GoToSocialInteractingObjectProperty{alias: ""}
+}
+
+// AppendIRI appends an IRI value to the back of a list of the property
+// "interactingObject"
+func (this *GoToSocialInteractingObjectProperty) AppendIRI(v *url.URL) {
+ this.properties = append(this.properties, &GoToSocialInteractingObjectPropertyIterator{
+ alias: this.alias,
+ myIdx: this.Len(),
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ })
+}
+
+// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the
+// property "interactingObject". Invalidates iterators that are traversing
+// using Prev.
+func (this *GoToSocialInteractingObjectProperty) AppendXMLSchemaAnyURI(v *url.URL) {
+ this.properties = append(this.properties, &GoToSocialInteractingObjectPropertyIterator{
+ alias: this.alias,
+ myIdx: this.Len(),
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ })
+}
+
+// At returns the property value for the specified index. Panics if the index is
+// out of bounds.
+func (this GoToSocialInteractingObjectProperty) At(index int) vocab.GoToSocialInteractingObjectPropertyIterator {
+ return this.properties[index]
+}
+
+// Begin returns the first iterator, or nil if empty. Can be used with the
+// iterator's Next method and this property's End method to iterate from front
+// to back through all values.
+func (this GoToSocialInteractingObjectProperty) Begin() vocab.GoToSocialInteractingObjectPropertyIterator {
+ if this.Empty() {
+ return nil
+ } else {
+ return this.properties[0]
+ }
+}
+
+// Empty returns returns true if there are no elements.
+func (this GoToSocialInteractingObjectProperty) Empty() bool {
+ return this.Len() == 0
+}
+
+// End returns beyond-the-last iterator, which is nil. Can be used with the
+// iterator's Next method and this property's Begin method to iterate from
+// front to back through all values.
+func (this GoToSocialInteractingObjectProperty) End() vocab.GoToSocialInteractingObjectPropertyIterator {
+ return nil
+}
+
+// Insert inserts an IRI value at the specified index for a property
+// "interactingObject". Existing elements at that index and higher are shifted
+// back once. Invalidates all iterators.
+func (this *GoToSocialInteractingObjectProperty) InsertIRI(idx int, v *url.URL) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &GoToSocialInteractingObjectPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a
+// property "interactingObject". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *GoToSocialInteractingObjectProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &GoToSocialInteractingObjectPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this GoToSocialInteractingObjectProperty) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ for _, elem := range this.properties {
+ child := elem.JSONLDContext()
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API method specifically needed only for alternate implementations
+// for go-fed. Applications should not use this method. Panics if the index is
+// out of bounds.
+func (this GoToSocialInteractingObjectProperty) KindIndex(idx int) int {
+ return this.properties[idx].KindIndex()
+}
+
+// Len returns the number of values that exist for the "interactingObject"
+// property.
+func (this GoToSocialInteractingObjectProperty) Len() (length int) {
+ return len(this.properties)
+}
+
+// Less computes whether another property is less than this one. Mixing types
+// results in a consistent but arbitrary ordering
+func (this GoToSocialInteractingObjectProperty) Less(i, j int) bool {
+ idx1 := this.KindIndex(i)
+ idx2 := this.KindIndex(j)
+ if idx1 < idx2 {
+ return true
+ } else if idx1 == idx2 {
+ if idx1 == 0 {
+ lhs := this.properties[i].Get()
+ rhs := this.properties[j].Get()
+ return anyuri.LessAnyURI(lhs, rhs)
+ } else if idx1 == -2 {
+ lhs := this.properties[i].GetIRI()
+ rhs := this.properties[j].GetIRI()
+ return lhs.String() < rhs.String()
+ }
+ }
+ return false
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this GoToSocialInteractingObjectProperty) LessThan(o vocab.GoToSocialInteractingObjectProperty) bool {
+ l1 := this.Len()
+ l2 := o.Len()
+ l := l1
+ if l2 < l1 {
+ l = l2
+ }
+ for i := 0; i < l; i++ {
+ if this.properties[i].LessThan(o.At(i)) {
+ return true
+ } else if o.At(i).LessThan(this.properties[i]) {
+ return false
+ }
+ }
+ return l1 < l2
+}
+
+// Name returns the name of this property ("interactingObject") with any alias.
+func (this GoToSocialInteractingObjectProperty) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "interactingObject"
+ } else {
+ return "interactingObject"
+ }
+}
+
+// PrependIRI prepends an IRI value to the front of a list of the property
+// "interactingObject".
+func (this *GoToSocialInteractingObjectProperty) PrependIRI(v *url.URL) {
+ this.properties = append([]*GoToSocialInteractingObjectPropertyIterator{{
+ alias: this.alias,
+ myIdx: 0,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the
+// property "interactingObject". Invalidates all iterators.
+func (this *GoToSocialInteractingObjectProperty) PrependXMLSchemaAnyURI(v *url.URL) {
+ this.properties = append([]*GoToSocialInteractingObjectPropertyIterator{{
+ alias: this.alias,
+ myIdx: 0,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// Remove deletes an element at the specified index from a list of the property
+// "interactingObject", regardless of its type. Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *GoToSocialInteractingObjectProperty) Remove(idx int) {
+ (this.properties)[idx].parent = nil
+ copy((this.properties)[idx:], (this.properties)[idx+1:])
+ (this.properties)[len(this.properties)-1] = &GoToSocialInteractingObjectPropertyIterator{}
+ this.properties = (this.properties)[:len(this.properties)-1]
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// Serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this GoToSocialInteractingObjectProperty) Serialize() (interface{}, error) {
+ s := make([]interface{}, 0, len(this.properties))
+ for _, iterator := range this.properties {
+ if b, err := iterator.serialize(); err != nil {
+ return s, err
+ } else {
+ s = append(s, b)
+ }
+ }
+ // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
+ if len(s) == 1 {
+ return s[0], nil
+ }
+ return s, nil
+}
+
+// Set sets a anyURI value to be at the specified index for the property
+// "interactingObject". Panics if the index is out of bounds. Invalidates all
+// iterators.
+func (this *GoToSocialInteractingObjectProperty) Set(idx int, v *url.URL) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &GoToSocialInteractingObjectPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+}
+
+// SetIRI sets an IRI value to be at the specified index for the property
+// "interactingObject". Panics if the index is out of bounds.
+func (this *GoToSocialInteractingObjectProperty) SetIRI(idx int, v *url.URL) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &GoToSocialInteractingObjectPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+}
+
+// Swap swaps the location of values at two indices for the "interactingObject"
+// property.
+func (this GoToSocialInteractingObjectProperty) Swap(i, j int) {
+ this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go
new file mode 100644
index 000000000..b7633ec1a
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package propertyinteractiontarget contains the implementation for the
+// interactionTarget property. All applications are strongly encouraged to use
+// the interface instead of this concrete definition. The interfaces allow
+// applications to consume only the types and properties needed and be
+// independent of the go-fed implementation if another alternative
+// implementation is created. This package is code-generated and subject to
+// the same license as the go-fed tool used to generate it.
+//
+// This package is independent of other types' and properties' implementations
+// by having a Manager injected into it to act as a factory for the concrete
+// implementations. The implementations have been generated into their own
+// separate subpackages for each vocabulary.
+//
+// Strongly consider using the interfaces instead of this package.
+package propertyinteractiontarget
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go
new file mode 100644
index 000000000..c957dc08e
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go
@@ -0,0 +1,15 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertyinteractiontarget
+
+var mgr privateManager
+
+// privateManager abstracts the code-generated manager that provides access to
+// concrete implementations.
+type privateManager interface{}
+
+// SetManager sets the manager package-global variable. For internal use only, do
+// not use as part of Application behavior. Must be called at golang init time.
+func SetManager(m privateManager) {
+ mgr = m
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go
new file mode 100644
index 000000000..91e51a073
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_property_gotosocial_interactionTarget.go
@@ -0,0 +1,511 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertyinteractiontarget
+
+import (
+ anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI"
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "net/url"
+)
+
+// GoToSocialInteractionTargetPropertyIterator is an iterator for a property. It
+// is permitted to be a single nilable value type.
+type GoToSocialInteractionTargetPropertyIterator struct {
+ xmlschemaAnyURIMember *url.URL
+ unknown interface{}
+ alias string
+ myIdx int
+ parent vocab.GoToSocialInteractionTargetProperty
+}
+
+// NewGoToSocialInteractionTargetPropertyIterator creates a new
+// GoToSocialInteractionTarget property.
+func NewGoToSocialInteractionTargetPropertyIterator() *GoToSocialInteractionTargetPropertyIterator {
+ return &GoToSocialInteractionTargetPropertyIterator{alias: ""}
+}
+
+// deserializeGoToSocialInteractionTargetPropertyIterator creates an iterator from
+// an element that has been unmarshalled from a text or binary format.
+func deserializeGoToSocialInteractionTargetPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialInteractionTargetPropertyIterator, error) {
+ alias := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ }
+ if v, err := anyuri.DeserializeAnyURI(i); err == nil {
+ this := &GoToSocialInteractionTargetPropertyIterator{
+ alias: alias,
+ xmlschemaAnyURIMember: v,
+ }
+ return this, nil
+ }
+ this := &GoToSocialInteractionTargetPropertyIterator{
+ alias: alias,
+ unknown: i,
+ }
+ return this, nil
+}
+
+// Get returns the value of this property. When IsXMLSchemaAnyURI returns false,
+// Get will return any arbitrary value.
+func (this GoToSocialInteractionTargetPropertyIterator) Get() *url.URL {
+ return this.xmlschemaAnyURIMember
+}
+
+// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
+// return any arbitrary value.
+func (this GoToSocialInteractionTargetPropertyIterator) GetIRI() *url.URL {
+ return this.xmlschemaAnyURIMember
+}
+
+// HasAny returns true if the value or IRI is set.
+func (this GoToSocialInteractionTargetPropertyIterator) HasAny() bool {
+ return this.IsXMLSchemaAnyURI()
+}
+
+// IsIRI returns true if this property is an IRI.
+func (this GoToSocialInteractionTargetPropertyIterator) IsIRI() bool {
+ return this.xmlschemaAnyURIMember != nil
+}
+
+// IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
+func (this GoToSocialInteractionTargetPropertyIterator) IsXMLSchemaAnyURI() bool {
+ return this.xmlschemaAnyURIMember != nil
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this GoToSocialInteractionTargetPropertyIterator) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ var child map[string]string
+
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API detail only for folks looking to replace the go-fed
+// implementation. Applications should not use this method.
+func (this GoToSocialInteractionTargetPropertyIterator) KindIndex() int {
+ if this.IsXMLSchemaAnyURI() {
+ return 0
+ }
+ if this.IsIRI() {
+ return -2
+ }
+ return -1
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this GoToSocialInteractionTargetPropertyIterator) LessThan(o vocab.GoToSocialInteractionTargetPropertyIterator) bool {
+ if this.IsIRI() {
+ // IRIs are always less than other values, none, or unknowns
+ return true
+ } else if o.IsIRI() {
+ // This other, none, or unknown value is always greater than IRIs
+ return false
+ }
+ // LessThan comparison for the single value or unknown value.
+ if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
+ // Both are unknowns.
+ return false
+ } else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
+ // Values are always greater than unknown values.
+ return false
+ } else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() {
+ // Unknowns are always less than known values.
+ return true
+ } else {
+ // Actual comparison.
+ return anyuri.LessAnyURI(this.Get(), o.Get())
+ }
+}
+
+// Name returns the name of this property: "GoToSocialInteractionTarget".
+func (this GoToSocialInteractionTargetPropertyIterator) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "GoToSocialInteractionTarget"
+ } else {
+ return "GoToSocialInteractionTarget"
+ }
+}
+
+// Next returns the next iterator, or nil if there is no next iterator.
+func (this GoToSocialInteractionTargetPropertyIterator) Next() vocab.GoToSocialInteractionTargetPropertyIterator {
+ if this.myIdx+1 >= this.parent.Len() {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx + 1)
+ }
+}
+
+// Prev returns the previous iterator, or nil if there is no previous iterator.
+func (this GoToSocialInteractionTargetPropertyIterator) Prev() vocab.GoToSocialInteractionTargetPropertyIterator {
+ if this.myIdx-1 < 0 {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx - 1)
+ }
+}
+
+// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will
+// return true.
+func (this *GoToSocialInteractionTargetPropertyIterator) Set(v *url.URL) {
+ this.clear()
+ this.xmlschemaAnyURIMember = v
+}
+
+// SetIRI sets the value of this property. Calling IsIRI afterwards will return
+// true.
+func (this *GoToSocialInteractionTargetPropertyIterator) SetIRI(v *url.URL) {
+ this.clear()
+ this.Set(v)
+}
+
+// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI
+// afterwards will return false.
+func (this *GoToSocialInteractionTargetPropertyIterator) clear() {
+ this.unknown = nil
+ this.xmlschemaAnyURIMember = nil
+}
+
+// serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this GoToSocialInteractionTargetPropertyIterator) serialize() (interface{}, error) {
+ if this.IsXMLSchemaAnyURI() {
+ return anyuri.SerializeAnyURI(this.Get())
+ }
+ return this.unknown, nil
+}
+
+// GoToSocialInteractionTargetProperty is the non-functional property
+// "interactionTarget". It is permitted to have one or more values, and of
+// different value types.
+type GoToSocialInteractionTargetProperty struct {
+ properties []*GoToSocialInteractionTargetPropertyIterator
+ alias string
+}
+
+// DeserializeInteractionTargetProperty creates a "interactionTarget" property
+// from an interface representation that has been unmarshalled from a text or
+// binary format.
+func DeserializeInteractionTargetProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) {
+ alias := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ }
+ propName := "interactionTarget"
+ if len(alias) > 0 {
+ propName = fmt.Sprintf("%s:%s", alias, "interactionTarget")
+ }
+ i, ok := m[propName]
+
+ if ok {
+ this := &GoToSocialInteractionTargetProperty{
+ alias: alias,
+ properties: []*GoToSocialInteractionTargetPropertyIterator{},
+ }
+ if list, ok := i.([]interface{}); ok {
+ for _, iterator := range list {
+ if p, err := deserializeGoToSocialInteractionTargetPropertyIterator(iterator, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ } else {
+ if p, err := deserializeGoToSocialInteractionTargetPropertyIterator(i, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ // Set up the properties for iteration.
+ for idx, ele := range this.properties {
+ ele.parent = this
+ ele.myIdx = idx
+ }
+ return this, nil
+ }
+ return nil, nil
+}
+
+// NewGoToSocialInteractionTargetProperty creates a new interactionTarget property.
+func NewGoToSocialInteractionTargetProperty() *GoToSocialInteractionTargetProperty {
+ return &GoToSocialInteractionTargetProperty{alias: ""}
+}
+
+// AppendIRI appends an IRI value to the back of a list of the property
+// "interactionTarget"
+func (this *GoToSocialInteractionTargetProperty) AppendIRI(v *url.URL) {
+ this.properties = append(this.properties, &GoToSocialInteractionTargetPropertyIterator{
+ alias: this.alias,
+ myIdx: this.Len(),
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ })
+}
+
+// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the
+// property "interactionTarget". Invalidates iterators that are traversing
+// using Prev.
+func (this *GoToSocialInteractionTargetProperty) AppendXMLSchemaAnyURI(v *url.URL) {
+ this.properties = append(this.properties, &GoToSocialInteractionTargetPropertyIterator{
+ alias: this.alias,
+ myIdx: this.Len(),
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ })
+}
+
+// At returns the property value for the specified index. Panics if the index is
+// out of bounds.
+func (this GoToSocialInteractionTargetProperty) At(index int) vocab.GoToSocialInteractionTargetPropertyIterator {
+ return this.properties[index]
+}
+
+// Begin returns the first iterator, or nil if empty. Can be used with the
+// iterator's Next method and this property's End method to iterate from front
+// to back through all values.
+func (this GoToSocialInteractionTargetProperty) Begin() vocab.GoToSocialInteractionTargetPropertyIterator {
+ if this.Empty() {
+ return nil
+ } else {
+ return this.properties[0]
+ }
+}
+
+// Empty returns returns true if there are no elements.
+func (this GoToSocialInteractionTargetProperty) Empty() bool {
+ return this.Len() == 0
+}
+
+// End returns beyond-the-last iterator, which is nil. Can be used with the
+// iterator's Next method and this property's Begin method to iterate from
+// front to back through all values.
+func (this GoToSocialInteractionTargetProperty) End() vocab.GoToSocialInteractionTargetPropertyIterator {
+ return nil
+}
+
+// Insert inserts an IRI value at the specified index for a property
+// "interactionTarget". Existing elements at that index and higher are shifted
+// back once. Invalidates all iterators.
+func (this *GoToSocialInteractionTargetProperty) InsertIRI(idx int, v *url.URL) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &GoToSocialInteractionTargetPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a
+// property "interactionTarget". Existing elements at that index and higher
+// are shifted back once. Invalidates all iterators.
+func (this *GoToSocialInteractionTargetProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &GoToSocialInteractionTargetPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this GoToSocialInteractionTargetProperty) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ for _, elem := range this.properties {
+ child := elem.JSONLDContext()
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API method specifically needed only for alternate implementations
+// for go-fed. Applications should not use this method. Panics if the index is
+// out of bounds.
+func (this GoToSocialInteractionTargetProperty) KindIndex(idx int) int {
+ return this.properties[idx].KindIndex()
+}
+
+// Len returns the number of values that exist for the "interactionTarget"
+// property.
+func (this GoToSocialInteractionTargetProperty) Len() (length int) {
+ return len(this.properties)
+}
+
+// Less computes whether another property is less than this one. Mixing types
+// results in a consistent but arbitrary ordering
+func (this GoToSocialInteractionTargetProperty) Less(i, j int) bool {
+ idx1 := this.KindIndex(i)
+ idx2 := this.KindIndex(j)
+ if idx1 < idx2 {
+ return true
+ } else if idx1 == idx2 {
+ if idx1 == 0 {
+ lhs := this.properties[i].Get()
+ rhs := this.properties[j].Get()
+ return anyuri.LessAnyURI(lhs, rhs)
+ } else if idx1 == -2 {
+ lhs := this.properties[i].GetIRI()
+ rhs := this.properties[j].GetIRI()
+ return lhs.String() < rhs.String()
+ }
+ }
+ return false
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this GoToSocialInteractionTargetProperty) LessThan(o vocab.GoToSocialInteractionTargetProperty) bool {
+ l1 := this.Len()
+ l2 := o.Len()
+ l := l1
+ if l2 < l1 {
+ l = l2
+ }
+ for i := 0; i < l; i++ {
+ if this.properties[i].LessThan(o.At(i)) {
+ return true
+ } else if o.At(i).LessThan(this.properties[i]) {
+ return false
+ }
+ }
+ return l1 < l2
+}
+
+// Name returns the name of this property ("interactionTarget") with any alias.
+func (this GoToSocialInteractionTargetProperty) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "interactionTarget"
+ } else {
+ return "interactionTarget"
+ }
+}
+
+// PrependIRI prepends an IRI value to the front of a list of the property
+// "interactionTarget".
+func (this *GoToSocialInteractionTargetProperty) PrependIRI(v *url.URL) {
+ this.properties = append([]*GoToSocialInteractionTargetPropertyIterator{{
+ alias: this.alias,
+ myIdx: 0,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the
+// property "interactionTarget". Invalidates all iterators.
+func (this *GoToSocialInteractionTargetProperty) PrependXMLSchemaAnyURI(v *url.URL) {
+ this.properties = append([]*GoToSocialInteractionTargetPropertyIterator{{
+ alias: this.alias,
+ myIdx: 0,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// Remove deletes an element at the specified index from a list of the property
+// "interactionTarget", regardless of its type. Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *GoToSocialInteractionTargetProperty) Remove(idx int) {
+ (this.properties)[idx].parent = nil
+ copy((this.properties)[idx:], (this.properties)[idx+1:])
+ (this.properties)[len(this.properties)-1] = &GoToSocialInteractionTargetPropertyIterator{}
+ this.properties = (this.properties)[:len(this.properties)-1]
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// Serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this GoToSocialInteractionTargetProperty) Serialize() (interface{}, error) {
+ s := make([]interface{}, 0, len(this.properties))
+ for _, iterator := range this.properties {
+ if b, err := iterator.serialize(); err != nil {
+ return s, err
+ } else {
+ s = append(s, b)
+ }
+ }
+ // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
+ if len(s) == 1 {
+ return s[0], nil
+ }
+ return s, nil
+}
+
+// Set sets a anyURI value to be at the specified index for the property
+// "interactionTarget". Panics if the index is out of bounds. Invalidates all
+// iterators.
+func (this *GoToSocialInteractionTargetProperty) Set(idx int, v *url.URL) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &GoToSocialInteractionTargetPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+}
+
+// SetIRI sets an IRI value to be at the specified index for the property
+// "interactionTarget". Panics if the index is out of bounds.
+func (this *GoToSocialInteractionTargetProperty) SetIRI(idx int, v *url.URL) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &GoToSocialInteractionTargetPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+}
+
+// Swap swaps the location of values at two indices for the "interactionTarget"
+// property.
+func (this GoToSocialInteractionTargetProperty) Swap(i, j int) {
+ this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go
new file mode 100644
index 000000000..19ff2b245
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package propertymanualapproval contains the implementation for the
+// manualApproval property. All applications are strongly encouraged to use
+// the interface instead of this concrete definition. The interfaces allow
+// applications to consume only the types and properties needed and be
+// independent of the go-fed implementation if another alternative
+// implementation is created. This package is code-generated and subject to
+// the same license as the go-fed tool used to generate it.
+//
+// This package is independent of other types' and properties' implementations
+// by having a Manager injected into it to act as a factory for the concrete
+// implementations. The implementations have been generated into their own
+// separate subpackages for each vocabulary.
+//
+// Strongly consider using the interfaces instead of this package.
+package propertymanualapproval
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go
new file mode 100644
index 000000000..e9ee735e2
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go
@@ -0,0 +1,15 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertymanualapproval
+
+var mgr privateManager
+
+// privateManager abstracts the code-generated manager that provides access to
+// concrete implementations.
+type privateManager interface{}
+
+// SetManager sets the manager package-global variable. For internal use only, do
+// not use as part of Application behavior. Must be called at golang init time.
+func SetManager(m privateManager) {
+ mgr = m
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go
new file mode 100644
index 000000000..39180fb1b
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go
@@ -0,0 +1,510 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertymanualapproval
+
+import (
+ anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI"
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "net/url"
+)
+
+// GoToSocialManualApprovalPropertyIterator is an iterator for a property. It is
+// permitted to be a single nilable value type.
+type GoToSocialManualApprovalPropertyIterator struct {
+ xmlschemaAnyURIMember *url.URL
+ unknown interface{}
+ alias string
+ myIdx int
+ parent vocab.GoToSocialManualApprovalProperty
+}
+
+// NewGoToSocialManualApprovalPropertyIterator creates a new
+// GoToSocialManualApproval property.
+func NewGoToSocialManualApprovalPropertyIterator() *GoToSocialManualApprovalPropertyIterator {
+ return &GoToSocialManualApprovalPropertyIterator{alias: ""}
+}
+
+// deserializeGoToSocialManualApprovalPropertyIterator creates an iterator from an
+// element that has been unmarshalled from a text or binary format.
+func deserializeGoToSocialManualApprovalPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialManualApprovalPropertyIterator, error) {
+ alias := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ }
+ if v, err := anyuri.DeserializeAnyURI(i); err == nil {
+ this := &GoToSocialManualApprovalPropertyIterator{
+ alias: alias,
+ xmlschemaAnyURIMember: v,
+ }
+ return this, nil
+ }
+ this := &GoToSocialManualApprovalPropertyIterator{
+ alias: alias,
+ unknown: i,
+ }
+ return this, nil
+}
+
+// Get returns the value of this property. When IsXMLSchemaAnyURI returns false,
+// Get will return any arbitrary value.
+func (this GoToSocialManualApprovalPropertyIterator) Get() *url.URL {
+ return this.xmlschemaAnyURIMember
+}
+
+// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
+// return any arbitrary value.
+func (this GoToSocialManualApprovalPropertyIterator) GetIRI() *url.URL {
+ return this.xmlschemaAnyURIMember
+}
+
+// HasAny returns true if the value or IRI is set.
+func (this GoToSocialManualApprovalPropertyIterator) HasAny() bool {
+ return this.IsXMLSchemaAnyURI()
+}
+
+// IsIRI returns true if this property is an IRI.
+func (this GoToSocialManualApprovalPropertyIterator) IsIRI() bool {
+ return this.xmlschemaAnyURIMember != nil
+}
+
+// IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
+func (this GoToSocialManualApprovalPropertyIterator) IsXMLSchemaAnyURI() bool {
+ return this.xmlschemaAnyURIMember != nil
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this GoToSocialManualApprovalPropertyIterator) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ var child map[string]string
+
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API detail only for folks looking to replace the go-fed
+// implementation. Applications should not use this method.
+func (this GoToSocialManualApprovalPropertyIterator) KindIndex() int {
+ if this.IsXMLSchemaAnyURI() {
+ return 0
+ }
+ if this.IsIRI() {
+ return -2
+ }
+ return -1
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this GoToSocialManualApprovalPropertyIterator) LessThan(o vocab.GoToSocialManualApprovalPropertyIterator) bool {
+ if this.IsIRI() {
+ // IRIs are always less than other values, none, or unknowns
+ return true
+ } else if o.IsIRI() {
+ // This other, none, or unknown value is always greater than IRIs
+ return false
+ }
+ // LessThan comparison for the single value or unknown value.
+ if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
+ // Both are unknowns.
+ return false
+ } else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
+ // Values are always greater than unknown values.
+ return false
+ } else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() {
+ // Unknowns are always less than known values.
+ return true
+ } else {
+ // Actual comparison.
+ return anyuri.LessAnyURI(this.Get(), o.Get())
+ }
+}
+
+// Name returns the name of this property: "GoToSocialManualApproval".
+func (this GoToSocialManualApprovalPropertyIterator) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "GoToSocialManualApproval"
+ } else {
+ return "GoToSocialManualApproval"
+ }
+}
+
+// Next returns the next iterator, or nil if there is no next iterator.
+func (this GoToSocialManualApprovalPropertyIterator) Next() vocab.GoToSocialManualApprovalPropertyIterator {
+ if this.myIdx+1 >= this.parent.Len() {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx + 1)
+ }
+}
+
+// Prev returns the previous iterator, or nil if there is no previous iterator.
+func (this GoToSocialManualApprovalPropertyIterator) Prev() vocab.GoToSocialManualApprovalPropertyIterator {
+ if this.myIdx-1 < 0 {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx - 1)
+ }
+}
+
+// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will
+// return true.
+func (this *GoToSocialManualApprovalPropertyIterator) Set(v *url.URL) {
+ this.clear()
+ this.xmlschemaAnyURIMember = v
+}
+
+// SetIRI sets the value of this property. Calling IsIRI afterwards will return
+// true.
+func (this *GoToSocialManualApprovalPropertyIterator) SetIRI(v *url.URL) {
+ this.clear()
+ this.Set(v)
+}
+
+// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI
+// afterwards will return false.
+func (this *GoToSocialManualApprovalPropertyIterator) clear() {
+ this.unknown = nil
+ this.xmlschemaAnyURIMember = nil
+}
+
+// serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this GoToSocialManualApprovalPropertyIterator) serialize() (interface{}, error) {
+ if this.IsXMLSchemaAnyURI() {
+ return anyuri.SerializeAnyURI(this.Get())
+ }
+ return this.unknown, nil
+}
+
+// GoToSocialManualApprovalProperty is the non-functional property
+// "manualApproval". It is permitted to have one or more values, and of
+// different value types.
+type GoToSocialManualApprovalProperty struct {
+ properties []*GoToSocialManualApprovalPropertyIterator
+ alias string
+}
+
+// DeserializeManualApprovalProperty creates a "manualApproval" property from an
+// interface representation that has been unmarshalled from a text or binary
+// format.
+func DeserializeManualApprovalProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialManualApprovalProperty, error) {
+ alias := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ }
+ propName := "manualApproval"
+ if len(alias) > 0 {
+ propName = fmt.Sprintf("%s:%s", alias, "manualApproval")
+ }
+ i, ok := m[propName]
+
+ if ok {
+ this := &GoToSocialManualApprovalProperty{
+ alias: alias,
+ properties: []*GoToSocialManualApprovalPropertyIterator{},
+ }
+ if list, ok := i.([]interface{}); ok {
+ for _, iterator := range list {
+ if p, err := deserializeGoToSocialManualApprovalPropertyIterator(iterator, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ } else {
+ if p, err := deserializeGoToSocialManualApprovalPropertyIterator(i, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ // Set up the properties for iteration.
+ for idx, ele := range this.properties {
+ ele.parent = this
+ ele.myIdx = idx
+ }
+ return this, nil
+ }
+ return nil, nil
+}
+
+// NewGoToSocialManualApprovalProperty creates a new manualApproval property.
+func NewGoToSocialManualApprovalProperty() *GoToSocialManualApprovalProperty {
+ return &GoToSocialManualApprovalProperty{alias: ""}
+}
+
+// AppendIRI appends an IRI value to the back of a list of the property
+// "manualApproval"
+func (this *GoToSocialManualApprovalProperty) AppendIRI(v *url.URL) {
+ this.properties = append(this.properties, &GoToSocialManualApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: this.Len(),
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ })
+}
+
+// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the
+// property "manualApproval". Invalidates iterators that are traversing using
+// Prev.
+func (this *GoToSocialManualApprovalProperty) AppendXMLSchemaAnyURI(v *url.URL) {
+ this.properties = append(this.properties, &GoToSocialManualApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: this.Len(),
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ })
+}
+
+// At returns the property value for the specified index. Panics if the index is
+// out of bounds.
+func (this GoToSocialManualApprovalProperty) At(index int) vocab.GoToSocialManualApprovalPropertyIterator {
+ return this.properties[index]
+}
+
+// Begin returns the first iterator, or nil if empty. Can be used with the
+// iterator's Next method and this property's End method to iterate from front
+// to back through all values.
+func (this GoToSocialManualApprovalProperty) Begin() vocab.GoToSocialManualApprovalPropertyIterator {
+ if this.Empty() {
+ return nil
+ } else {
+ return this.properties[0]
+ }
+}
+
+// Empty returns returns true if there are no elements.
+func (this GoToSocialManualApprovalProperty) Empty() bool {
+ return this.Len() == 0
+}
+
+// End returns beyond-the-last iterator, which is nil. Can be used with the
+// iterator's Next method and this property's Begin method to iterate from
+// front to back through all values.
+func (this GoToSocialManualApprovalProperty) End() vocab.GoToSocialManualApprovalPropertyIterator {
+ return nil
+}
+
+// Insert inserts an IRI value at the specified index for a property
+// "manualApproval". Existing elements at that index and higher are shifted
+// back once. Invalidates all iterators.
+func (this *GoToSocialManualApprovalProperty) InsertIRI(idx int, v *url.URL) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &GoToSocialManualApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a
+// property "manualApproval". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *GoToSocialManualApprovalProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &GoToSocialManualApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this GoToSocialManualApprovalProperty) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ for _, elem := range this.properties {
+ child := elem.JSONLDContext()
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API method specifically needed only for alternate implementations
+// for go-fed. Applications should not use this method. Panics if the index is
+// out of bounds.
+func (this GoToSocialManualApprovalProperty) KindIndex(idx int) int {
+ return this.properties[idx].KindIndex()
+}
+
+// Len returns the number of values that exist for the "manualApproval" property.
+func (this GoToSocialManualApprovalProperty) Len() (length int) {
+ return len(this.properties)
+}
+
+// Less computes whether another property is less than this one. Mixing types
+// results in a consistent but arbitrary ordering
+func (this GoToSocialManualApprovalProperty) Less(i, j int) bool {
+ idx1 := this.KindIndex(i)
+ idx2 := this.KindIndex(j)
+ if idx1 < idx2 {
+ return true
+ } else if idx1 == idx2 {
+ if idx1 == 0 {
+ lhs := this.properties[i].Get()
+ rhs := this.properties[j].Get()
+ return anyuri.LessAnyURI(lhs, rhs)
+ } else if idx1 == -2 {
+ lhs := this.properties[i].GetIRI()
+ rhs := this.properties[j].GetIRI()
+ return lhs.String() < rhs.String()
+ }
+ }
+ return false
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this GoToSocialManualApprovalProperty) LessThan(o vocab.GoToSocialManualApprovalProperty) bool {
+ l1 := this.Len()
+ l2 := o.Len()
+ l := l1
+ if l2 < l1 {
+ l = l2
+ }
+ for i := 0; i < l; i++ {
+ if this.properties[i].LessThan(o.At(i)) {
+ return true
+ } else if o.At(i).LessThan(this.properties[i]) {
+ return false
+ }
+ }
+ return l1 < l2
+}
+
+// Name returns the name of this property ("manualApproval") with any alias.
+func (this GoToSocialManualApprovalProperty) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "manualApproval"
+ } else {
+ return "manualApproval"
+ }
+}
+
+// PrependIRI prepends an IRI value to the front of a list of the property
+// "manualApproval".
+func (this *GoToSocialManualApprovalProperty) PrependIRI(v *url.URL) {
+ this.properties = append([]*GoToSocialManualApprovalPropertyIterator{{
+ alias: this.alias,
+ myIdx: 0,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the
+// property "manualApproval". Invalidates all iterators.
+func (this *GoToSocialManualApprovalProperty) PrependXMLSchemaAnyURI(v *url.URL) {
+ this.properties = append([]*GoToSocialManualApprovalPropertyIterator{{
+ alias: this.alias,
+ myIdx: 0,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// Remove deletes an element at the specified index from a list of the property
+// "manualApproval", regardless of its type. Panics if the index is out of
+// bounds. Invalidates all iterators.
+func (this *GoToSocialManualApprovalProperty) Remove(idx int) {
+ (this.properties)[idx].parent = nil
+ copy((this.properties)[idx:], (this.properties)[idx+1:])
+ (this.properties)[len(this.properties)-1] = &GoToSocialManualApprovalPropertyIterator{}
+ this.properties = (this.properties)[:len(this.properties)-1]
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// Serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this GoToSocialManualApprovalProperty) Serialize() (interface{}, error) {
+ s := make([]interface{}, 0, len(this.properties))
+ for _, iterator := range this.properties {
+ if b, err := iterator.serialize(); err != nil {
+ return s, err
+ } else {
+ s = append(s, b)
+ }
+ }
+ // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
+ if len(s) == 1 {
+ return s[0], nil
+ }
+ return s, nil
+}
+
+// Set sets a anyURI value to be at the specified index for the property
+// "manualApproval". Panics if the index is out of bounds. Invalidates all
+// iterators.
+func (this *GoToSocialManualApprovalProperty) Set(idx int, v *url.URL) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &GoToSocialManualApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+}
+
+// SetIRI sets an IRI value to be at the specified index for the property
+// "manualApproval". Panics if the index is out of bounds.
+func (this *GoToSocialManualApprovalProperty) SetIRI(idx int, v *url.URL) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &GoToSocialManualApprovalPropertyIterator{
+ alias: this.alias,
+ myIdx: idx,
+ parent: this,
+ xmlschemaAnyURIMember: v,
+ }
+}
+
+// Swap swaps the location of values at two indices for the "manualApproval"
+// property.
+func (this GoToSocialManualApprovalProperty) Swap(i, j int) {
+ this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go
index 49deeb0ad..5fa2f5921 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval/gen_type_gotosocial_announceapproval.go
@@ -8,6 +8,7 @@ import (
"strings"
)
+// DEPRECATED: Use `AnnounceAuthorization` instead.
type GoToSocialAnnounceApproval struct {
ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty
ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go
new file mode 100644
index 000000000..549e0ed59
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package typeannounceauthorization contains the implementation for the
+// AnnounceAuthorization 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 typeannounceauthorization
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go
new file mode 100644
index 000000000..f69622be6
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go
@@ -0,0 +1,189 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typeannounceauthorization
+
+import vocab "codeberg.org/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)
+ // DeserializeInteractingObjectPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialInteractingObjectProperty" non-functional property in
+ // the vocabulary "GoToSocial"
+ DeserializeInteractingObjectPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractingObjectProperty, error)
+ // DeserializeInteractionTargetPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialInteractionTargetProperty" non-functional property in
+ // the vocabulary "GoToSocial"
+ DeserializeInteractionTargetPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractionTargetProperty, 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go
new file mode 100644
index 000000000..199aafba2
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_type_gotosocial_announceauthorization.go
@@ -0,0 +1,1726 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typeannounceauthorization
+
+import (
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "strings"
+)
+
+type GoToSocialAnnounceAuthorization 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
+ GoToSocialInteractingObject vocab.GoToSocialInteractingObjectProperty
+ GoToSocialInteractionTarget vocab.GoToSocialInteractionTargetProperty
+ 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{}
+}
+
+// AnnounceAuthorizationIsDisjointWith returns true if the other provided type is
+// disjoint with the AnnounceAuthorization type.
+func AnnounceAuthorizationIsDisjointWith(other vocab.Type) bool {
+ disjointWith := []string{"Hashtag", "Link", "Mention"}
+ for _, disjoint := range disjointWith {
+ if disjoint == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// AnnounceAuthorizationIsExtendedBy returns true if the other provided type
+// extends from the AnnounceAuthorization type. Note that it returns false if
+// the types are the same; see the "IsOrExtendsAnnounceAuthorization" variant
+// instead.
+func AnnounceAuthorizationIsExtendedBy(other vocab.Type) bool {
+ // Shortcut implementation: is not extended by anything.
+ return false
+}
+
+// DeserializeAnnounceAuthorization creates a AnnounceAuthorization from a map
+// representation that has been unmarshalled from a text or binary format.
+func DeserializeAnnounceAuthorization(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialAnnounceAuthorization, error) {
+ alias := ""
+ aliasPrefix := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ aliasPrefix = a + ":"
+ }
+ this := &GoToSocialAnnounceAuthorization{
+ 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 != "AnnounceAuthorization" {
+ return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "AnnounceAuthorization", 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) == "AnnounceAuthorization" {
+ found = true
+ break
+ }
+ }
+ if !found {
+ return nil, fmt.Errorf("could not find a \"type\" property of value %q", "AnnounceAuthorization")
+ }
+ // 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.DeserializeInteractingObjectPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialInteractingObject = p
+ }
+ if p, err := mgr.DeserializeInteractionTargetPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialInteractionTarget = 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 == "interactingObject" {
+ continue
+ } else if k == "interactionTarget" {
+ 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
+}
+
+// GoToSocialAnnounceAuthorizationExtends returns true if the
+// AnnounceAuthorization type extends from the other type.
+func GoToSocialAnnounceAuthorizationExtends(other vocab.Type) bool {
+ extensions := []string{"Object"}
+ for _, ext := range extensions {
+ if ext == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// IsOrExtendsAnnounceAuthorization returns true if the other provided type is the
+// AnnounceAuthorization type or extends from the AnnounceAuthorization type.
+func IsOrExtendsAnnounceAuthorization(other vocab.Type) bool {
+ if other.GetTypeName() == "AnnounceAuthorization" {
+ return true
+ }
+ return AnnounceAuthorizationIsExtendedBy(other)
+}
+
+// NewGoToSocialAnnounceAuthorization creates a new AnnounceAuthorization type
+func NewGoToSocialAnnounceAuthorization() *GoToSocialAnnounceAuthorization {
+ typeProp := typePropertyConstructor()
+ typeProp.AppendXMLSchemaString("AnnounceAuthorization")
+ return &GoToSocialAnnounceAuthorization{
+ JSONLDType: typeProp,
+ alias: "",
+ unknown: make(map[string]interface{}),
+ }
+}
+
+// GetActivityStreamsAltitude returns the "altitude" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty {
+ return this.ActivityStreamsAltitude
+}
+
+// GetActivityStreamsAttachment returns the "attachment" property if it exists,
+// and nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty {
+ return this.ActivityStreamsAttachment
+}
+
+// GetActivityStreamsAttributedTo returns the "attributedTo" property if it
+// exists, and nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty {
+ return this.ActivityStreamsAttributedTo
+}
+
+// GetActivityStreamsAudience returns the "audience" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty {
+ return this.ActivityStreamsAudience
+}
+
+// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty {
+ return this.ActivityStreamsBcc
+}
+
+// GetActivityStreamsBto returns the "bto" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty {
+ return this.ActivityStreamsBto
+}
+
+// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty {
+ return this.ActivityStreamsCc
+}
+
+// GetActivityStreamsContent returns the "content" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty {
+ return this.ActivityStreamsContent
+}
+
+// GetActivityStreamsContext returns the "context" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty {
+ return this.ActivityStreamsContext
+}
+
+// GetActivityStreamsDuration returns the "duration" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty {
+ return this.ActivityStreamsDuration
+}
+
+// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty {
+ return this.ActivityStreamsEndTime
+}
+
+// GetActivityStreamsGenerator returns the "generator" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty {
+ return this.ActivityStreamsGenerator
+}
+
+// GetActivityStreamsIcon returns the "icon" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty {
+ return this.ActivityStreamsIcon
+}
+
+// GetActivityStreamsImage returns the "image" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty {
+ return this.ActivityStreamsImage
+}
+
+// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty {
+ return this.ActivityStreamsInReplyTo
+}
+
+// GetActivityStreamsLikes returns the "likes" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty {
+ return this.ActivityStreamsLikes
+}
+
+// GetActivityStreamsLocation returns the "location" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty {
+ return this.ActivityStreamsLocation
+}
+
+// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty {
+ return this.ActivityStreamsMediaType
+}
+
+// GetActivityStreamsName returns the "name" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsName() vocab.ActivityStreamsNameProperty {
+ return this.ActivityStreamsName
+}
+
+// GetActivityStreamsObject returns the "object" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty {
+ return this.ActivityStreamsObject
+}
+
+// GetActivityStreamsPreview returns the "preview" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty {
+ return this.ActivityStreamsPreview
+}
+
+// GetActivityStreamsPublished returns the "published" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty {
+ return this.ActivityStreamsPublished
+}
+
+// GetActivityStreamsReplies returns the "replies" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty {
+ return this.ActivityStreamsReplies
+}
+
+// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty {
+ return this.ActivityStreamsSensitive
+}
+
+// GetActivityStreamsShares returns the "shares" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty {
+ return this.ActivityStreamsShares
+}
+
+// GetActivityStreamsSource returns the "source" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty {
+ return this.ActivityStreamsSource
+}
+
+// GetActivityStreamsStartTime returns the "startTime" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty {
+ return this.ActivityStreamsStartTime
+}
+
+// GetActivityStreamsSummary returns the "summary" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty {
+ return this.ActivityStreamsSummary
+}
+
+// GetActivityStreamsTag returns the "tag" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty {
+ return this.ActivityStreamsTag
+}
+
+// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsTo() vocab.ActivityStreamsToProperty {
+ return this.ActivityStreamsTo
+}
+
+// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty {
+ return this.ActivityStreamsUpdated
+}
+
+// GetActivityStreamsUrl returns the "url" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceAuthorization) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty {
+ return this.ActivityStreamsUrl
+}
+
+// GetGoToSocialInteractingObject returns the "interactingObject" property if it
+// exists, and nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetGoToSocialInteractingObject() vocab.GoToSocialInteractingObjectProperty {
+ return this.GoToSocialInteractingObject
+}
+
+// GetGoToSocialInteractionTarget returns the "interactionTarget" property if it
+// exists, and nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetGoToSocialInteractionTarget() vocab.GoToSocialInteractionTargetProperty {
+ return this.GoToSocialInteractionTarget
+}
+
+// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetJSONLDId() vocab.JSONLDIdProperty {
+ return this.JSONLDId
+}
+
+// GetJSONLDType returns the "type" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceAuthorization) GetJSONLDType() vocab.JSONLDTypeProperty {
+ return this.JSONLDType
+}
+
+// GetTypeName returns the name of this type.
+func (this GoToSocialAnnounceAuthorization) GetTypeName() string {
+ return "AnnounceAuthorization"
+}
+
+// GetUnknownProperties returns the unknown properties for the
+// AnnounceAuthorization 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 GoToSocialAnnounceAuthorization) GetUnknownProperties() map[string]interface{} {
+ return this.unknown
+}
+
+// IsExtending returns true if the AnnounceAuthorization type extends from the
+// other type.
+func (this GoToSocialAnnounceAuthorization) IsExtending(other vocab.Type) bool {
+ return GoToSocialAnnounceAuthorizationExtends(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 GoToSocialAnnounceAuthorization) 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.GoToSocialInteractingObject, m)
+ m = this.helperJSONLDContext(this.GoToSocialInteractionTarget, 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 AnnounceAuthorization is lesser, with an arbitrary
+// but stable determination.
+func (this GoToSocialAnnounceAuthorization) LessThan(o vocab.GoToSocialAnnounceAuthorization) 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 "interactingObject"
+ if lhs, rhs := this.GoToSocialInteractingObject, o.GetGoToSocialInteractingObject(); 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 "interactionTarget"
+ if lhs, rhs := this.GoToSocialInteractionTarget, o.GetGoToSocialInteractionTarget(); 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 GoToSocialAnnounceAuthorization) Serialize() (map[string]interface{}, error) {
+ m := make(map[string]interface{})
+ typeName := "AnnounceAuthorization"
+ if len(this.alias) > 0 {
+ typeName = this.alias + ":" + "AnnounceAuthorization"
+ }
+ 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 "interactingObject"
+ if this.GoToSocialInteractingObject != nil {
+ if i, err := this.GoToSocialInteractingObject.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialInteractingObject.Name()] = i
+ }
+ }
+ // Maybe serialize property "interactionTarget"
+ if this.GoToSocialInteractionTarget != nil {
+ if i, err := this.GoToSocialInteractionTarget.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialInteractionTarget.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 *GoToSocialAnnounceAuthorization) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) {
+ this.ActivityStreamsAltitude = i
+}
+
+// SetActivityStreamsAttachment sets the "attachment" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) {
+ this.ActivityStreamsAttachment = i
+}
+
+// SetActivityStreamsAttributedTo sets the "attributedTo" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) {
+ this.ActivityStreamsAttributedTo = i
+}
+
+// SetActivityStreamsAudience sets the "audience" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) {
+ this.ActivityStreamsAudience = i
+}
+
+// SetActivityStreamsBcc sets the "bcc" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) {
+ this.ActivityStreamsBcc = i
+}
+
+// SetActivityStreamsBto sets the "bto" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) {
+ this.ActivityStreamsBto = i
+}
+
+// SetActivityStreamsCc sets the "cc" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) {
+ this.ActivityStreamsCc = i
+}
+
+// SetActivityStreamsContent sets the "content" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) {
+ this.ActivityStreamsContent = i
+}
+
+// SetActivityStreamsContext sets the "context" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) {
+ this.ActivityStreamsContext = i
+}
+
+// SetActivityStreamsDuration sets the "duration" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) {
+ this.ActivityStreamsDuration = i
+}
+
+// SetActivityStreamsEndTime sets the "endTime" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) {
+ this.ActivityStreamsEndTime = i
+}
+
+// SetActivityStreamsGenerator sets the "generator" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) {
+ this.ActivityStreamsGenerator = i
+}
+
+// SetActivityStreamsIcon sets the "icon" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) {
+ this.ActivityStreamsIcon = i
+}
+
+// SetActivityStreamsImage sets the "image" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) {
+ this.ActivityStreamsImage = i
+}
+
+// SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) {
+ this.ActivityStreamsInReplyTo = i
+}
+
+// SetActivityStreamsLikes sets the "likes" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) {
+ this.ActivityStreamsLikes = i
+}
+
+// SetActivityStreamsLocation sets the "location" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) {
+ this.ActivityStreamsLocation = i
+}
+
+// SetActivityStreamsMediaType sets the "mediaType" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) {
+ this.ActivityStreamsMediaType = i
+}
+
+// SetActivityStreamsName sets the "name" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) {
+ this.ActivityStreamsName = i
+}
+
+// SetActivityStreamsObject sets the "object" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) {
+ this.ActivityStreamsObject = i
+}
+
+// SetActivityStreamsPreview sets the "preview" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) {
+ this.ActivityStreamsPreview = i
+}
+
+// SetActivityStreamsPublished sets the "published" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) {
+ this.ActivityStreamsPublished = i
+}
+
+// SetActivityStreamsReplies sets the "replies" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) {
+ this.ActivityStreamsReplies = i
+}
+
+// SetActivityStreamsSensitive sets the "sensitive" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) {
+ this.ActivityStreamsSensitive = i
+}
+
+// SetActivityStreamsShares sets the "shares" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) {
+ this.ActivityStreamsShares = i
+}
+
+// SetActivityStreamsSource sets the "source" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) {
+ this.ActivityStreamsSource = i
+}
+
+// SetActivityStreamsStartTime sets the "startTime" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) {
+ this.ActivityStreamsStartTime = i
+}
+
+// SetActivityStreamsSummary sets the "summary" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) {
+ this.ActivityStreamsSummary = i
+}
+
+// SetActivityStreamsTag sets the "tag" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) {
+ this.ActivityStreamsTag = i
+}
+
+// SetActivityStreamsTo sets the "to" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) {
+ this.ActivityStreamsTo = i
+}
+
+// SetActivityStreamsUpdated sets the "updated" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) {
+ this.ActivityStreamsUpdated = i
+}
+
+// SetActivityStreamsUrl sets the "url" property.
+func (this *GoToSocialAnnounceAuthorization) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) {
+ this.ActivityStreamsUrl = i
+}
+
+// SetGoToSocialInteractingObject sets the "interactingObject" property.
+func (this *GoToSocialAnnounceAuthorization) SetGoToSocialInteractingObject(i vocab.GoToSocialInteractingObjectProperty) {
+ this.GoToSocialInteractingObject = i
+}
+
+// SetGoToSocialInteractionTarget sets the "interactionTarget" property.
+func (this *GoToSocialAnnounceAuthorization) SetGoToSocialInteractionTarget(i vocab.GoToSocialInteractionTargetProperty) {
+ this.GoToSocialInteractionTarget = i
+}
+
+// SetJSONLDId sets the "id" property.
+func (this *GoToSocialAnnounceAuthorization) SetJSONLDId(i vocab.JSONLDIdProperty) {
+ this.JSONLDId = i
+}
+
+// SetJSONLDType sets the "type" property.
+func (this *GoToSocialAnnounceAuthorization) SetJSONLDType(i vocab.JSONLDTypeProperty) {
+ this.JSONLDType = i
+}
+
+// VocabularyURI returns the vocabulary's URI as a string.
+func (this GoToSocialAnnounceAuthorization) 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 GoToSocialAnnounceAuthorization) 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go
new file mode 100644
index 000000000..b615c2d3d
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package typeannouncerequest contains the implementation for the AnnounceRequest
+// 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 typeannouncerequest
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go
new file mode 100644
index 000000000..02aa92a75
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_pkg.go
@@ -0,0 +1,199 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typeannouncerequest
+
+import vocab "codeberg.org/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 {
+ // DeserializeActorPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsActorProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeActorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActorProperty, error)
+ // 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)
+ // DeserializeInstrumentPropertyActivityStreams returns the
+ // deserialization method for the "ActivityStreamsInstrumentProperty"
+ // non-functional property in the vocabulary "ActivityStreams"
+ DeserializeInstrumentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInstrumentProperty, 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)
+ // DeserializeOriginPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsOriginProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeOriginPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOriginProperty, 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)
+ // DeserializeResultPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsResultProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeResultPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsResultProperty, 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)
+ // DeserializeTargetPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsTargetProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go
new file mode 100644
index 000000000..385186cd5
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest/gen_type_gotosocial_announcerequest.go
@@ -0,0 +1,1850 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typeannouncerequest
+
+import (
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "strings"
+)
+
+type GoToSocialAnnounceRequest struct {
+ ActivityStreamsActor vocab.ActivityStreamsActorProperty
+ 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
+ ActivityStreamsInstrument vocab.ActivityStreamsInstrumentProperty
+ ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
+ ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
+ ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty
+ ActivityStreamsName vocab.ActivityStreamsNameProperty
+ ActivityStreamsObject vocab.ActivityStreamsObjectProperty
+ ActivityStreamsOrigin vocab.ActivityStreamsOriginProperty
+ ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty
+ ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty
+ ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty
+ ActivityStreamsResult vocab.ActivityStreamsResultProperty
+ ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty
+ ActivityStreamsShares vocab.ActivityStreamsSharesProperty
+ ActivityStreamsSource vocab.ActivityStreamsSourceProperty
+ ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
+ ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
+ ActivityStreamsTag vocab.ActivityStreamsTagProperty
+ ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
+ ActivityStreamsTo vocab.ActivityStreamsToProperty
+ JSONLDType vocab.JSONLDTypeProperty
+ ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
+ ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
+ alias string
+ unknown map[string]interface{}
+}
+
+// AnnounceRequestIsDisjointWith returns true if the other provided type is
+// disjoint with the AnnounceRequest type.
+func AnnounceRequestIsDisjointWith(other vocab.Type) bool {
+ disjointWith := []string{"Hashtag", "Link", "Mention"}
+ for _, disjoint := range disjointWith {
+ if disjoint == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// AnnounceRequestIsExtendedBy returns true if the other provided type extends
+// from the AnnounceRequest type. Note that it returns false if the types are
+// the same; see the "IsOrExtendsAnnounceRequest" variant instead.
+func AnnounceRequestIsExtendedBy(other vocab.Type) bool {
+ // Shortcut implementation: is not extended by anything.
+ return false
+}
+
+// DeserializeAnnounceRequest creates a AnnounceRequest from a map representation
+// that has been unmarshalled from a text or binary format.
+func DeserializeAnnounceRequest(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialAnnounceRequest, error) {
+ alias := ""
+ aliasPrefix := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ aliasPrefix = a + ":"
+ }
+ this := &GoToSocialAnnounceRequest{
+ 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 != "AnnounceRequest" {
+ return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "AnnounceRequest", 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) == "AnnounceRequest" {
+ found = true
+ break
+ }
+ }
+ if !found {
+ return nil, fmt.Errorf("could not find a \"type\" property of value %q", "AnnounceRequest")
+ }
+ // 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.DeserializeActorPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsActor = p
+ }
+ 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.DeserializeInstrumentPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsInstrument = 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.DeserializeOriginPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsOrigin = 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.DeserializeResultPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsResult = 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.DeserializeTargetPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsTarget = 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 == "actor" {
+ continue
+ } else 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 == "instrument" {
+ 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 == "origin" {
+ continue
+ } else if k == "preview" {
+ continue
+ } else if k == "published" {
+ continue
+ } else if k == "replies" {
+ continue
+ } else if k == "result" {
+ 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 == "target" {
+ 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
+}
+
+// GoToSocialAnnounceRequestExtends returns true if the AnnounceRequest type
+// extends from the other type.
+func GoToSocialAnnounceRequestExtends(other vocab.Type) bool {
+ extensions := []string{"Activity", "Object"}
+ for _, ext := range extensions {
+ if ext == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// IsOrExtendsAnnounceRequest returns true if the other provided type is the
+// AnnounceRequest type or extends from the AnnounceRequest type.
+func IsOrExtendsAnnounceRequest(other vocab.Type) bool {
+ if other.GetTypeName() == "AnnounceRequest" {
+ return true
+ }
+ return AnnounceRequestIsExtendedBy(other)
+}
+
+// NewGoToSocialAnnounceRequest creates a new AnnounceRequest type
+func NewGoToSocialAnnounceRequest() *GoToSocialAnnounceRequest {
+ typeProp := typePropertyConstructor()
+ typeProp.AppendXMLSchemaString("AnnounceRequest")
+ return &GoToSocialAnnounceRequest{
+ JSONLDType: typeProp,
+ alias: "",
+ unknown: make(map[string]interface{}),
+ }
+}
+
+// GetActivityStreamsActor returns the "actor" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty {
+ return this.ActivityStreamsActor
+}
+
+// GetActivityStreamsAltitude returns the "altitude" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty {
+ return this.ActivityStreamsAltitude
+}
+
+// GetActivityStreamsAttachment returns the "attachment" property if it exists,
+// and nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty {
+ return this.ActivityStreamsAttachment
+}
+
+// GetActivityStreamsAttributedTo returns the "attributedTo" property if it
+// exists, and nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty {
+ return this.ActivityStreamsAttributedTo
+}
+
+// GetActivityStreamsAudience returns the "audience" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty {
+ return this.ActivityStreamsAudience
+}
+
+// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty {
+ return this.ActivityStreamsBcc
+}
+
+// GetActivityStreamsBto returns the "bto" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty {
+ return this.ActivityStreamsBto
+}
+
+// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty {
+ return this.ActivityStreamsCc
+}
+
+// GetActivityStreamsContent returns the "content" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty {
+ return this.ActivityStreamsContent
+}
+
+// GetActivityStreamsContext returns the "context" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty {
+ return this.ActivityStreamsContext
+}
+
+// GetActivityStreamsDuration returns the "duration" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty {
+ return this.ActivityStreamsDuration
+}
+
+// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty {
+ return this.ActivityStreamsEndTime
+}
+
+// GetActivityStreamsGenerator returns the "generator" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty {
+ return this.ActivityStreamsGenerator
+}
+
+// GetActivityStreamsIcon returns the "icon" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty {
+ return this.ActivityStreamsIcon
+}
+
+// GetActivityStreamsImage returns the "image" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty {
+ return this.ActivityStreamsImage
+}
+
+// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty {
+ return this.ActivityStreamsInReplyTo
+}
+
+// GetActivityStreamsInstrument returns the "instrument" property if it exists,
+// and nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty {
+ return this.ActivityStreamsInstrument
+}
+
+// GetActivityStreamsLikes returns the "likes" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty {
+ return this.ActivityStreamsLikes
+}
+
+// GetActivityStreamsLocation returns the "location" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty {
+ return this.ActivityStreamsLocation
+}
+
+// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty {
+ return this.ActivityStreamsMediaType
+}
+
+// GetActivityStreamsName returns the "name" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsName() vocab.ActivityStreamsNameProperty {
+ return this.ActivityStreamsName
+}
+
+// GetActivityStreamsObject returns the "object" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty {
+ return this.ActivityStreamsObject
+}
+
+// GetActivityStreamsOrigin returns the "origin" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty {
+ return this.ActivityStreamsOrigin
+}
+
+// GetActivityStreamsPreview returns the "preview" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty {
+ return this.ActivityStreamsPreview
+}
+
+// GetActivityStreamsPublished returns the "published" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty {
+ return this.ActivityStreamsPublished
+}
+
+// GetActivityStreamsReplies returns the "replies" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty {
+ return this.ActivityStreamsReplies
+}
+
+// GetActivityStreamsResult returns the "result" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty {
+ return this.ActivityStreamsResult
+}
+
+// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty {
+ return this.ActivityStreamsSensitive
+}
+
+// GetActivityStreamsShares returns the "shares" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty {
+ return this.ActivityStreamsShares
+}
+
+// GetActivityStreamsSource returns the "source" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty {
+ return this.ActivityStreamsSource
+}
+
+// GetActivityStreamsStartTime returns the "startTime" property if it exists, and
+// nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty {
+ return this.ActivityStreamsStartTime
+}
+
+// GetActivityStreamsSummary returns the "summary" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty {
+ return this.ActivityStreamsSummary
+}
+
+// GetActivityStreamsTag returns the "tag" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty {
+ return this.ActivityStreamsTag
+}
+
+// GetActivityStreamsTarget returns the "target" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty {
+ return this.ActivityStreamsTarget
+}
+
+// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsTo() vocab.ActivityStreamsToProperty {
+ return this.ActivityStreamsTo
+}
+
+// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty {
+ return this.ActivityStreamsUpdated
+}
+
+// GetActivityStreamsUrl returns the "url" property if it exists, and nil
+// otherwise.
+func (this GoToSocialAnnounceRequest) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty {
+ return this.ActivityStreamsUrl
+}
+
+// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceRequest) GetJSONLDId() vocab.JSONLDIdProperty {
+ return this.JSONLDId
+}
+
+// GetJSONLDType returns the "type" property if it exists, and nil otherwise.
+func (this GoToSocialAnnounceRequest) GetJSONLDType() vocab.JSONLDTypeProperty {
+ return this.JSONLDType
+}
+
+// GetTypeName returns the name of this type.
+func (this GoToSocialAnnounceRequest) GetTypeName() string {
+ return "AnnounceRequest"
+}
+
+// GetUnknownProperties returns the unknown properties for the AnnounceRequest
+// 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 GoToSocialAnnounceRequest) GetUnknownProperties() map[string]interface{} {
+ return this.unknown
+}
+
+// IsExtending returns true if the AnnounceRequest type extends from the other
+// type.
+func (this GoToSocialAnnounceRequest) IsExtending(other vocab.Type) bool {
+ return GoToSocialAnnounceRequestExtends(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 GoToSocialAnnounceRequest) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ m = this.helperJSONLDContext(this.ActivityStreamsActor, m)
+ 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.ActivityStreamsInstrument, 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.ActivityStreamsOrigin, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPreview, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPublished, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsReplies, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsResult, 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.ActivityStreamsTarget, 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 AnnounceRequest is lesser, with an arbitrary but
+// stable determination.
+func (this GoToSocialAnnounceRequest) LessThan(o vocab.GoToSocialAnnounceRequest) bool {
+ // Begin: Compare known properties
+ // Compare property "actor"
+ if lhs, rhs := this.ActivityStreamsActor, o.GetActivityStreamsActor(); 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 "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 "instrument"
+ if lhs, rhs := this.ActivityStreamsInstrument, o.GetActivityStreamsInstrument(); 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 "origin"
+ if lhs, rhs := this.ActivityStreamsOrigin, o.GetActivityStreamsOrigin(); 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 "result"
+ if lhs, rhs := this.ActivityStreamsResult, o.GetActivityStreamsResult(); 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 "target"
+ if lhs, rhs := this.ActivityStreamsTarget, o.GetActivityStreamsTarget(); 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 GoToSocialAnnounceRequest) Serialize() (map[string]interface{}, error) {
+ m := make(map[string]interface{})
+ typeName := "AnnounceRequest"
+ if len(this.alias) > 0 {
+ typeName = this.alias + ":" + "AnnounceRequest"
+ }
+ m["type"] = typeName
+ // Begin: Serialize known properties
+ // Maybe serialize property "actor"
+ if this.ActivityStreamsActor != nil {
+ if i, err := this.ActivityStreamsActor.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsActor.Name()] = i
+ }
+ }
+ // 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 "instrument"
+ if this.ActivityStreamsInstrument != nil {
+ if i, err := this.ActivityStreamsInstrument.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsInstrument.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 "origin"
+ if this.ActivityStreamsOrigin != nil {
+ if i, err := this.ActivityStreamsOrigin.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsOrigin.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 "result"
+ if this.ActivityStreamsResult != nil {
+ if i, err := this.ActivityStreamsResult.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsResult.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 "target"
+ if this.ActivityStreamsTarget != nil {
+ if i, err := this.ActivityStreamsTarget.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsTarget.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
+}
+
+// SetActivityStreamsActor sets the "actor" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty) {
+ this.ActivityStreamsActor = i
+}
+
+// SetActivityStreamsAltitude sets the "altitude" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) {
+ this.ActivityStreamsAltitude = i
+}
+
+// SetActivityStreamsAttachment sets the "attachment" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) {
+ this.ActivityStreamsAttachment = i
+}
+
+// SetActivityStreamsAttributedTo sets the "attributedTo" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) {
+ this.ActivityStreamsAttributedTo = i
+}
+
+// SetActivityStreamsAudience sets the "audience" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) {
+ this.ActivityStreamsAudience = i
+}
+
+// SetActivityStreamsBcc sets the "bcc" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) {
+ this.ActivityStreamsBcc = i
+}
+
+// SetActivityStreamsBto sets the "bto" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) {
+ this.ActivityStreamsBto = i
+}
+
+// SetActivityStreamsCc sets the "cc" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) {
+ this.ActivityStreamsCc = i
+}
+
+// SetActivityStreamsContent sets the "content" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) {
+ this.ActivityStreamsContent = i
+}
+
+// SetActivityStreamsContext sets the "context" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) {
+ this.ActivityStreamsContext = i
+}
+
+// SetActivityStreamsDuration sets the "duration" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) {
+ this.ActivityStreamsDuration = i
+}
+
+// SetActivityStreamsEndTime sets the "endTime" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) {
+ this.ActivityStreamsEndTime = i
+}
+
+// SetActivityStreamsGenerator sets the "generator" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) {
+ this.ActivityStreamsGenerator = i
+}
+
+// SetActivityStreamsIcon sets the "icon" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) {
+ this.ActivityStreamsIcon = i
+}
+
+// SetActivityStreamsImage sets the "image" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) {
+ this.ActivityStreamsImage = i
+}
+
+// SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) {
+ this.ActivityStreamsInReplyTo = i
+}
+
+// SetActivityStreamsInstrument sets the "instrument" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty) {
+ this.ActivityStreamsInstrument = i
+}
+
+// SetActivityStreamsLikes sets the "likes" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) {
+ this.ActivityStreamsLikes = i
+}
+
+// SetActivityStreamsLocation sets the "location" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) {
+ this.ActivityStreamsLocation = i
+}
+
+// SetActivityStreamsMediaType sets the "mediaType" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) {
+ this.ActivityStreamsMediaType = i
+}
+
+// SetActivityStreamsName sets the "name" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) {
+ this.ActivityStreamsName = i
+}
+
+// SetActivityStreamsObject sets the "object" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) {
+ this.ActivityStreamsObject = i
+}
+
+// SetActivityStreamsOrigin sets the "origin" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty) {
+ this.ActivityStreamsOrigin = i
+}
+
+// SetActivityStreamsPreview sets the "preview" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) {
+ this.ActivityStreamsPreview = i
+}
+
+// SetActivityStreamsPublished sets the "published" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) {
+ this.ActivityStreamsPublished = i
+}
+
+// SetActivityStreamsReplies sets the "replies" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) {
+ this.ActivityStreamsReplies = i
+}
+
+// SetActivityStreamsResult sets the "result" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty) {
+ this.ActivityStreamsResult = i
+}
+
+// SetActivityStreamsSensitive sets the "sensitive" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) {
+ this.ActivityStreamsSensitive = i
+}
+
+// SetActivityStreamsShares sets the "shares" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) {
+ this.ActivityStreamsShares = i
+}
+
+// SetActivityStreamsSource sets the "source" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) {
+ this.ActivityStreamsSource = i
+}
+
+// SetActivityStreamsStartTime sets the "startTime" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) {
+ this.ActivityStreamsStartTime = i
+}
+
+// SetActivityStreamsSummary sets the "summary" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) {
+ this.ActivityStreamsSummary = i
+}
+
+// SetActivityStreamsTag sets the "tag" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) {
+ this.ActivityStreamsTag = i
+}
+
+// SetActivityStreamsTarget sets the "target" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty) {
+ this.ActivityStreamsTarget = i
+}
+
+// SetActivityStreamsTo sets the "to" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) {
+ this.ActivityStreamsTo = i
+}
+
+// SetActivityStreamsUpdated sets the "updated" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) {
+ this.ActivityStreamsUpdated = i
+}
+
+// SetActivityStreamsUrl sets the "url" property.
+func (this *GoToSocialAnnounceRequest) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) {
+ this.ActivityStreamsUrl = i
+}
+
+// SetJSONLDId sets the "id" property.
+func (this *GoToSocialAnnounceRequest) SetJSONLDId(i vocab.JSONLDIdProperty) {
+ this.JSONLDId = i
+}
+
+// SetJSONLDType sets the "type" property.
+func (this *GoToSocialAnnounceRequest) SetJSONLDType(i vocab.JSONLDTypeProperty) {
+ this.JSONLDType = i
+}
+
+// VocabularyURI returns the vocabulary's URI as a string.
+func (this GoToSocialAnnounceRequest) 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 GoToSocialAnnounceRequest) 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go
index c67cbe257..70fb07bc4 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_pkg.go
@@ -19,10 +19,19 @@ type privateManager interface {
// deserialization method for the "GoToSocialApprovalRequiredProperty"
// non-functional property in the vocabulary "GoToSocial"
DeserializeApprovalRequiredPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialApprovalRequiredProperty, error)
+ // DeserializeAutomaticApprovalPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialAutomaticApprovalProperty" non-functional property in
+ // the vocabulary "GoToSocial"
+ DeserializeAutomaticApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, 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)
+ // DeserializeManualApprovalPropertyGoToSocial returns the deserialization
+ // method for the "GoToSocialManualApprovalProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeManualApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialManualApprovalProperty, error)
}
// jsonldContexter is a private interface to determine the JSON-LD contexts and
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go
index 9100c87db..09d392e0a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce/gen_type_gotosocial_canannounce.go
@@ -5,11 +5,13 @@ package typecanannounce
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
type GoToSocialCanAnnounce struct {
- GoToSocialAlways vocab.GoToSocialAlwaysProperty
- GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty
- JSONLDId vocab.JSONLDIdProperty
- alias string
- unknown map[string]interface{}
+ GoToSocialAlways vocab.GoToSocialAlwaysProperty
+ GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty
+ GoToSocialAutomaticApproval vocab.GoToSocialAutomaticApprovalProperty
+ JSONLDId vocab.JSONLDIdProperty
+ GoToSocialManualApproval vocab.GoToSocialManualApprovalProperty
+ alias string
+ unknown map[string]interface{}
}
// CanAnnounceIsDisjointWith returns true if the other provided type is disjoint
@@ -50,11 +52,21 @@ func DeserializeCanAnnounce(m map[string]interface{}, aliasMap map[string]string
} else if p != nil {
this.GoToSocialApprovalRequired = p
}
+ if p, err := mgr.DeserializeAutomaticApprovalPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialAutomaticApproval = p
+ }
if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.JSONLDId = p
}
+ if p, err := mgr.DeserializeManualApprovalPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialManualApproval = p
+ }
// End: Known property deserialization
// Begin: Unknown deserialization
@@ -64,8 +76,12 @@ func DeserializeCanAnnounce(m map[string]interface{}, aliasMap map[string]string
continue
} else if k == "approvalRequired" {
continue
+ } else if k == "automaticApproval" {
+ continue
} else if k == "id" {
continue
+ } else if k == "manualApproval" {
+ continue
} // End: Code that ensures a property name is unknown
this.unknown[k] = v
@@ -111,6 +127,18 @@ func (this GoToSocialCanAnnounce) GetGoToSocialApprovalRequired() vocab.GoToSoci
return this.GoToSocialApprovalRequired
}
+// GetGoToSocialAutomaticApproval returns the "automaticApproval" property if it
+// exists, and nil otherwise.
+func (this GoToSocialCanAnnounce) GetGoToSocialAutomaticApproval() vocab.GoToSocialAutomaticApprovalProperty {
+ return this.GoToSocialAutomaticApproval
+}
+
+// GetGoToSocialManualApproval returns the "manualApproval" property if it exists,
+// and nil otherwise.
+func (this GoToSocialCanAnnounce) GetGoToSocialManualApproval() vocab.GoToSocialManualApprovalProperty {
+ return this.GoToSocialManualApproval
+}
+
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this GoToSocialCanAnnounce) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@@ -143,7 +171,9 @@ func (this GoToSocialCanAnnounce) JSONLDContext() map[string]string {
m := map[string]string{"https://gotosocial.org/ns": this.alias}
m = this.helperJSONLDContext(this.GoToSocialAlways, m)
m = this.helperJSONLDContext(this.GoToSocialApprovalRequired, m)
+ m = this.helperJSONLDContext(this.GoToSocialAutomaticApproval, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
+ m = this.helperJSONLDContext(this.GoToSocialManualApproval, m)
return m
}
@@ -180,6 +210,20 @@ func (this GoToSocialCanAnnounce) LessThan(o vocab.GoToSocialCanAnnounce) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "automaticApproval"
+ if lhs, rhs := this.GoToSocialAutomaticApproval, o.GetGoToSocialAutomaticApproval(); 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) {
@@ -194,6 +238,20 @@ func (this GoToSocialCanAnnounce) LessThan(o vocab.GoToSocialCanAnnounce) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "manualApproval"
+ if lhs, rhs := this.GoToSocialManualApproval, o.GetGoToSocialManualApproval(); 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)
@@ -228,6 +286,14 @@ func (this GoToSocialCanAnnounce) Serialize() (map[string]interface{}, error) {
m[this.GoToSocialApprovalRequired.Name()] = i
}
}
+ // Maybe serialize property "automaticApproval"
+ if this.GoToSocialAutomaticApproval != nil {
+ if i, err := this.GoToSocialAutomaticApproval.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialAutomaticApproval.Name()] = i
+ }
+ }
// Maybe serialize property "id"
if this.JSONLDId != nil {
if i, err := this.JSONLDId.Serialize(); err != nil {
@@ -236,6 +302,14 @@ func (this GoToSocialCanAnnounce) Serialize() (map[string]interface{}, error) {
m[this.JSONLDId.Name()] = i
}
}
+ // Maybe serialize property "manualApproval"
+ if this.GoToSocialManualApproval != nil {
+ if i, err := this.GoToSocialManualApproval.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialManualApproval.Name()] = i
+ }
+ }
// End: Serialize known properties
// Begin: Serialize unknown properties
@@ -260,6 +334,16 @@ func (this *GoToSocialCanAnnounce) SetGoToSocialApprovalRequired(i vocab.GoToSoc
this.GoToSocialApprovalRequired = i
}
+// SetGoToSocialAutomaticApproval sets the "automaticApproval" property.
+func (this *GoToSocialCanAnnounce) SetGoToSocialAutomaticApproval(i vocab.GoToSocialAutomaticApprovalProperty) {
+ this.GoToSocialAutomaticApproval = i
+}
+
+// SetGoToSocialManualApproval sets the "manualApproval" property.
+func (this *GoToSocialCanAnnounce) SetGoToSocialManualApproval(i vocab.GoToSocialManualApprovalProperty) {
+ this.GoToSocialManualApproval = i
+}
+
// SetJSONLDId sets the "id" property.
func (this *GoToSocialCanAnnounce) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go
index 325b69b1f..a2baeeab0 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_pkg.go
@@ -19,10 +19,19 @@ type privateManager interface {
// deserialization method for the "GoToSocialApprovalRequiredProperty"
// non-functional property in the vocabulary "GoToSocial"
DeserializeApprovalRequiredPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialApprovalRequiredProperty, error)
+ // DeserializeAutomaticApprovalPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialAutomaticApprovalProperty" non-functional property in
+ // the vocabulary "GoToSocial"
+ DeserializeAutomaticApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, 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)
+ // DeserializeManualApprovalPropertyGoToSocial returns the deserialization
+ // method for the "GoToSocialManualApprovalProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeManualApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialManualApprovalProperty, error)
}
// jsonldContexter is a private interface to determine the JSON-LD contexts and
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go
index 3c7d0666b..e31145f3d 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike/gen_type_gotosocial_canlike.go
@@ -5,11 +5,13 @@ package typecanlike
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
type GoToSocialCanLike struct {
- GoToSocialAlways vocab.GoToSocialAlwaysProperty
- GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty
- JSONLDId vocab.JSONLDIdProperty
- alias string
- unknown map[string]interface{}
+ GoToSocialAlways vocab.GoToSocialAlwaysProperty
+ GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty
+ GoToSocialAutomaticApproval vocab.GoToSocialAutomaticApprovalProperty
+ JSONLDId vocab.JSONLDIdProperty
+ GoToSocialManualApproval vocab.GoToSocialManualApprovalProperty
+ alias string
+ unknown map[string]interface{}
}
// CanLikeIsDisjointWith returns true if the other provided type is disjoint with
@@ -50,11 +52,21 @@ func DeserializeCanLike(m map[string]interface{}, aliasMap map[string]string) (*
} else if p != nil {
this.GoToSocialApprovalRequired = p
}
+ if p, err := mgr.DeserializeAutomaticApprovalPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialAutomaticApproval = p
+ }
if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.JSONLDId = p
}
+ if p, err := mgr.DeserializeManualApprovalPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialManualApproval = p
+ }
// End: Known property deserialization
// Begin: Unknown deserialization
@@ -64,8 +76,12 @@ func DeserializeCanLike(m map[string]interface{}, aliasMap map[string]string) (*
continue
} else if k == "approvalRequired" {
continue
+ } else if k == "automaticApproval" {
+ continue
} else if k == "id" {
continue
+ } else if k == "manualApproval" {
+ continue
} // End: Code that ensures a property name is unknown
this.unknown[k] = v
@@ -111,6 +127,18 @@ func (this GoToSocialCanLike) GetGoToSocialApprovalRequired() vocab.GoToSocialAp
return this.GoToSocialApprovalRequired
}
+// GetGoToSocialAutomaticApproval returns the "automaticApproval" property if it
+// exists, and nil otherwise.
+func (this GoToSocialCanLike) GetGoToSocialAutomaticApproval() vocab.GoToSocialAutomaticApprovalProperty {
+ return this.GoToSocialAutomaticApproval
+}
+
+// GetGoToSocialManualApproval returns the "manualApproval" property if it exists,
+// and nil otherwise.
+func (this GoToSocialCanLike) GetGoToSocialManualApproval() vocab.GoToSocialManualApprovalProperty {
+ return this.GoToSocialManualApproval
+}
+
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this GoToSocialCanLike) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@@ -143,7 +171,9 @@ func (this GoToSocialCanLike) JSONLDContext() map[string]string {
m := map[string]string{"https://gotosocial.org/ns": this.alias}
m = this.helperJSONLDContext(this.GoToSocialAlways, m)
m = this.helperJSONLDContext(this.GoToSocialApprovalRequired, m)
+ m = this.helperJSONLDContext(this.GoToSocialAutomaticApproval, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
+ m = this.helperJSONLDContext(this.GoToSocialManualApproval, m)
return m
}
@@ -180,6 +210,20 @@ func (this GoToSocialCanLike) LessThan(o vocab.GoToSocialCanLike) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "automaticApproval"
+ if lhs, rhs := this.GoToSocialAutomaticApproval, o.GetGoToSocialAutomaticApproval(); 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) {
@@ -194,6 +238,20 @@ func (this GoToSocialCanLike) LessThan(o vocab.GoToSocialCanLike) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "manualApproval"
+ if lhs, rhs := this.GoToSocialManualApproval, o.GetGoToSocialManualApproval(); 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)
@@ -228,6 +286,14 @@ func (this GoToSocialCanLike) Serialize() (map[string]interface{}, error) {
m[this.GoToSocialApprovalRequired.Name()] = i
}
}
+ // Maybe serialize property "automaticApproval"
+ if this.GoToSocialAutomaticApproval != nil {
+ if i, err := this.GoToSocialAutomaticApproval.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialAutomaticApproval.Name()] = i
+ }
+ }
// Maybe serialize property "id"
if this.JSONLDId != nil {
if i, err := this.JSONLDId.Serialize(); err != nil {
@@ -236,6 +302,14 @@ func (this GoToSocialCanLike) Serialize() (map[string]interface{}, error) {
m[this.JSONLDId.Name()] = i
}
}
+ // Maybe serialize property "manualApproval"
+ if this.GoToSocialManualApproval != nil {
+ if i, err := this.GoToSocialManualApproval.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialManualApproval.Name()] = i
+ }
+ }
// End: Serialize known properties
// Begin: Serialize unknown properties
@@ -260,6 +334,16 @@ func (this *GoToSocialCanLike) SetGoToSocialApprovalRequired(i vocab.GoToSocialA
this.GoToSocialApprovalRequired = i
}
+// SetGoToSocialAutomaticApproval sets the "automaticApproval" property.
+func (this *GoToSocialCanLike) SetGoToSocialAutomaticApproval(i vocab.GoToSocialAutomaticApprovalProperty) {
+ this.GoToSocialAutomaticApproval = i
+}
+
+// SetGoToSocialManualApproval sets the "manualApproval" property.
+func (this *GoToSocialCanLike) SetGoToSocialManualApproval(i vocab.GoToSocialManualApprovalProperty) {
+ this.GoToSocialManualApproval = i
+}
+
// SetJSONLDId sets the "id" property.
func (this *GoToSocialCanLike) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_doc.go
new file mode 100644
index 000000000..99859f18c
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package typecanquote contains the implementation for the CanQuote 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 typecanquote
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go
new file mode 100644
index 000000000..7de8769fb
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_pkg.go
@@ -0,0 +1,63 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typecanquote
+
+import vocab "codeberg.org/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 {
+ // DeserializeAlwaysPropertyGoToSocial returns the deserialization method
+ // for the "GoToSocialAlwaysProperty" non-functional property in the
+ // vocabulary "GoToSocial"
+ DeserializeAlwaysPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAlwaysProperty, error)
+ // DeserializeApprovalRequiredPropertyGoToSocial returns the
+ // deserialization method for the "GoToSocialApprovalRequiredProperty"
+ // non-functional property in the vocabulary "GoToSocial"
+ DeserializeApprovalRequiredPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialApprovalRequiredProperty, error)
+ // DeserializeAutomaticApprovalPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialAutomaticApprovalProperty" non-functional property in
+ // the vocabulary "GoToSocial"
+ DeserializeAutomaticApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, 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)
+ // DeserializeManualApprovalPropertyGoToSocial returns the deserialization
+ // method for the "GoToSocialManualApprovalProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeManualApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialManualApprovalProperty, 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go
new file mode 100644
index 000000000..4cf8034ef
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote/gen_type_gotosocial_canquote.go
@@ -0,0 +1,372 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typecanquote
+
+import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+
+type GoToSocialCanQuote struct {
+ GoToSocialAlways vocab.GoToSocialAlwaysProperty
+ GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty
+ GoToSocialAutomaticApproval vocab.GoToSocialAutomaticApprovalProperty
+ JSONLDId vocab.JSONLDIdProperty
+ GoToSocialManualApproval vocab.GoToSocialManualApprovalProperty
+ alias string
+ unknown map[string]interface{}
+}
+
+// CanQuoteIsDisjointWith returns true if the other provided type is disjoint with
+// the CanQuote type.
+func CanQuoteIsDisjointWith(other vocab.Type) bool {
+ // Shortcut implementation: is not disjoint with anything.
+ return false
+}
+
+// CanQuoteIsExtendedBy returns true if the other provided type extends from the
+// CanQuote type. Note that it returns false if the types are the same; see
+// the "IsOrExtendsCanQuote" variant instead.
+func CanQuoteIsExtendedBy(other vocab.Type) bool {
+ // Shortcut implementation: is not extended by anything.
+ return false
+}
+
+// DeserializeCanQuote creates a CanQuote from a map representation that has been
+// unmarshalled from a text or binary format.
+func DeserializeCanQuote(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialCanQuote, error) {
+ alias := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ }
+ this := &GoToSocialCanQuote{
+ alias: alias,
+ unknown: make(map[string]interface{}),
+ }
+
+ // Begin: Known property deserialization
+ if p, err := mgr.DeserializeAlwaysPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialAlways = p
+ }
+ if p, err := mgr.DeserializeApprovalRequiredPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialApprovalRequired = p
+ }
+ if p, err := mgr.DeserializeAutomaticApprovalPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialAutomaticApproval = p
+ }
+ if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.JSONLDId = p
+ }
+ if p, err := mgr.DeserializeManualApprovalPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialManualApproval = p
+ }
+ // End: Known property deserialization
+
+ // Begin: Unknown deserialization
+ for k, v := range m {
+ // Begin: Code that ensures a property name is unknown
+ if k == "always" {
+ continue
+ } else if k == "approvalRequired" {
+ continue
+ } else if k == "automaticApproval" {
+ continue
+ } else if k == "id" {
+ continue
+ } else if k == "manualApproval" {
+ continue
+ } // End: Code that ensures a property name is unknown
+
+ this.unknown[k] = v
+ }
+ // End: Unknown deserialization
+
+ return this, nil
+}
+
+// GoToSocialCanQuoteExtends returns true if the CanQuote type extends from the
+// other type.
+func GoToSocialCanQuoteExtends(other vocab.Type) bool {
+ // Shortcut implementation: this does not extend anything.
+ return false
+}
+
+// IsOrExtendsCanQuote returns true if the other provided type is the CanQuote
+// type or extends from the CanQuote type.
+func IsOrExtendsCanQuote(other vocab.Type) bool {
+ if other.GetTypeName() == "CanQuote" {
+ return true
+ }
+ return CanQuoteIsExtendedBy(other)
+}
+
+// NewGoToSocialCanQuote creates a new CanQuote type
+func NewGoToSocialCanQuote() *GoToSocialCanQuote {
+ return &GoToSocialCanQuote{
+ alias: "",
+ unknown: make(map[string]interface{}),
+ }
+}
+
+// GetGoToSocialAlways returns the "always" property if it exists, and nil
+// otherwise.
+func (this GoToSocialCanQuote) GetGoToSocialAlways() vocab.GoToSocialAlwaysProperty {
+ return this.GoToSocialAlways
+}
+
+// GetGoToSocialApprovalRequired returns the "approvalRequired" property if it
+// exists, and nil otherwise.
+func (this GoToSocialCanQuote) GetGoToSocialApprovalRequired() vocab.GoToSocialApprovalRequiredProperty {
+ return this.GoToSocialApprovalRequired
+}
+
+// GetGoToSocialAutomaticApproval returns the "automaticApproval" property if it
+// exists, and nil otherwise.
+func (this GoToSocialCanQuote) GetGoToSocialAutomaticApproval() vocab.GoToSocialAutomaticApprovalProperty {
+ return this.GoToSocialAutomaticApproval
+}
+
+// GetGoToSocialManualApproval returns the "manualApproval" property if it exists,
+// and nil otherwise.
+func (this GoToSocialCanQuote) GetGoToSocialManualApproval() vocab.GoToSocialManualApprovalProperty {
+ return this.GoToSocialManualApproval
+}
+
+// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+func (this GoToSocialCanQuote) GetJSONLDId() vocab.JSONLDIdProperty {
+ return this.JSONLDId
+}
+
+// GetTypeName returns the name of this type.
+func (this GoToSocialCanQuote) GetTypeName() string {
+ return "CanQuote"
+}
+
+// GetUnknownProperties returns the unknown properties for the CanQuote 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 GoToSocialCanQuote) GetUnknownProperties() map[string]interface{} {
+ return this.unknown
+}
+
+// IsExtending returns true if the CanQuote type extends from the other type.
+func (this GoToSocialCanQuote) IsExtending(other vocab.Type) bool {
+ return GoToSocialCanQuoteExtends(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 GoToSocialCanQuote) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ m = this.helperJSONLDContext(this.GoToSocialAlways, m)
+ m = this.helperJSONLDContext(this.GoToSocialApprovalRequired, m)
+ m = this.helperJSONLDContext(this.GoToSocialAutomaticApproval, m)
+ m = this.helperJSONLDContext(this.JSONLDId, m)
+ m = this.helperJSONLDContext(this.GoToSocialManualApproval, m)
+
+ return m
+}
+
+// LessThan computes if this CanQuote is lesser, with an arbitrary but stable
+// determination.
+func (this GoToSocialCanQuote) LessThan(o vocab.GoToSocialCanQuote) bool {
+ // Begin: Compare known properties
+ // Compare property "always"
+ if lhs, rhs := this.GoToSocialAlways, o.GetGoToSocialAlways(); 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 "approvalRequired"
+ if lhs, rhs := this.GoToSocialApprovalRequired, o.GetGoToSocialApprovalRequired(); 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 "automaticApproval"
+ if lhs, rhs := this.GoToSocialAutomaticApproval, o.GetGoToSocialAutomaticApproval(); 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 "manualApproval"
+ if lhs, rhs := this.GoToSocialManualApproval, o.GetGoToSocialManualApproval(); 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 GoToSocialCanQuote) Serialize() (map[string]interface{}, error) {
+ m := make(map[string]interface{})
+ // Begin: Serialize known properties
+ // Maybe serialize property "always"
+ if this.GoToSocialAlways != nil {
+ if i, err := this.GoToSocialAlways.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialAlways.Name()] = i
+ }
+ }
+ // Maybe serialize property "approvalRequired"
+ if this.GoToSocialApprovalRequired != nil {
+ if i, err := this.GoToSocialApprovalRequired.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialApprovalRequired.Name()] = i
+ }
+ }
+ // Maybe serialize property "automaticApproval"
+ if this.GoToSocialAutomaticApproval != nil {
+ if i, err := this.GoToSocialAutomaticApproval.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialAutomaticApproval.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 "manualApproval"
+ if this.GoToSocialManualApproval != nil {
+ if i, err := this.GoToSocialManualApproval.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialManualApproval.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
+}
+
+// SetGoToSocialAlways sets the "always" property.
+func (this *GoToSocialCanQuote) SetGoToSocialAlways(i vocab.GoToSocialAlwaysProperty) {
+ this.GoToSocialAlways = i
+}
+
+// SetGoToSocialApprovalRequired sets the "approvalRequired" property.
+func (this *GoToSocialCanQuote) SetGoToSocialApprovalRequired(i vocab.GoToSocialApprovalRequiredProperty) {
+ this.GoToSocialApprovalRequired = i
+}
+
+// SetGoToSocialAutomaticApproval sets the "automaticApproval" property.
+func (this *GoToSocialCanQuote) SetGoToSocialAutomaticApproval(i vocab.GoToSocialAutomaticApprovalProperty) {
+ this.GoToSocialAutomaticApproval = i
+}
+
+// SetGoToSocialManualApproval sets the "manualApproval" property.
+func (this *GoToSocialCanQuote) SetGoToSocialManualApproval(i vocab.GoToSocialManualApprovalProperty) {
+ this.GoToSocialManualApproval = i
+}
+
+// SetJSONLDId sets the "id" property.
+func (this *GoToSocialCanQuote) SetJSONLDId(i vocab.JSONLDIdProperty) {
+ this.JSONLDId = i
+}
+
+// VocabularyURI returns the vocabulary's URI as a string.
+func (this GoToSocialCanQuote) 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 GoToSocialCanQuote) 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go
index e90fff4fa..20a991c1a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_pkg.go
@@ -19,10 +19,19 @@ type privateManager interface {
// deserialization method for the "GoToSocialApprovalRequiredProperty"
// non-functional property in the vocabulary "GoToSocial"
DeserializeApprovalRequiredPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialApprovalRequiredProperty, error)
+ // DeserializeAutomaticApprovalPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialAutomaticApprovalProperty" non-functional property in
+ // the vocabulary "GoToSocial"
+ DeserializeAutomaticApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, 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)
+ // DeserializeManualApprovalPropertyGoToSocial returns the deserialization
+ // method for the "GoToSocialManualApprovalProperty" non-functional
+ // property in the vocabulary "GoToSocial"
+ DeserializeManualApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialManualApprovalProperty, error)
}
// jsonldContexter is a private interface to determine the JSON-LD contexts and
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go
index ec0834274..c0cfe9fed 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply/gen_type_gotosocial_canreply.go
@@ -5,11 +5,13 @@ package typecanreply
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
type GoToSocialCanReply struct {
- GoToSocialAlways vocab.GoToSocialAlwaysProperty
- GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty
- JSONLDId vocab.JSONLDIdProperty
- alias string
- unknown map[string]interface{}
+ GoToSocialAlways vocab.GoToSocialAlwaysProperty
+ GoToSocialApprovalRequired vocab.GoToSocialApprovalRequiredProperty
+ GoToSocialAutomaticApproval vocab.GoToSocialAutomaticApprovalProperty
+ JSONLDId vocab.JSONLDIdProperty
+ GoToSocialManualApproval vocab.GoToSocialManualApprovalProperty
+ alias string
+ unknown map[string]interface{}
}
// CanReplyIsDisjointWith returns true if the other provided type is disjoint with
@@ -50,11 +52,21 @@ func DeserializeCanReply(m map[string]interface{}, aliasMap map[string]string) (
} else if p != nil {
this.GoToSocialApprovalRequired = p
}
+ if p, err := mgr.DeserializeAutomaticApprovalPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialAutomaticApproval = p
+ }
if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.JSONLDId = p
}
+ if p, err := mgr.DeserializeManualApprovalPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialManualApproval = p
+ }
// End: Known property deserialization
// Begin: Unknown deserialization
@@ -64,8 +76,12 @@ func DeserializeCanReply(m map[string]interface{}, aliasMap map[string]string) (
continue
} else if k == "approvalRequired" {
continue
+ } else if k == "automaticApproval" {
+ continue
} else if k == "id" {
continue
+ } else if k == "manualApproval" {
+ continue
} // End: Code that ensures a property name is unknown
this.unknown[k] = v
@@ -111,6 +127,18 @@ func (this GoToSocialCanReply) GetGoToSocialApprovalRequired() vocab.GoToSocialA
return this.GoToSocialApprovalRequired
}
+// GetGoToSocialAutomaticApproval returns the "automaticApproval" property if it
+// exists, and nil otherwise.
+func (this GoToSocialCanReply) GetGoToSocialAutomaticApproval() vocab.GoToSocialAutomaticApprovalProperty {
+ return this.GoToSocialAutomaticApproval
+}
+
+// GetGoToSocialManualApproval returns the "manualApproval" property if it exists,
+// and nil otherwise.
+func (this GoToSocialCanReply) GetGoToSocialManualApproval() vocab.GoToSocialManualApprovalProperty {
+ return this.GoToSocialManualApproval
+}
+
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this GoToSocialCanReply) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@@ -143,7 +171,9 @@ func (this GoToSocialCanReply) JSONLDContext() map[string]string {
m := map[string]string{"https://gotosocial.org/ns": this.alias}
m = this.helperJSONLDContext(this.GoToSocialAlways, m)
m = this.helperJSONLDContext(this.GoToSocialApprovalRequired, m)
+ m = this.helperJSONLDContext(this.GoToSocialAutomaticApproval, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
+ m = this.helperJSONLDContext(this.GoToSocialManualApproval, m)
return m
}
@@ -180,6 +210,20 @@ func (this GoToSocialCanReply) LessThan(o vocab.GoToSocialCanReply) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "automaticApproval"
+ if lhs, rhs := this.GoToSocialAutomaticApproval, o.GetGoToSocialAutomaticApproval(); 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) {
@@ -194,6 +238,20 @@ func (this GoToSocialCanReply) LessThan(o vocab.GoToSocialCanReply) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "manualApproval"
+ if lhs, rhs := this.GoToSocialManualApproval, o.GetGoToSocialManualApproval(); 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)
@@ -228,6 +286,14 @@ func (this GoToSocialCanReply) Serialize() (map[string]interface{}, error) {
m[this.GoToSocialApprovalRequired.Name()] = i
}
}
+ // Maybe serialize property "automaticApproval"
+ if this.GoToSocialAutomaticApproval != nil {
+ if i, err := this.GoToSocialAutomaticApproval.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialAutomaticApproval.Name()] = i
+ }
+ }
// Maybe serialize property "id"
if this.JSONLDId != nil {
if i, err := this.JSONLDId.Serialize(); err != nil {
@@ -236,6 +302,14 @@ func (this GoToSocialCanReply) Serialize() (map[string]interface{}, error) {
m[this.JSONLDId.Name()] = i
}
}
+ // Maybe serialize property "manualApproval"
+ if this.GoToSocialManualApproval != nil {
+ if i, err := this.GoToSocialManualApproval.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialManualApproval.Name()] = i
+ }
+ }
// End: Serialize known properties
// Begin: Serialize unknown properties
@@ -260,6 +334,16 @@ func (this *GoToSocialCanReply) SetGoToSocialApprovalRequired(i vocab.GoToSocial
this.GoToSocialApprovalRequired = i
}
+// SetGoToSocialAutomaticApproval sets the "automaticApproval" property.
+func (this *GoToSocialCanReply) SetGoToSocialAutomaticApproval(i vocab.GoToSocialAutomaticApprovalProperty) {
+ this.GoToSocialAutomaticApproval = i
+}
+
+// SetGoToSocialManualApproval sets the "manualApproval" property.
+func (this *GoToSocialCanReply) SetGoToSocialManualApproval(i vocab.GoToSocialManualApprovalProperty) {
+ this.GoToSocialManualApproval = i
+}
+
// SetJSONLDId sets the "id" property.
func (this *GoToSocialCanReply) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go
index bba9d6912..aa7273b19 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_pkg.go
@@ -19,6 +19,10 @@ type privateManager interface {
// for the "GoToSocialCanLikeProperty" non-functional property in the
// vocabulary "GoToSocial"
DeserializeCanLikePropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanLikeProperty, error)
+ // DeserializeCanQuotePropertyGoToSocial returns the deserialization
+ // method for the "GoToSocialCanQuoteProperty" non-functional property
+ // in the vocabulary "GoToSocial"
+ DeserializeCanQuotePropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanQuoteProperty, error)
// DeserializeCanReplyPropertyGoToSocial returns the deserialization
// method for the "GoToSocialCanReplyProperty" non-functional property
// in the vocabulary "GoToSocial"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go
index ae2725f28..3c2600baf 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy/gen_type_gotosocial_interactionpolicy.go
@@ -8,6 +8,7 @@ import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
type GoToSocialInteractionPolicy struct {
GoToSocialCanAnnounce vocab.GoToSocialCanAnnounceProperty
GoToSocialCanLike vocab.GoToSocialCanLikeProperty
+ GoToSocialCanQuote vocab.GoToSocialCanQuoteProperty
GoToSocialCanReply vocab.GoToSocialCanReplyProperty
JSONLDId vocab.JSONLDIdProperty
alias string
@@ -37,6 +38,11 @@ func DeserializeInteractionPolicy(m map[string]interface{}, aliasMap map[string]
} else if p != nil {
this.GoToSocialCanLike = p
}
+ if p, err := mgr.DeserializeCanQuotePropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialCanQuote = p
+ }
if p, err := mgr.DeserializeCanReplyPropertyGoToSocial()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@@ -56,6 +62,8 @@ func DeserializeInteractionPolicy(m map[string]interface{}, aliasMap map[string]
continue
} else if k == "canLike" {
continue
+ } else if k == "canQuote" {
+ continue
} else if k == "canReply" {
continue
} else if k == "id" {
@@ -120,6 +128,12 @@ func (this GoToSocialInteractionPolicy) GetGoToSocialCanLike() vocab.GoToSocialC
return this.GoToSocialCanLike
}
+// GetGoToSocialCanQuote returns the "canQuote" property if it exists, and nil
+// otherwise.
+func (this GoToSocialInteractionPolicy) GetGoToSocialCanQuote() vocab.GoToSocialCanQuoteProperty {
+ return this.GoToSocialCanQuote
+}
+
// GetGoToSocialCanReply returns the "canReply" property if it exists, and nil
// otherwise.
func (this GoToSocialInteractionPolicy) GetGoToSocialCanReply() vocab.GoToSocialCanReplyProperty {
@@ -159,6 +173,7 @@ func (this GoToSocialInteractionPolicy) JSONLDContext() map[string]string {
m := map[string]string{"https://gotosocial.org/ns": this.alias}
m = this.helperJSONLDContext(this.GoToSocialCanAnnounce, m)
m = this.helperJSONLDContext(this.GoToSocialCanLike, m)
+ m = this.helperJSONLDContext(this.GoToSocialCanQuote, m)
m = this.helperJSONLDContext(this.GoToSocialCanReply, m)
m = this.helperJSONLDContext(this.JSONLDId, m)
@@ -197,6 +212,20 @@ func (this GoToSocialInteractionPolicy) LessThan(o vocab.GoToSocialInteractionPo
// Anything else is greater than nil
return false
} // Else: Both are nil
+ // Compare property "canQuote"
+ if lhs, rhs := this.GoToSocialCanQuote, o.GetGoToSocialCanQuote(); 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 "canReply"
if lhs, rhs := this.GoToSocialCanReply, o.GetGoToSocialCanReply(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@@ -259,6 +288,14 @@ func (this GoToSocialInteractionPolicy) Serialize() (map[string]interface{}, err
m[this.GoToSocialCanLike.Name()] = i
}
}
+ // Maybe serialize property "canQuote"
+ if this.GoToSocialCanQuote != nil {
+ if i, err := this.GoToSocialCanQuote.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialCanQuote.Name()] = i
+ }
+ }
// Maybe serialize property "canReply"
if this.GoToSocialCanReply != nil {
if i, err := this.GoToSocialCanReply.Serialize(); err != nil {
@@ -299,6 +336,11 @@ func (this *GoToSocialInteractionPolicy) SetGoToSocialCanLike(i vocab.GoToSocial
this.GoToSocialCanLike = i
}
+// SetGoToSocialCanQuote sets the "canQuote" property.
+func (this *GoToSocialInteractionPolicy) SetGoToSocialCanQuote(i vocab.GoToSocialCanQuoteProperty) {
+ this.GoToSocialCanQuote = i
+}
+
// SetGoToSocialCanReply sets the "canReply" property.
func (this *GoToSocialInteractionPolicy) SetGoToSocialCanReply(i vocab.GoToSocialCanReplyProperty) {
this.GoToSocialCanReply = i
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go
index 96db9c645..36eeac229 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval/gen_type_gotosocial_likeapproval.go
@@ -8,6 +8,7 @@ import (
"strings"
)
+// DEPRECATED: Use `LikeAuthorization` instead.
type GoToSocialLikeApproval struct {
ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty
ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go
new file mode 100644
index 000000000..b40a8815a
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package typelikeauthorization contains the implementation for the
+// LikeAuthorization 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 typelikeauthorization
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go
new file mode 100644
index 000000000..969bcc512
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_pkg.go
@@ -0,0 +1,189 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typelikeauthorization
+
+import vocab "codeberg.org/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)
+ // DeserializeInteractingObjectPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialInteractingObjectProperty" non-functional property in
+ // the vocabulary "GoToSocial"
+ DeserializeInteractingObjectPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractingObjectProperty, error)
+ // DeserializeInteractionTargetPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialInteractionTargetProperty" non-functional property in
+ // the vocabulary "GoToSocial"
+ DeserializeInteractionTargetPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractionTargetProperty, 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go
new file mode 100644
index 000000000..4c049fb39
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization/gen_type_gotosocial_likeauthorization.go
@@ -0,0 +1,1724 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typelikeauthorization
+
+import (
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "strings"
+)
+
+type GoToSocialLikeAuthorization 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
+ GoToSocialInteractingObject vocab.GoToSocialInteractingObjectProperty
+ GoToSocialInteractionTarget vocab.GoToSocialInteractionTargetProperty
+ 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{}
+}
+
+// DeserializeLikeAuthorization creates a LikeAuthorization from a map
+// representation that has been unmarshalled from a text or binary format.
+func DeserializeLikeAuthorization(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialLikeAuthorization, error) {
+ alias := ""
+ aliasPrefix := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ aliasPrefix = a + ":"
+ }
+ this := &GoToSocialLikeAuthorization{
+ 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 != "LikeAuthorization" {
+ return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "LikeAuthorization", 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) == "LikeAuthorization" {
+ found = true
+ break
+ }
+ }
+ if !found {
+ return nil, fmt.Errorf("could not find a \"type\" property of value %q", "LikeAuthorization")
+ }
+ // 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.DeserializeInteractingObjectPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialInteractingObject = p
+ }
+ if p, err := mgr.DeserializeInteractionTargetPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialInteractionTarget = 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 == "interactingObject" {
+ continue
+ } else if k == "interactionTarget" {
+ 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
+}
+
+// GoToSocialLikeAuthorizationExtends returns true if the LikeAuthorization type
+// extends from the other type.
+func GoToSocialLikeAuthorizationExtends(other vocab.Type) bool {
+ extensions := []string{"Object"}
+ for _, ext := range extensions {
+ if ext == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// IsOrExtendsLikeAuthorization returns true if the other provided type is the
+// LikeAuthorization type or extends from the LikeAuthorization type.
+func IsOrExtendsLikeAuthorization(other vocab.Type) bool {
+ if other.GetTypeName() == "LikeAuthorization" {
+ return true
+ }
+ return LikeAuthorizationIsExtendedBy(other)
+}
+
+// LikeAuthorizationIsDisjointWith returns true if the other provided type is
+// disjoint with the LikeAuthorization type.
+func LikeAuthorizationIsDisjointWith(other vocab.Type) bool {
+ disjointWith := []string{"Hashtag", "Link", "Mention"}
+ for _, disjoint := range disjointWith {
+ if disjoint == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// LikeAuthorizationIsExtendedBy returns true if the other provided type extends
+// from the LikeAuthorization type. Note that it returns false if the types
+// are the same; see the "IsOrExtendsLikeAuthorization" variant instead.
+func LikeAuthorizationIsExtendedBy(other vocab.Type) bool {
+ // Shortcut implementation: is not extended by anything.
+ return false
+}
+
+// NewGoToSocialLikeAuthorization creates a new LikeAuthorization type
+func NewGoToSocialLikeAuthorization() *GoToSocialLikeAuthorization {
+ typeProp := typePropertyConstructor()
+ typeProp.AppendXMLSchemaString("LikeAuthorization")
+ return &GoToSocialLikeAuthorization{
+ JSONLDType: typeProp,
+ alias: "",
+ unknown: make(map[string]interface{}),
+ }
+}
+
+// GetActivityStreamsAltitude returns the "altitude" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty {
+ return this.ActivityStreamsAltitude
+}
+
+// GetActivityStreamsAttachment returns the "attachment" property if it exists,
+// and nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty {
+ return this.ActivityStreamsAttachment
+}
+
+// GetActivityStreamsAttributedTo returns the "attributedTo" property if it
+// exists, and nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty {
+ return this.ActivityStreamsAttributedTo
+}
+
+// GetActivityStreamsAudience returns the "audience" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty {
+ return this.ActivityStreamsAudience
+}
+
+// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty {
+ return this.ActivityStreamsBcc
+}
+
+// GetActivityStreamsBto returns the "bto" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty {
+ return this.ActivityStreamsBto
+}
+
+// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty {
+ return this.ActivityStreamsCc
+}
+
+// GetActivityStreamsContent returns the "content" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty {
+ return this.ActivityStreamsContent
+}
+
+// GetActivityStreamsContext returns the "context" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty {
+ return this.ActivityStreamsContext
+}
+
+// GetActivityStreamsDuration returns the "duration" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty {
+ return this.ActivityStreamsDuration
+}
+
+// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty {
+ return this.ActivityStreamsEndTime
+}
+
+// GetActivityStreamsGenerator returns the "generator" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty {
+ return this.ActivityStreamsGenerator
+}
+
+// GetActivityStreamsIcon returns the "icon" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty {
+ return this.ActivityStreamsIcon
+}
+
+// GetActivityStreamsImage returns the "image" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty {
+ return this.ActivityStreamsImage
+}
+
+// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty {
+ return this.ActivityStreamsInReplyTo
+}
+
+// GetActivityStreamsLikes returns the "likes" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty {
+ return this.ActivityStreamsLikes
+}
+
+// GetActivityStreamsLocation returns the "location" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty {
+ return this.ActivityStreamsLocation
+}
+
+// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty {
+ return this.ActivityStreamsMediaType
+}
+
+// GetActivityStreamsName returns the "name" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsName() vocab.ActivityStreamsNameProperty {
+ return this.ActivityStreamsName
+}
+
+// GetActivityStreamsObject returns the "object" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty {
+ return this.ActivityStreamsObject
+}
+
+// GetActivityStreamsPreview returns the "preview" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty {
+ return this.ActivityStreamsPreview
+}
+
+// GetActivityStreamsPublished returns the "published" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty {
+ return this.ActivityStreamsPublished
+}
+
+// GetActivityStreamsReplies returns the "replies" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty {
+ return this.ActivityStreamsReplies
+}
+
+// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty {
+ return this.ActivityStreamsSensitive
+}
+
+// GetActivityStreamsShares returns the "shares" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty {
+ return this.ActivityStreamsShares
+}
+
+// GetActivityStreamsSource returns the "source" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty {
+ return this.ActivityStreamsSource
+}
+
+// GetActivityStreamsStartTime returns the "startTime" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty {
+ return this.ActivityStreamsStartTime
+}
+
+// GetActivityStreamsSummary returns the "summary" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty {
+ return this.ActivityStreamsSummary
+}
+
+// GetActivityStreamsTag returns the "tag" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty {
+ return this.ActivityStreamsTag
+}
+
+// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsTo() vocab.ActivityStreamsToProperty {
+ return this.ActivityStreamsTo
+}
+
+// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty {
+ return this.ActivityStreamsUpdated
+}
+
+// GetActivityStreamsUrl returns the "url" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeAuthorization) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty {
+ return this.ActivityStreamsUrl
+}
+
+// GetGoToSocialInteractingObject returns the "interactingObject" property if it
+// exists, and nil otherwise.
+func (this GoToSocialLikeAuthorization) GetGoToSocialInteractingObject() vocab.GoToSocialInteractingObjectProperty {
+ return this.GoToSocialInteractingObject
+}
+
+// GetGoToSocialInteractionTarget returns the "interactionTarget" property if it
+// exists, and nil otherwise.
+func (this GoToSocialLikeAuthorization) GetGoToSocialInteractionTarget() vocab.GoToSocialInteractionTargetProperty {
+ return this.GoToSocialInteractionTarget
+}
+
+// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+func (this GoToSocialLikeAuthorization) GetJSONLDId() vocab.JSONLDIdProperty {
+ return this.JSONLDId
+}
+
+// GetJSONLDType returns the "type" property if it exists, and nil otherwise.
+func (this GoToSocialLikeAuthorization) GetJSONLDType() vocab.JSONLDTypeProperty {
+ return this.JSONLDType
+}
+
+// GetTypeName returns the name of this type.
+func (this GoToSocialLikeAuthorization) GetTypeName() string {
+ return "LikeAuthorization"
+}
+
+// GetUnknownProperties returns the unknown properties for the LikeAuthorization
+// 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 GoToSocialLikeAuthorization) GetUnknownProperties() map[string]interface{} {
+ return this.unknown
+}
+
+// IsExtending returns true if the LikeAuthorization type extends from the other
+// type.
+func (this GoToSocialLikeAuthorization) IsExtending(other vocab.Type) bool {
+ return GoToSocialLikeAuthorizationExtends(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 GoToSocialLikeAuthorization) 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.GoToSocialInteractingObject, m)
+ m = this.helperJSONLDContext(this.GoToSocialInteractionTarget, 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 LikeAuthorization is lesser, with an arbitrary but
+// stable determination.
+func (this GoToSocialLikeAuthorization) LessThan(o vocab.GoToSocialLikeAuthorization) 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 "interactingObject"
+ if lhs, rhs := this.GoToSocialInteractingObject, o.GetGoToSocialInteractingObject(); 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 "interactionTarget"
+ if lhs, rhs := this.GoToSocialInteractionTarget, o.GetGoToSocialInteractionTarget(); 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 GoToSocialLikeAuthorization) Serialize() (map[string]interface{}, error) {
+ m := make(map[string]interface{})
+ typeName := "LikeAuthorization"
+ if len(this.alias) > 0 {
+ typeName = this.alias + ":" + "LikeAuthorization"
+ }
+ 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 "interactingObject"
+ if this.GoToSocialInteractingObject != nil {
+ if i, err := this.GoToSocialInteractingObject.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialInteractingObject.Name()] = i
+ }
+ }
+ // Maybe serialize property "interactionTarget"
+ if this.GoToSocialInteractionTarget != nil {
+ if i, err := this.GoToSocialInteractionTarget.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialInteractionTarget.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 *GoToSocialLikeAuthorization) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) {
+ this.ActivityStreamsAltitude = i
+}
+
+// SetActivityStreamsAttachment sets the "attachment" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) {
+ this.ActivityStreamsAttachment = i
+}
+
+// SetActivityStreamsAttributedTo sets the "attributedTo" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) {
+ this.ActivityStreamsAttributedTo = i
+}
+
+// SetActivityStreamsAudience sets the "audience" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) {
+ this.ActivityStreamsAudience = i
+}
+
+// SetActivityStreamsBcc sets the "bcc" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) {
+ this.ActivityStreamsBcc = i
+}
+
+// SetActivityStreamsBto sets the "bto" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) {
+ this.ActivityStreamsBto = i
+}
+
+// SetActivityStreamsCc sets the "cc" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) {
+ this.ActivityStreamsCc = i
+}
+
+// SetActivityStreamsContent sets the "content" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) {
+ this.ActivityStreamsContent = i
+}
+
+// SetActivityStreamsContext sets the "context" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) {
+ this.ActivityStreamsContext = i
+}
+
+// SetActivityStreamsDuration sets the "duration" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) {
+ this.ActivityStreamsDuration = i
+}
+
+// SetActivityStreamsEndTime sets the "endTime" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) {
+ this.ActivityStreamsEndTime = i
+}
+
+// SetActivityStreamsGenerator sets the "generator" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) {
+ this.ActivityStreamsGenerator = i
+}
+
+// SetActivityStreamsIcon sets the "icon" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) {
+ this.ActivityStreamsIcon = i
+}
+
+// SetActivityStreamsImage sets the "image" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) {
+ this.ActivityStreamsImage = i
+}
+
+// SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) {
+ this.ActivityStreamsInReplyTo = i
+}
+
+// SetActivityStreamsLikes sets the "likes" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) {
+ this.ActivityStreamsLikes = i
+}
+
+// SetActivityStreamsLocation sets the "location" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) {
+ this.ActivityStreamsLocation = i
+}
+
+// SetActivityStreamsMediaType sets the "mediaType" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) {
+ this.ActivityStreamsMediaType = i
+}
+
+// SetActivityStreamsName sets the "name" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) {
+ this.ActivityStreamsName = i
+}
+
+// SetActivityStreamsObject sets the "object" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) {
+ this.ActivityStreamsObject = i
+}
+
+// SetActivityStreamsPreview sets the "preview" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) {
+ this.ActivityStreamsPreview = i
+}
+
+// SetActivityStreamsPublished sets the "published" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) {
+ this.ActivityStreamsPublished = i
+}
+
+// SetActivityStreamsReplies sets the "replies" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) {
+ this.ActivityStreamsReplies = i
+}
+
+// SetActivityStreamsSensitive sets the "sensitive" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) {
+ this.ActivityStreamsSensitive = i
+}
+
+// SetActivityStreamsShares sets the "shares" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) {
+ this.ActivityStreamsShares = i
+}
+
+// SetActivityStreamsSource sets the "source" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) {
+ this.ActivityStreamsSource = i
+}
+
+// SetActivityStreamsStartTime sets the "startTime" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) {
+ this.ActivityStreamsStartTime = i
+}
+
+// SetActivityStreamsSummary sets the "summary" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) {
+ this.ActivityStreamsSummary = i
+}
+
+// SetActivityStreamsTag sets the "tag" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) {
+ this.ActivityStreamsTag = i
+}
+
+// SetActivityStreamsTo sets the "to" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) {
+ this.ActivityStreamsTo = i
+}
+
+// SetActivityStreamsUpdated sets the "updated" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) {
+ this.ActivityStreamsUpdated = i
+}
+
+// SetActivityStreamsUrl sets the "url" property.
+func (this *GoToSocialLikeAuthorization) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) {
+ this.ActivityStreamsUrl = i
+}
+
+// SetGoToSocialInteractingObject sets the "interactingObject" property.
+func (this *GoToSocialLikeAuthorization) SetGoToSocialInteractingObject(i vocab.GoToSocialInteractingObjectProperty) {
+ this.GoToSocialInteractingObject = i
+}
+
+// SetGoToSocialInteractionTarget sets the "interactionTarget" property.
+func (this *GoToSocialLikeAuthorization) SetGoToSocialInteractionTarget(i vocab.GoToSocialInteractionTargetProperty) {
+ this.GoToSocialInteractionTarget = i
+}
+
+// SetJSONLDId sets the "id" property.
+func (this *GoToSocialLikeAuthorization) SetJSONLDId(i vocab.JSONLDIdProperty) {
+ this.JSONLDId = i
+}
+
+// SetJSONLDType sets the "type" property.
+func (this *GoToSocialLikeAuthorization) SetJSONLDType(i vocab.JSONLDTypeProperty) {
+ this.JSONLDType = i
+}
+
+// VocabularyURI returns the vocabulary's URI as a string.
+func (this GoToSocialLikeAuthorization) 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 GoToSocialLikeAuthorization) 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go
new file mode 100644
index 000000000..c646e390d
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package typelikerequest contains the implementation for the LikeRequest 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 typelikerequest
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go
new file mode 100644
index 000000000..d6aa37ba6
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_pkg.go
@@ -0,0 +1,199 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typelikerequest
+
+import vocab "codeberg.org/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 {
+ // DeserializeActorPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsActorProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeActorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActorProperty, error)
+ // 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)
+ // DeserializeInstrumentPropertyActivityStreams returns the
+ // deserialization method for the "ActivityStreamsInstrumentProperty"
+ // non-functional property in the vocabulary "ActivityStreams"
+ DeserializeInstrumentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInstrumentProperty, 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)
+ // DeserializeOriginPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsOriginProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeOriginPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOriginProperty, 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)
+ // DeserializeResultPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsResultProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeResultPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsResultProperty, 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)
+ // DeserializeTargetPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsTargetProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go
new file mode 100644
index 000000000..20eaf0895
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest/gen_type_gotosocial_likerequest.go
@@ -0,0 +1,1849 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typelikerequest
+
+import (
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "strings"
+)
+
+type GoToSocialLikeRequest struct {
+ ActivityStreamsActor vocab.ActivityStreamsActorProperty
+ 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
+ ActivityStreamsInstrument vocab.ActivityStreamsInstrumentProperty
+ ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
+ ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
+ ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty
+ ActivityStreamsName vocab.ActivityStreamsNameProperty
+ ActivityStreamsObject vocab.ActivityStreamsObjectProperty
+ ActivityStreamsOrigin vocab.ActivityStreamsOriginProperty
+ ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty
+ ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty
+ ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty
+ ActivityStreamsResult vocab.ActivityStreamsResultProperty
+ ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty
+ ActivityStreamsShares vocab.ActivityStreamsSharesProperty
+ ActivityStreamsSource vocab.ActivityStreamsSourceProperty
+ ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
+ ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
+ ActivityStreamsTag vocab.ActivityStreamsTagProperty
+ ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
+ ActivityStreamsTo vocab.ActivityStreamsToProperty
+ JSONLDType vocab.JSONLDTypeProperty
+ ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
+ ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
+ alias string
+ unknown map[string]interface{}
+}
+
+// DeserializeLikeRequest creates a LikeRequest from a map representation that has
+// been unmarshalled from a text or binary format.
+func DeserializeLikeRequest(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialLikeRequest, error) {
+ alias := ""
+ aliasPrefix := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ aliasPrefix = a + ":"
+ }
+ this := &GoToSocialLikeRequest{
+ 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 != "LikeRequest" {
+ return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "LikeRequest", 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) == "LikeRequest" {
+ found = true
+ break
+ }
+ }
+ if !found {
+ return nil, fmt.Errorf("could not find a \"type\" property of value %q", "LikeRequest")
+ }
+ // 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.DeserializeActorPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsActor = p
+ }
+ 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.DeserializeInstrumentPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsInstrument = 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.DeserializeOriginPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsOrigin = 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.DeserializeResultPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsResult = 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.DeserializeTargetPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsTarget = 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 == "actor" {
+ continue
+ } else 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 == "instrument" {
+ 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 == "origin" {
+ continue
+ } else if k == "preview" {
+ continue
+ } else if k == "published" {
+ continue
+ } else if k == "replies" {
+ continue
+ } else if k == "result" {
+ 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 == "target" {
+ 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
+}
+
+// GoToSocialLikeRequestExtends returns true if the LikeRequest type extends from
+// the other type.
+func GoToSocialLikeRequestExtends(other vocab.Type) bool {
+ extensions := []string{"Activity", "Object"}
+ for _, ext := range extensions {
+ if ext == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// IsOrExtendsLikeRequest returns true if the other provided type is the
+// LikeRequest type or extends from the LikeRequest type.
+func IsOrExtendsLikeRequest(other vocab.Type) bool {
+ if other.GetTypeName() == "LikeRequest" {
+ return true
+ }
+ return LikeRequestIsExtendedBy(other)
+}
+
+// LikeRequestIsDisjointWith returns true if the other provided type is disjoint
+// with the LikeRequest type.
+func LikeRequestIsDisjointWith(other vocab.Type) bool {
+ disjointWith := []string{"Hashtag", "Link", "Mention"}
+ for _, disjoint := range disjointWith {
+ if disjoint == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// LikeRequestIsExtendedBy returns true if the other provided type extends from
+// the LikeRequest type. Note that it returns false if the types are the same;
+// see the "IsOrExtendsLikeRequest" variant instead.
+func LikeRequestIsExtendedBy(other vocab.Type) bool {
+ // Shortcut implementation: is not extended by anything.
+ return false
+}
+
+// NewGoToSocialLikeRequest creates a new LikeRequest type
+func NewGoToSocialLikeRequest() *GoToSocialLikeRequest {
+ typeProp := typePropertyConstructor()
+ typeProp.AppendXMLSchemaString("LikeRequest")
+ return &GoToSocialLikeRequest{
+ JSONLDType: typeProp,
+ alias: "",
+ unknown: make(map[string]interface{}),
+ }
+}
+
+// GetActivityStreamsActor returns the "actor" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty {
+ return this.ActivityStreamsActor
+}
+
+// GetActivityStreamsAltitude returns the "altitude" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty {
+ return this.ActivityStreamsAltitude
+}
+
+// GetActivityStreamsAttachment returns the "attachment" property if it exists,
+// and nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty {
+ return this.ActivityStreamsAttachment
+}
+
+// GetActivityStreamsAttributedTo returns the "attributedTo" property if it
+// exists, and nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty {
+ return this.ActivityStreamsAttributedTo
+}
+
+// GetActivityStreamsAudience returns the "audience" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty {
+ return this.ActivityStreamsAudience
+}
+
+// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty {
+ return this.ActivityStreamsBcc
+}
+
+// GetActivityStreamsBto returns the "bto" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty {
+ return this.ActivityStreamsBto
+}
+
+// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty {
+ return this.ActivityStreamsCc
+}
+
+// GetActivityStreamsContent returns the "content" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty {
+ return this.ActivityStreamsContent
+}
+
+// GetActivityStreamsContext returns the "context" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty {
+ return this.ActivityStreamsContext
+}
+
+// GetActivityStreamsDuration returns the "duration" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty {
+ return this.ActivityStreamsDuration
+}
+
+// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty {
+ return this.ActivityStreamsEndTime
+}
+
+// GetActivityStreamsGenerator returns the "generator" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty {
+ return this.ActivityStreamsGenerator
+}
+
+// GetActivityStreamsIcon returns the "icon" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty {
+ return this.ActivityStreamsIcon
+}
+
+// GetActivityStreamsImage returns the "image" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty {
+ return this.ActivityStreamsImage
+}
+
+// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty {
+ return this.ActivityStreamsInReplyTo
+}
+
+// GetActivityStreamsInstrument returns the "instrument" property if it exists,
+// and nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty {
+ return this.ActivityStreamsInstrument
+}
+
+// GetActivityStreamsLikes returns the "likes" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty {
+ return this.ActivityStreamsLikes
+}
+
+// GetActivityStreamsLocation returns the "location" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty {
+ return this.ActivityStreamsLocation
+}
+
+// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty {
+ return this.ActivityStreamsMediaType
+}
+
+// GetActivityStreamsName returns the "name" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsName() vocab.ActivityStreamsNameProperty {
+ return this.ActivityStreamsName
+}
+
+// GetActivityStreamsObject returns the "object" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty {
+ return this.ActivityStreamsObject
+}
+
+// GetActivityStreamsOrigin returns the "origin" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty {
+ return this.ActivityStreamsOrigin
+}
+
+// GetActivityStreamsPreview returns the "preview" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty {
+ return this.ActivityStreamsPreview
+}
+
+// GetActivityStreamsPublished returns the "published" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty {
+ return this.ActivityStreamsPublished
+}
+
+// GetActivityStreamsReplies returns the "replies" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty {
+ return this.ActivityStreamsReplies
+}
+
+// GetActivityStreamsResult returns the "result" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty {
+ return this.ActivityStreamsResult
+}
+
+// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty {
+ return this.ActivityStreamsSensitive
+}
+
+// GetActivityStreamsShares returns the "shares" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty {
+ return this.ActivityStreamsShares
+}
+
+// GetActivityStreamsSource returns the "source" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty {
+ return this.ActivityStreamsSource
+}
+
+// GetActivityStreamsStartTime returns the "startTime" property if it exists, and
+// nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty {
+ return this.ActivityStreamsStartTime
+}
+
+// GetActivityStreamsSummary returns the "summary" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty {
+ return this.ActivityStreamsSummary
+}
+
+// GetActivityStreamsTag returns the "tag" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty {
+ return this.ActivityStreamsTag
+}
+
+// GetActivityStreamsTarget returns the "target" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty {
+ return this.ActivityStreamsTarget
+}
+
+// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsTo() vocab.ActivityStreamsToProperty {
+ return this.ActivityStreamsTo
+}
+
+// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty {
+ return this.ActivityStreamsUpdated
+}
+
+// GetActivityStreamsUrl returns the "url" property if it exists, and nil
+// otherwise.
+func (this GoToSocialLikeRequest) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty {
+ return this.ActivityStreamsUrl
+}
+
+// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+func (this GoToSocialLikeRequest) GetJSONLDId() vocab.JSONLDIdProperty {
+ return this.JSONLDId
+}
+
+// GetJSONLDType returns the "type" property if it exists, and nil otherwise.
+func (this GoToSocialLikeRequest) GetJSONLDType() vocab.JSONLDTypeProperty {
+ return this.JSONLDType
+}
+
+// GetTypeName returns the name of this type.
+func (this GoToSocialLikeRequest) GetTypeName() string {
+ return "LikeRequest"
+}
+
+// GetUnknownProperties returns the unknown properties for the LikeRequest 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 GoToSocialLikeRequest) GetUnknownProperties() map[string]interface{} {
+ return this.unknown
+}
+
+// IsExtending returns true if the LikeRequest type extends from the other type.
+func (this GoToSocialLikeRequest) IsExtending(other vocab.Type) bool {
+ return GoToSocialLikeRequestExtends(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 GoToSocialLikeRequest) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ m = this.helperJSONLDContext(this.ActivityStreamsActor, m)
+ 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.ActivityStreamsInstrument, 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.ActivityStreamsOrigin, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPreview, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPublished, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsReplies, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsResult, 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.ActivityStreamsTarget, 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 LikeRequest is lesser, with an arbitrary but stable
+// determination.
+func (this GoToSocialLikeRequest) LessThan(o vocab.GoToSocialLikeRequest) bool {
+ // Begin: Compare known properties
+ // Compare property "actor"
+ if lhs, rhs := this.ActivityStreamsActor, o.GetActivityStreamsActor(); 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 "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 "instrument"
+ if lhs, rhs := this.ActivityStreamsInstrument, o.GetActivityStreamsInstrument(); 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 "origin"
+ if lhs, rhs := this.ActivityStreamsOrigin, o.GetActivityStreamsOrigin(); 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 "result"
+ if lhs, rhs := this.ActivityStreamsResult, o.GetActivityStreamsResult(); 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 "target"
+ if lhs, rhs := this.ActivityStreamsTarget, o.GetActivityStreamsTarget(); 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 GoToSocialLikeRequest) Serialize() (map[string]interface{}, error) {
+ m := make(map[string]interface{})
+ typeName := "LikeRequest"
+ if len(this.alias) > 0 {
+ typeName = this.alias + ":" + "LikeRequest"
+ }
+ m["type"] = typeName
+ // Begin: Serialize known properties
+ // Maybe serialize property "actor"
+ if this.ActivityStreamsActor != nil {
+ if i, err := this.ActivityStreamsActor.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsActor.Name()] = i
+ }
+ }
+ // 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 "instrument"
+ if this.ActivityStreamsInstrument != nil {
+ if i, err := this.ActivityStreamsInstrument.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsInstrument.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 "origin"
+ if this.ActivityStreamsOrigin != nil {
+ if i, err := this.ActivityStreamsOrigin.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsOrigin.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 "result"
+ if this.ActivityStreamsResult != nil {
+ if i, err := this.ActivityStreamsResult.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsResult.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 "target"
+ if this.ActivityStreamsTarget != nil {
+ if i, err := this.ActivityStreamsTarget.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsTarget.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
+}
+
+// SetActivityStreamsActor sets the "actor" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty) {
+ this.ActivityStreamsActor = i
+}
+
+// SetActivityStreamsAltitude sets the "altitude" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) {
+ this.ActivityStreamsAltitude = i
+}
+
+// SetActivityStreamsAttachment sets the "attachment" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) {
+ this.ActivityStreamsAttachment = i
+}
+
+// SetActivityStreamsAttributedTo sets the "attributedTo" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) {
+ this.ActivityStreamsAttributedTo = i
+}
+
+// SetActivityStreamsAudience sets the "audience" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) {
+ this.ActivityStreamsAudience = i
+}
+
+// SetActivityStreamsBcc sets the "bcc" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) {
+ this.ActivityStreamsBcc = i
+}
+
+// SetActivityStreamsBto sets the "bto" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) {
+ this.ActivityStreamsBto = i
+}
+
+// SetActivityStreamsCc sets the "cc" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) {
+ this.ActivityStreamsCc = i
+}
+
+// SetActivityStreamsContent sets the "content" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) {
+ this.ActivityStreamsContent = i
+}
+
+// SetActivityStreamsContext sets the "context" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) {
+ this.ActivityStreamsContext = i
+}
+
+// SetActivityStreamsDuration sets the "duration" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) {
+ this.ActivityStreamsDuration = i
+}
+
+// SetActivityStreamsEndTime sets the "endTime" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) {
+ this.ActivityStreamsEndTime = i
+}
+
+// SetActivityStreamsGenerator sets the "generator" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) {
+ this.ActivityStreamsGenerator = i
+}
+
+// SetActivityStreamsIcon sets the "icon" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) {
+ this.ActivityStreamsIcon = i
+}
+
+// SetActivityStreamsImage sets the "image" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) {
+ this.ActivityStreamsImage = i
+}
+
+// SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) {
+ this.ActivityStreamsInReplyTo = i
+}
+
+// SetActivityStreamsInstrument sets the "instrument" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty) {
+ this.ActivityStreamsInstrument = i
+}
+
+// SetActivityStreamsLikes sets the "likes" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) {
+ this.ActivityStreamsLikes = i
+}
+
+// SetActivityStreamsLocation sets the "location" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) {
+ this.ActivityStreamsLocation = i
+}
+
+// SetActivityStreamsMediaType sets the "mediaType" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) {
+ this.ActivityStreamsMediaType = i
+}
+
+// SetActivityStreamsName sets the "name" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) {
+ this.ActivityStreamsName = i
+}
+
+// SetActivityStreamsObject sets the "object" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) {
+ this.ActivityStreamsObject = i
+}
+
+// SetActivityStreamsOrigin sets the "origin" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty) {
+ this.ActivityStreamsOrigin = i
+}
+
+// SetActivityStreamsPreview sets the "preview" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) {
+ this.ActivityStreamsPreview = i
+}
+
+// SetActivityStreamsPublished sets the "published" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) {
+ this.ActivityStreamsPublished = i
+}
+
+// SetActivityStreamsReplies sets the "replies" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) {
+ this.ActivityStreamsReplies = i
+}
+
+// SetActivityStreamsResult sets the "result" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty) {
+ this.ActivityStreamsResult = i
+}
+
+// SetActivityStreamsSensitive sets the "sensitive" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) {
+ this.ActivityStreamsSensitive = i
+}
+
+// SetActivityStreamsShares sets the "shares" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) {
+ this.ActivityStreamsShares = i
+}
+
+// SetActivityStreamsSource sets the "source" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) {
+ this.ActivityStreamsSource = i
+}
+
+// SetActivityStreamsStartTime sets the "startTime" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) {
+ this.ActivityStreamsStartTime = i
+}
+
+// SetActivityStreamsSummary sets the "summary" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) {
+ this.ActivityStreamsSummary = i
+}
+
+// SetActivityStreamsTag sets the "tag" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) {
+ this.ActivityStreamsTag = i
+}
+
+// SetActivityStreamsTarget sets the "target" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty) {
+ this.ActivityStreamsTarget = i
+}
+
+// SetActivityStreamsTo sets the "to" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) {
+ this.ActivityStreamsTo = i
+}
+
+// SetActivityStreamsUpdated sets the "updated" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) {
+ this.ActivityStreamsUpdated = i
+}
+
+// SetActivityStreamsUrl sets the "url" property.
+func (this *GoToSocialLikeRequest) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) {
+ this.ActivityStreamsUrl = i
+}
+
+// SetJSONLDId sets the "id" property.
+func (this *GoToSocialLikeRequest) SetJSONLDId(i vocab.JSONLDIdProperty) {
+ this.JSONLDId = i
+}
+
+// SetJSONLDType sets the "type" property.
+func (this *GoToSocialLikeRequest) SetJSONLDType(i vocab.JSONLDTypeProperty) {
+ this.JSONLDType = i
+}
+
+// VocabularyURI returns the vocabulary's URI as a string.
+func (this GoToSocialLikeRequest) 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 GoToSocialLikeRequest) 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go
index 613fb72b5..c7c9bb38f 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval/gen_type_gotosocial_replyapproval.go
@@ -8,6 +8,7 @@ import (
"strings"
)
+// DEPRECATED: Use `ReplyAuthorization` instead.
type GoToSocialReplyApproval struct {
ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty
ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go
new file mode 100644
index 000000000..c25dc7ae7
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package typereplyauthorization contains the implementation for the
+// ReplyAuthorization 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 typereplyauthorization
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go
new file mode 100644
index 000000000..adcdec7e2
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_pkg.go
@@ -0,0 +1,189 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typereplyauthorization
+
+import vocab "codeberg.org/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)
+ // DeserializeInteractingObjectPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialInteractingObjectProperty" non-functional property in
+ // the vocabulary "GoToSocial"
+ DeserializeInteractingObjectPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractingObjectProperty, error)
+ // DeserializeInteractionTargetPropertyGoToSocial returns the
+ // deserialization method for the
+ // "GoToSocialInteractionTargetProperty" non-functional property in
+ // the vocabulary "GoToSocial"
+ DeserializeInteractionTargetPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractionTargetProperty, 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go
new file mode 100644
index 000000000..380e1da85
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization/gen_type_gotosocial_replyauthorization.go
@@ -0,0 +1,1724 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typereplyauthorization
+
+import (
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "strings"
+)
+
+type GoToSocialReplyAuthorization 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
+ GoToSocialInteractingObject vocab.GoToSocialInteractingObjectProperty
+ GoToSocialInteractionTarget vocab.GoToSocialInteractionTargetProperty
+ 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{}
+}
+
+// DeserializeReplyAuthorization creates a ReplyAuthorization from a map
+// representation that has been unmarshalled from a text or binary format.
+func DeserializeReplyAuthorization(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialReplyAuthorization, error) {
+ alias := ""
+ aliasPrefix := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ aliasPrefix = a + ":"
+ }
+ this := &GoToSocialReplyAuthorization{
+ 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 != "ReplyAuthorization" {
+ return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "ReplyAuthorization", 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) == "ReplyAuthorization" {
+ found = true
+ break
+ }
+ }
+ if !found {
+ return nil, fmt.Errorf("could not find a \"type\" property of value %q", "ReplyAuthorization")
+ }
+ // 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.DeserializeInteractingObjectPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialInteractingObject = p
+ }
+ if p, err := mgr.DeserializeInteractionTargetPropertyGoToSocial()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.GoToSocialInteractionTarget = 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 == "interactingObject" {
+ continue
+ } else if k == "interactionTarget" {
+ 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
+}
+
+// GoToSocialReplyAuthorizationExtends returns true if the ReplyAuthorization type
+// extends from the other type.
+func GoToSocialReplyAuthorizationExtends(other vocab.Type) bool {
+ extensions := []string{"Object"}
+ for _, ext := range extensions {
+ if ext == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// IsOrExtendsReplyAuthorization returns true if the other provided type is the
+// ReplyAuthorization type or extends from the ReplyAuthorization type.
+func IsOrExtendsReplyAuthorization(other vocab.Type) bool {
+ if other.GetTypeName() == "ReplyAuthorization" {
+ return true
+ }
+ return ReplyAuthorizationIsExtendedBy(other)
+}
+
+// NewGoToSocialReplyAuthorization creates a new ReplyAuthorization type
+func NewGoToSocialReplyAuthorization() *GoToSocialReplyAuthorization {
+ typeProp := typePropertyConstructor()
+ typeProp.AppendXMLSchemaString("ReplyAuthorization")
+ return &GoToSocialReplyAuthorization{
+ JSONLDType: typeProp,
+ alias: "",
+ unknown: make(map[string]interface{}),
+ }
+}
+
+// ReplyAuthorizationIsDisjointWith returns true if the other provided type is
+// disjoint with the ReplyAuthorization type.
+func ReplyAuthorizationIsDisjointWith(other vocab.Type) bool {
+ disjointWith := []string{"Hashtag", "Link", "Mention"}
+ for _, disjoint := range disjointWith {
+ if disjoint == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// ReplyAuthorizationIsExtendedBy returns true if the other provided type extends
+// from the ReplyAuthorization type. Note that it returns false if the types
+// are the same; see the "IsOrExtendsReplyAuthorization" variant instead.
+func ReplyAuthorizationIsExtendedBy(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 GoToSocialReplyAuthorization) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty {
+ return this.ActivityStreamsAltitude
+}
+
+// GetActivityStreamsAttachment returns the "attachment" property if it exists,
+// and nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty {
+ return this.ActivityStreamsAttachment
+}
+
+// GetActivityStreamsAttributedTo returns the "attributedTo" property if it
+// exists, and nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty {
+ return this.ActivityStreamsAttributedTo
+}
+
+// GetActivityStreamsAudience returns the "audience" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty {
+ return this.ActivityStreamsAudience
+}
+
+// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty {
+ return this.ActivityStreamsBcc
+}
+
+// GetActivityStreamsBto returns the "bto" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty {
+ return this.ActivityStreamsBto
+}
+
+// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty {
+ return this.ActivityStreamsCc
+}
+
+// GetActivityStreamsContent returns the "content" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty {
+ return this.ActivityStreamsContent
+}
+
+// GetActivityStreamsContext returns the "context" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty {
+ return this.ActivityStreamsContext
+}
+
+// GetActivityStreamsDuration returns the "duration" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty {
+ return this.ActivityStreamsDuration
+}
+
+// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty {
+ return this.ActivityStreamsEndTime
+}
+
+// GetActivityStreamsGenerator returns the "generator" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty {
+ return this.ActivityStreamsGenerator
+}
+
+// GetActivityStreamsIcon returns the "icon" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty {
+ return this.ActivityStreamsIcon
+}
+
+// GetActivityStreamsImage returns the "image" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty {
+ return this.ActivityStreamsImage
+}
+
+// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty {
+ return this.ActivityStreamsInReplyTo
+}
+
+// GetActivityStreamsLikes returns the "likes" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty {
+ return this.ActivityStreamsLikes
+}
+
+// GetActivityStreamsLocation returns the "location" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty {
+ return this.ActivityStreamsLocation
+}
+
+// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty {
+ return this.ActivityStreamsMediaType
+}
+
+// GetActivityStreamsName returns the "name" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsName() vocab.ActivityStreamsNameProperty {
+ return this.ActivityStreamsName
+}
+
+// GetActivityStreamsObject returns the "object" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty {
+ return this.ActivityStreamsObject
+}
+
+// GetActivityStreamsPreview returns the "preview" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty {
+ return this.ActivityStreamsPreview
+}
+
+// GetActivityStreamsPublished returns the "published" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty {
+ return this.ActivityStreamsPublished
+}
+
+// GetActivityStreamsReplies returns the "replies" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty {
+ return this.ActivityStreamsReplies
+}
+
+// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty {
+ return this.ActivityStreamsSensitive
+}
+
+// GetActivityStreamsShares returns the "shares" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty {
+ return this.ActivityStreamsShares
+}
+
+// GetActivityStreamsSource returns the "source" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty {
+ return this.ActivityStreamsSource
+}
+
+// GetActivityStreamsStartTime returns the "startTime" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty {
+ return this.ActivityStreamsStartTime
+}
+
+// GetActivityStreamsSummary returns the "summary" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty {
+ return this.ActivityStreamsSummary
+}
+
+// GetActivityStreamsTag returns the "tag" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty {
+ return this.ActivityStreamsTag
+}
+
+// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsTo() vocab.ActivityStreamsToProperty {
+ return this.ActivityStreamsTo
+}
+
+// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty {
+ return this.ActivityStreamsUpdated
+}
+
+// GetActivityStreamsUrl returns the "url" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyAuthorization) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty {
+ return this.ActivityStreamsUrl
+}
+
+// GetGoToSocialInteractingObject returns the "interactingObject" property if it
+// exists, and nil otherwise.
+func (this GoToSocialReplyAuthorization) GetGoToSocialInteractingObject() vocab.GoToSocialInteractingObjectProperty {
+ return this.GoToSocialInteractingObject
+}
+
+// GetGoToSocialInteractionTarget returns the "interactionTarget" property if it
+// exists, and nil otherwise.
+func (this GoToSocialReplyAuthorization) GetGoToSocialInteractionTarget() vocab.GoToSocialInteractionTargetProperty {
+ return this.GoToSocialInteractionTarget
+}
+
+// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+func (this GoToSocialReplyAuthorization) GetJSONLDId() vocab.JSONLDIdProperty {
+ return this.JSONLDId
+}
+
+// GetJSONLDType returns the "type" property if it exists, and nil otherwise.
+func (this GoToSocialReplyAuthorization) GetJSONLDType() vocab.JSONLDTypeProperty {
+ return this.JSONLDType
+}
+
+// GetTypeName returns the name of this type.
+func (this GoToSocialReplyAuthorization) GetTypeName() string {
+ return "ReplyAuthorization"
+}
+
+// GetUnknownProperties returns the unknown properties for the ReplyAuthorization
+// 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 GoToSocialReplyAuthorization) GetUnknownProperties() map[string]interface{} {
+ return this.unknown
+}
+
+// IsExtending returns true if the ReplyAuthorization type extends from the other
+// type.
+func (this GoToSocialReplyAuthorization) IsExtending(other vocab.Type) bool {
+ return GoToSocialReplyAuthorizationExtends(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 GoToSocialReplyAuthorization) 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.GoToSocialInteractingObject, m)
+ m = this.helperJSONLDContext(this.GoToSocialInteractionTarget, 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 ReplyAuthorization is lesser, with an arbitrary but
+// stable determination.
+func (this GoToSocialReplyAuthorization) LessThan(o vocab.GoToSocialReplyAuthorization) 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 "interactingObject"
+ if lhs, rhs := this.GoToSocialInteractingObject, o.GetGoToSocialInteractingObject(); 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 "interactionTarget"
+ if lhs, rhs := this.GoToSocialInteractionTarget, o.GetGoToSocialInteractionTarget(); 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 GoToSocialReplyAuthorization) Serialize() (map[string]interface{}, error) {
+ m := make(map[string]interface{})
+ typeName := "ReplyAuthorization"
+ if len(this.alias) > 0 {
+ typeName = this.alias + ":" + "ReplyAuthorization"
+ }
+ 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 "interactingObject"
+ if this.GoToSocialInteractingObject != nil {
+ if i, err := this.GoToSocialInteractingObject.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialInteractingObject.Name()] = i
+ }
+ }
+ // Maybe serialize property "interactionTarget"
+ if this.GoToSocialInteractionTarget != nil {
+ if i, err := this.GoToSocialInteractionTarget.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.GoToSocialInteractionTarget.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 *GoToSocialReplyAuthorization) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) {
+ this.ActivityStreamsAltitude = i
+}
+
+// SetActivityStreamsAttachment sets the "attachment" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) {
+ this.ActivityStreamsAttachment = i
+}
+
+// SetActivityStreamsAttributedTo sets the "attributedTo" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) {
+ this.ActivityStreamsAttributedTo = i
+}
+
+// SetActivityStreamsAudience sets the "audience" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) {
+ this.ActivityStreamsAudience = i
+}
+
+// SetActivityStreamsBcc sets the "bcc" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) {
+ this.ActivityStreamsBcc = i
+}
+
+// SetActivityStreamsBto sets the "bto" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) {
+ this.ActivityStreamsBto = i
+}
+
+// SetActivityStreamsCc sets the "cc" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) {
+ this.ActivityStreamsCc = i
+}
+
+// SetActivityStreamsContent sets the "content" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) {
+ this.ActivityStreamsContent = i
+}
+
+// SetActivityStreamsContext sets the "context" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) {
+ this.ActivityStreamsContext = i
+}
+
+// SetActivityStreamsDuration sets the "duration" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) {
+ this.ActivityStreamsDuration = i
+}
+
+// SetActivityStreamsEndTime sets the "endTime" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) {
+ this.ActivityStreamsEndTime = i
+}
+
+// SetActivityStreamsGenerator sets the "generator" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) {
+ this.ActivityStreamsGenerator = i
+}
+
+// SetActivityStreamsIcon sets the "icon" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) {
+ this.ActivityStreamsIcon = i
+}
+
+// SetActivityStreamsImage sets the "image" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) {
+ this.ActivityStreamsImage = i
+}
+
+// SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) {
+ this.ActivityStreamsInReplyTo = i
+}
+
+// SetActivityStreamsLikes sets the "likes" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) {
+ this.ActivityStreamsLikes = i
+}
+
+// SetActivityStreamsLocation sets the "location" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) {
+ this.ActivityStreamsLocation = i
+}
+
+// SetActivityStreamsMediaType sets the "mediaType" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) {
+ this.ActivityStreamsMediaType = i
+}
+
+// SetActivityStreamsName sets the "name" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) {
+ this.ActivityStreamsName = i
+}
+
+// SetActivityStreamsObject sets the "object" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) {
+ this.ActivityStreamsObject = i
+}
+
+// SetActivityStreamsPreview sets the "preview" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) {
+ this.ActivityStreamsPreview = i
+}
+
+// SetActivityStreamsPublished sets the "published" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) {
+ this.ActivityStreamsPublished = i
+}
+
+// SetActivityStreamsReplies sets the "replies" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) {
+ this.ActivityStreamsReplies = i
+}
+
+// SetActivityStreamsSensitive sets the "sensitive" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) {
+ this.ActivityStreamsSensitive = i
+}
+
+// SetActivityStreamsShares sets the "shares" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) {
+ this.ActivityStreamsShares = i
+}
+
+// SetActivityStreamsSource sets the "source" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) {
+ this.ActivityStreamsSource = i
+}
+
+// SetActivityStreamsStartTime sets the "startTime" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) {
+ this.ActivityStreamsStartTime = i
+}
+
+// SetActivityStreamsSummary sets the "summary" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) {
+ this.ActivityStreamsSummary = i
+}
+
+// SetActivityStreamsTag sets the "tag" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) {
+ this.ActivityStreamsTag = i
+}
+
+// SetActivityStreamsTo sets the "to" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) {
+ this.ActivityStreamsTo = i
+}
+
+// SetActivityStreamsUpdated sets the "updated" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) {
+ this.ActivityStreamsUpdated = i
+}
+
+// SetActivityStreamsUrl sets the "url" property.
+func (this *GoToSocialReplyAuthorization) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) {
+ this.ActivityStreamsUrl = i
+}
+
+// SetGoToSocialInteractingObject sets the "interactingObject" property.
+func (this *GoToSocialReplyAuthorization) SetGoToSocialInteractingObject(i vocab.GoToSocialInteractingObjectProperty) {
+ this.GoToSocialInteractingObject = i
+}
+
+// SetGoToSocialInteractionTarget sets the "interactionTarget" property.
+func (this *GoToSocialReplyAuthorization) SetGoToSocialInteractionTarget(i vocab.GoToSocialInteractionTargetProperty) {
+ this.GoToSocialInteractionTarget = i
+}
+
+// SetJSONLDId sets the "id" property.
+func (this *GoToSocialReplyAuthorization) SetJSONLDId(i vocab.JSONLDIdProperty) {
+ this.JSONLDId = i
+}
+
+// SetJSONLDType sets the "type" property.
+func (this *GoToSocialReplyAuthorization) SetJSONLDType(i vocab.JSONLDTypeProperty) {
+ this.JSONLDType = i
+}
+
+// VocabularyURI returns the vocabulary's URI as a string.
+func (this GoToSocialReplyAuthorization) 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 GoToSocialReplyAuthorization) 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go
new file mode 100644
index 000000000..1e20e43be
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package typereplyrequest contains the implementation for the ReplyRequest 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 typereplyrequest
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go
new file mode 100644
index 000000000..3a4e6793f
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_pkg.go
@@ -0,0 +1,199 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typereplyrequest
+
+import vocab "codeberg.org/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 {
+ // DeserializeActorPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsActorProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeActorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActorProperty, error)
+ // 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)
+ // DeserializeInstrumentPropertyActivityStreams returns the
+ // deserialization method for the "ActivityStreamsInstrumentProperty"
+ // non-functional property in the vocabulary "ActivityStreams"
+ DeserializeInstrumentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInstrumentProperty, 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)
+ // DeserializeOriginPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsOriginProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeOriginPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOriginProperty, 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)
+ // DeserializeResultPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsResultProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeResultPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsResultProperty, 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)
+ // DeserializeTargetPropertyActivityStreams returns the deserialization
+ // method for the "ActivityStreamsTargetProperty" non-functional
+ // property in the vocabulary "ActivityStreams"
+ DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, 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/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go
new file mode 100644
index 000000000..1a5713092
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest/gen_type_gotosocial_replyrequest.go
@@ -0,0 +1,1849 @@
+// Code generated by astool. DO NOT EDIT.
+
+package typereplyrequest
+
+import (
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "strings"
+)
+
+type GoToSocialReplyRequest struct {
+ ActivityStreamsActor vocab.ActivityStreamsActorProperty
+ 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
+ ActivityStreamsInstrument vocab.ActivityStreamsInstrumentProperty
+ ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
+ ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
+ ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty
+ ActivityStreamsName vocab.ActivityStreamsNameProperty
+ ActivityStreamsObject vocab.ActivityStreamsObjectProperty
+ ActivityStreamsOrigin vocab.ActivityStreamsOriginProperty
+ ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty
+ ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty
+ ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty
+ ActivityStreamsResult vocab.ActivityStreamsResultProperty
+ ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty
+ ActivityStreamsShares vocab.ActivityStreamsSharesProperty
+ ActivityStreamsSource vocab.ActivityStreamsSourceProperty
+ ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
+ ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
+ ActivityStreamsTag vocab.ActivityStreamsTagProperty
+ ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
+ ActivityStreamsTo vocab.ActivityStreamsToProperty
+ JSONLDType vocab.JSONLDTypeProperty
+ ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
+ ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
+ alias string
+ unknown map[string]interface{}
+}
+
+// DeserializeReplyRequest creates a ReplyRequest from a map representation that
+// has been unmarshalled from a text or binary format.
+func DeserializeReplyRequest(m map[string]interface{}, aliasMap map[string]string) (*GoToSocialReplyRequest, error) {
+ alias := ""
+ aliasPrefix := ""
+ if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
+ alias = a
+ aliasPrefix = a + ":"
+ }
+ this := &GoToSocialReplyRequest{
+ 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 != "ReplyRequest" {
+ return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "ReplyRequest", 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) == "ReplyRequest" {
+ found = true
+ break
+ }
+ }
+ if !found {
+ return nil, fmt.Errorf("could not find a \"type\" property of value %q", "ReplyRequest")
+ }
+ // 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.DeserializeActorPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsActor = p
+ }
+ 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.DeserializeInstrumentPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsInstrument = 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.DeserializeOriginPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsOrigin = 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.DeserializeResultPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsResult = 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.DeserializeTargetPropertyActivityStreams()(m, aliasMap); err != nil {
+ return nil, err
+ } else if p != nil {
+ this.ActivityStreamsTarget = 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 == "actor" {
+ continue
+ } else 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 == "instrument" {
+ 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 == "origin" {
+ continue
+ } else if k == "preview" {
+ continue
+ } else if k == "published" {
+ continue
+ } else if k == "replies" {
+ continue
+ } else if k == "result" {
+ 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 == "target" {
+ 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
+}
+
+// GoToSocialReplyRequestExtends returns true if the ReplyRequest type extends
+// from the other type.
+func GoToSocialReplyRequestExtends(other vocab.Type) bool {
+ extensions := []string{"Activity", "Object"}
+ for _, ext := range extensions {
+ if ext == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// IsOrExtendsReplyRequest returns true if the other provided type is the
+// ReplyRequest type or extends from the ReplyRequest type.
+func IsOrExtendsReplyRequest(other vocab.Type) bool {
+ if other.GetTypeName() == "ReplyRequest" {
+ return true
+ }
+ return ReplyRequestIsExtendedBy(other)
+}
+
+// NewGoToSocialReplyRequest creates a new ReplyRequest type
+func NewGoToSocialReplyRequest() *GoToSocialReplyRequest {
+ typeProp := typePropertyConstructor()
+ typeProp.AppendXMLSchemaString("ReplyRequest")
+ return &GoToSocialReplyRequest{
+ JSONLDType: typeProp,
+ alias: "",
+ unknown: make(map[string]interface{}),
+ }
+}
+
+// ReplyRequestIsDisjointWith returns true if the other provided type is disjoint
+// with the ReplyRequest type.
+func ReplyRequestIsDisjointWith(other vocab.Type) bool {
+ disjointWith := []string{"Hashtag", "Link", "Mention"}
+ for _, disjoint := range disjointWith {
+ if disjoint == other.GetTypeName() {
+ return true
+ }
+ }
+ return false
+}
+
+// ReplyRequestIsExtendedBy returns true if the other provided type extends from
+// the ReplyRequest type. Note that it returns false if the types are the
+// same; see the "IsOrExtendsReplyRequest" variant instead.
+func ReplyRequestIsExtendedBy(other vocab.Type) bool {
+ // Shortcut implementation: is not extended by anything.
+ return false
+}
+
+// GetActivityStreamsActor returns the "actor" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty {
+ return this.ActivityStreamsActor
+}
+
+// GetActivityStreamsAltitude returns the "altitude" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty {
+ return this.ActivityStreamsAltitude
+}
+
+// GetActivityStreamsAttachment returns the "attachment" property if it exists,
+// and nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty {
+ return this.ActivityStreamsAttachment
+}
+
+// GetActivityStreamsAttributedTo returns the "attributedTo" property if it
+// exists, and nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty {
+ return this.ActivityStreamsAttributedTo
+}
+
+// GetActivityStreamsAudience returns the "audience" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty {
+ return this.ActivityStreamsAudience
+}
+
+// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty {
+ return this.ActivityStreamsBcc
+}
+
+// GetActivityStreamsBto returns the "bto" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty {
+ return this.ActivityStreamsBto
+}
+
+// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty {
+ return this.ActivityStreamsCc
+}
+
+// GetActivityStreamsContent returns the "content" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty {
+ return this.ActivityStreamsContent
+}
+
+// GetActivityStreamsContext returns the "context" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty {
+ return this.ActivityStreamsContext
+}
+
+// GetActivityStreamsDuration returns the "duration" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty {
+ return this.ActivityStreamsDuration
+}
+
+// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty {
+ return this.ActivityStreamsEndTime
+}
+
+// GetActivityStreamsGenerator returns the "generator" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty {
+ return this.ActivityStreamsGenerator
+}
+
+// GetActivityStreamsIcon returns the "icon" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty {
+ return this.ActivityStreamsIcon
+}
+
+// GetActivityStreamsImage returns the "image" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty {
+ return this.ActivityStreamsImage
+}
+
+// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty {
+ return this.ActivityStreamsInReplyTo
+}
+
+// GetActivityStreamsInstrument returns the "instrument" property if it exists,
+// and nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty {
+ return this.ActivityStreamsInstrument
+}
+
+// GetActivityStreamsLikes returns the "likes" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty {
+ return this.ActivityStreamsLikes
+}
+
+// GetActivityStreamsLocation returns the "location" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty {
+ return this.ActivityStreamsLocation
+}
+
+// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty {
+ return this.ActivityStreamsMediaType
+}
+
+// GetActivityStreamsName returns the "name" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsName() vocab.ActivityStreamsNameProperty {
+ return this.ActivityStreamsName
+}
+
+// GetActivityStreamsObject returns the "object" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty {
+ return this.ActivityStreamsObject
+}
+
+// GetActivityStreamsOrigin returns the "origin" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty {
+ return this.ActivityStreamsOrigin
+}
+
+// GetActivityStreamsPreview returns the "preview" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty {
+ return this.ActivityStreamsPreview
+}
+
+// GetActivityStreamsPublished returns the "published" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty {
+ return this.ActivityStreamsPublished
+}
+
+// GetActivityStreamsReplies returns the "replies" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty {
+ return this.ActivityStreamsReplies
+}
+
+// GetActivityStreamsResult returns the "result" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty {
+ return this.ActivityStreamsResult
+}
+
+// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty {
+ return this.ActivityStreamsSensitive
+}
+
+// GetActivityStreamsShares returns the "shares" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty {
+ return this.ActivityStreamsShares
+}
+
+// GetActivityStreamsSource returns the "source" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty {
+ return this.ActivityStreamsSource
+}
+
+// GetActivityStreamsStartTime returns the "startTime" property if it exists, and
+// nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty {
+ return this.ActivityStreamsStartTime
+}
+
+// GetActivityStreamsSummary returns the "summary" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty {
+ return this.ActivityStreamsSummary
+}
+
+// GetActivityStreamsTag returns the "tag" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty {
+ return this.ActivityStreamsTag
+}
+
+// GetActivityStreamsTarget returns the "target" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty {
+ return this.ActivityStreamsTarget
+}
+
+// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsTo() vocab.ActivityStreamsToProperty {
+ return this.ActivityStreamsTo
+}
+
+// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty {
+ return this.ActivityStreamsUpdated
+}
+
+// GetActivityStreamsUrl returns the "url" property if it exists, and nil
+// otherwise.
+func (this GoToSocialReplyRequest) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty {
+ return this.ActivityStreamsUrl
+}
+
+// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+func (this GoToSocialReplyRequest) GetJSONLDId() vocab.JSONLDIdProperty {
+ return this.JSONLDId
+}
+
+// GetJSONLDType returns the "type" property if it exists, and nil otherwise.
+func (this GoToSocialReplyRequest) GetJSONLDType() vocab.JSONLDTypeProperty {
+ return this.JSONLDType
+}
+
+// GetTypeName returns the name of this type.
+func (this GoToSocialReplyRequest) GetTypeName() string {
+ return "ReplyRequest"
+}
+
+// GetUnknownProperties returns the unknown properties for the ReplyRequest 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 GoToSocialReplyRequest) GetUnknownProperties() map[string]interface{} {
+ return this.unknown
+}
+
+// IsExtending returns true if the ReplyRequest type extends from the other type.
+func (this GoToSocialReplyRequest) IsExtending(other vocab.Type) bool {
+ return GoToSocialReplyRequestExtends(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 GoToSocialReplyRequest) JSONLDContext() map[string]string {
+ m := map[string]string{"https://gotosocial.org/ns": this.alias}
+ m = this.helperJSONLDContext(this.ActivityStreamsActor, m)
+ 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.ActivityStreamsInstrument, 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.ActivityStreamsOrigin, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPreview, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsPublished, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsReplies, m)
+ m = this.helperJSONLDContext(this.ActivityStreamsResult, 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.ActivityStreamsTarget, 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 ReplyRequest is lesser, with an arbitrary but stable
+// determination.
+func (this GoToSocialReplyRequest) LessThan(o vocab.GoToSocialReplyRequest) bool {
+ // Begin: Compare known properties
+ // Compare property "actor"
+ if lhs, rhs := this.ActivityStreamsActor, o.GetActivityStreamsActor(); 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 "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 "instrument"
+ if lhs, rhs := this.ActivityStreamsInstrument, o.GetActivityStreamsInstrument(); 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 "origin"
+ if lhs, rhs := this.ActivityStreamsOrigin, o.GetActivityStreamsOrigin(); 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 "result"
+ if lhs, rhs := this.ActivityStreamsResult, o.GetActivityStreamsResult(); 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 "target"
+ if lhs, rhs := this.ActivityStreamsTarget, o.GetActivityStreamsTarget(); 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 GoToSocialReplyRequest) Serialize() (map[string]interface{}, error) {
+ m := make(map[string]interface{})
+ typeName := "ReplyRequest"
+ if len(this.alias) > 0 {
+ typeName = this.alias + ":" + "ReplyRequest"
+ }
+ m["type"] = typeName
+ // Begin: Serialize known properties
+ // Maybe serialize property "actor"
+ if this.ActivityStreamsActor != nil {
+ if i, err := this.ActivityStreamsActor.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsActor.Name()] = i
+ }
+ }
+ // 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 "instrument"
+ if this.ActivityStreamsInstrument != nil {
+ if i, err := this.ActivityStreamsInstrument.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsInstrument.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 "origin"
+ if this.ActivityStreamsOrigin != nil {
+ if i, err := this.ActivityStreamsOrigin.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsOrigin.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 "result"
+ if this.ActivityStreamsResult != nil {
+ if i, err := this.ActivityStreamsResult.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsResult.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 "target"
+ if this.ActivityStreamsTarget != nil {
+ if i, err := this.ActivityStreamsTarget.Serialize(); err != nil {
+ return nil, err
+ } else if i != nil {
+ m[this.ActivityStreamsTarget.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
+}
+
+// SetActivityStreamsActor sets the "actor" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty) {
+ this.ActivityStreamsActor = i
+}
+
+// SetActivityStreamsAltitude sets the "altitude" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) {
+ this.ActivityStreamsAltitude = i
+}
+
+// SetActivityStreamsAttachment sets the "attachment" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) {
+ this.ActivityStreamsAttachment = i
+}
+
+// SetActivityStreamsAttributedTo sets the "attributedTo" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) {
+ this.ActivityStreamsAttributedTo = i
+}
+
+// SetActivityStreamsAudience sets the "audience" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) {
+ this.ActivityStreamsAudience = i
+}
+
+// SetActivityStreamsBcc sets the "bcc" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) {
+ this.ActivityStreamsBcc = i
+}
+
+// SetActivityStreamsBto sets the "bto" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) {
+ this.ActivityStreamsBto = i
+}
+
+// SetActivityStreamsCc sets the "cc" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) {
+ this.ActivityStreamsCc = i
+}
+
+// SetActivityStreamsContent sets the "content" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) {
+ this.ActivityStreamsContent = i
+}
+
+// SetActivityStreamsContext sets the "context" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) {
+ this.ActivityStreamsContext = i
+}
+
+// SetActivityStreamsDuration sets the "duration" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) {
+ this.ActivityStreamsDuration = i
+}
+
+// SetActivityStreamsEndTime sets the "endTime" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) {
+ this.ActivityStreamsEndTime = i
+}
+
+// SetActivityStreamsGenerator sets the "generator" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) {
+ this.ActivityStreamsGenerator = i
+}
+
+// SetActivityStreamsIcon sets the "icon" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) {
+ this.ActivityStreamsIcon = i
+}
+
+// SetActivityStreamsImage sets the "image" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) {
+ this.ActivityStreamsImage = i
+}
+
+// SetActivityStreamsInReplyTo sets the "inReplyTo" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) {
+ this.ActivityStreamsInReplyTo = i
+}
+
+// SetActivityStreamsInstrument sets the "instrument" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty) {
+ this.ActivityStreamsInstrument = i
+}
+
+// SetActivityStreamsLikes sets the "likes" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) {
+ this.ActivityStreamsLikes = i
+}
+
+// SetActivityStreamsLocation sets the "location" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) {
+ this.ActivityStreamsLocation = i
+}
+
+// SetActivityStreamsMediaType sets the "mediaType" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) {
+ this.ActivityStreamsMediaType = i
+}
+
+// SetActivityStreamsName sets the "name" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) {
+ this.ActivityStreamsName = i
+}
+
+// SetActivityStreamsObject sets the "object" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) {
+ this.ActivityStreamsObject = i
+}
+
+// SetActivityStreamsOrigin sets the "origin" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty) {
+ this.ActivityStreamsOrigin = i
+}
+
+// SetActivityStreamsPreview sets the "preview" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) {
+ this.ActivityStreamsPreview = i
+}
+
+// SetActivityStreamsPublished sets the "published" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) {
+ this.ActivityStreamsPublished = i
+}
+
+// SetActivityStreamsReplies sets the "replies" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) {
+ this.ActivityStreamsReplies = i
+}
+
+// SetActivityStreamsResult sets the "result" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty) {
+ this.ActivityStreamsResult = i
+}
+
+// SetActivityStreamsSensitive sets the "sensitive" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) {
+ this.ActivityStreamsSensitive = i
+}
+
+// SetActivityStreamsShares sets the "shares" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) {
+ this.ActivityStreamsShares = i
+}
+
+// SetActivityStreamsSource sets the "source" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) {
+ this.ActivityStreamsSource = i
+}
+
+// SetActivityStreamsStartTime sets the "startTime" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) {
+ this.ActivityStreamsStartTime = i
+}
+
+// SetActivityStreamsSummary sets the "summary" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) {
+ this.ActivityStreamsSummary = i
+}
+
+// SetActivityStreamsTag sets the "tag" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) {
+ this.ActivityStreamsTag = i
+}
+
+// SetActivityStreamsTarget sets the "target" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty) {
+ this.ActivityStreamsTarget = i
+}
+
+// SetActivityStreamsTo sets the "to" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) {
+ this.ActivityStreamsTo = i
+}
+
+// SetActivityStreamsUpdated sets the "updated" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) {
+ this.ActivityStreamsUpdated = i
+}
+
+// SetActivityStreamsUrl sets the "url" property.
+func (this *GoToSocialReplyRequest) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) {
+ this.ActivityStreamsUrl = i
+}
+
+// SetJSONLDId sets the "id" property.
+func (this *GoToSocialReplyRequest) SetJSONLDId(i vocab.JSONLDIdProperty) {
+ this.JSONLDId = i
+}
+
+// SetJSONLDType sets the "type" property.
+func (this *GoToSocialReplyRequest) SetJSONLDType(i vocab.JSONLDTypeProperty) {
+ this.JSONLDType = i
+}
+
+// VocabularyURI returns the vocabulary's URI as a string.
+func (this GoToSocialReplyRequest) 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 GoToSocialReplyRequest) 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/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_doc.go
new file mode 100644
index 000000000..150fd5c77
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package propertyfocalpoint contains the implementation for the focalPoint
+// property. All applications are strongly encouraged to use the interface
+// instead of this concrete definition. The interfaces allow applications to
+// consume only the types and properties needed and be independent of the
+// go-fed implementation if another alternative implementation is created.
+// This package is code-generated and subject to the same license as the
+// go-fed tool used to generate it.
+//
+// This package is independent of other types' and properties' implementations
+// by having a Manager injected into it to act as a factory for the concrete
+// implementations. The implementations have been generated into their own
+// separate subpackages for each vocabulary.
+//
+// Strongly consider using the interfaces instead of this package.
+package propertyfocalpoint
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_pkg.go
new file mode 100644
index 000000000..2bebe7347
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_pkg.go
@@ -0,0 +1,15 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertyfocalpoint
+
+var mgr privateManager
+
+// privateManager abstracts the code-generated manager that provides access to
+// concrete implementations.
+type privateManager interface{}
+
+// SetManager sets the manager package-global variable. For internal use only, do
+// not use as part of Application behavior. Must be called at golang init time.
+func SetManager(m privateManager) {
+ mgr = m
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go
new file mode 100644
index 000000000..cb1eb304c
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint/gen_property_toot_focalPoint.go
@@ -0,0 +1,531 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertyfocalpoint
+
+import (
+ float "codeberg.org/superseriousbusiness/activity/streams/values/float"
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "net/url"
+)
+
+// TootFocalPointPropertyIterator is an iterator for a property. It is permitted
+// to be a single default-valued value type.
+type TootFocalPointPropertyIterator struct {
+ xmlschemaFloatMember float64
+ hasFloatMember bool
+ unknown interface{}
+ iri *url.URL
+ alias string
+ myIdx int
+ parent vocab.TootFocalPointProperty
+}
+
+// NewTootFocalPointPropertyIterator creates a new TootFocalPoint property.
+func NewTootFocalPointPropertyIterator() *TootFocalPointPropertyIterator {
+ return &TootFocalPointPropertyIterator{alias: ""}
+}
+
+// deserializeTootFocalPointPropertyIterator creates an iterator from an element
+// that has been unmarshalled from a text or binary format.
+func deserializeTootFocalPointPropertyIterator(i interface{}, aliasMap map[string]string) (*TootFocalPointPropertyIterator, error) {
+ alias := ""
+ if a, ok := aliasMap["http://joinmastodon.org/ns"]; ok {
+ alias = a
+ }
+ if s, ok := i.(string); ok {
+ u, err := url.Parse(s)
+ // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst
+ // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy
+ if err == nil && len(u.Scheme) > 0 {
+ this := &TootFocalPointPropertyIterator{
+ alias: alias,
+ iri: u,
+ }
+ return this, nil
+ }
+ }
+ if v, err := float.DeserializeFloat(i); err == nil {
+ this := &TootFocalPointPropertyIterator{
+ alias: alias,
+ hasFloatMember: true,
+ xmlschemaFloatMember: v,
+ }
+ return this, nil
+ }
+ this := &TootFocalPointPropertyIterator{
+ alias: alias,
+ unknown: i,
+ }
+ return this, nil
+}
+
+// Get returns the value of this property. When IsXMLSchemaFloat returns false,
+// Get will return any arbitrary value.
+func (this TootFocalPointPropertyIterator) Get() float64 {
+ return this.xmlschemaFloatMember
+}
+
+// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
+// return any arbitrary value.
+func (this TootFocalPointPropertyIterator) GetIRI() *url.URL {
+ return this.iri
+}
+
+// HasAny returns true if the value or IRI is set.
+func (this TootFocalPointPropertyIterator) HasAny() bool {
+ return this.IsXMLSchemaFloat() || this.iri != nil
+}
+
+// IsIRI returns true if this property is an IRI.
+func (this TootFocalPointPropertyIterator) IsIRI() bool {
+ return this.iri != nil
+}
+
+// IsXMLSchemaFloat returns true if this property is set and not an IRI.
+func (this TootFocalPointPropertyIterator) IsXMLSchemaFloat() bool {
+ return this.hasFloatMember
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this TootFocalPointPropertyIterator) JSONLDContext() map[string]string {
+ m := map[string]string{"http://joinmastodon.org/ns": this.alias}
+ var child map[string]string
+
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API detail only for folks looking to replace the go-fed
+// implementation. Applications should not use this method.
+func (this TootFocalPointPropertyIterator) KindIndex() int {
+ if this.IsXMLSchemaFloat() {
+ return 0
+ }
+ if this.IsIRI() {
+ return -2
+ }
+ return -1
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this TootFocalPointPropertyIterator) LessThan(o vocab.TootFocalPointPropertyIterator) bool {
+ // LessThan comparison for if either or both are IRIs.
+ if this.IsIRI() && o.IsIRI() {
+ return this.iri.String() < o.GetIRI().String()
+ } else if this.IsIRI() {
+ // IRIs are always less than other values, none, or unknowns
+ return true
+ } else if o.IsIRI() {
+ // This other, none, or unknown value is always greater than IRIs
+ return false
+ }
+ // LessThan comparison for the single value or unknown value.
+ if !this.IsXMLSchemaFloat() && !o.IsXMLSchemaFloat() {
+ // Both are unknowns.
+ return false
+ } else if this.IsXMLSchemaFloat() && !o.IsXMLSchemaFloat() {
+ // Values are always greater than unknown values.
+ return false
+ } else if !this.IsXMLSchemaFloat() && o.IsXMLSchemaFloat() {
+ // Unknowns are always less than known values.
+ return true
+ } else {
+ // Actual comparison.
+ return float.LessFloat(this.Get(), o.Get())
+ }
+}
+
+// Name returns the name of this property: "TootFocalPoint".
+func (this TootFocalPointPropertyIterator) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "TootFocalPoint"
+ } else {
+ return "TootFocalPoint"
+ }
+}
+
+// Next returns the next iterator, or nil if there is no next iterator.
+func (this TootFocalPointPropertyIterator) Next() vocab.TootFocalPointPropertyIterator {
+ if this.myIdx+1 >= this.parent.Len() {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx + 1)
+ }
+}
+
+// Prev returns the previous iterator, or nil if there is no previous iterator.
+func (this TootFocalPointPropertyIterator) Prev() vocab.TootFocalPointPropertyIterator {
+ if this.myIdx-1 < 0 {
+ return nil
+ } else {
+ return this.parent.At(this.myIdx - 1)
+ }
+}
+
+// Set sets the value of this property. Calling IsXMLSchemaFloat afterwards will
+// return true.
+func (this *TootFocalPointPropertyIterator) Set(v float64) {
+ this.clear()
+ this.xmlschemaFloatMember = v
+ this.hasFloatMember = true
+}
+
+// SetIRI sets the value of this property. Calling IsIRI afterwards will return
+// true.
+func (this *TootFocalPointPropertyIterator) SetIRI(v *url.URL) {
+ this.clear()
+ this.iri = v
+}
+
+// clear ensures no value of this property is set. Calling IsXMLSchemaFloat
+// afterwards will return false.
+func (this *TootFocalPointPropertyIterator) clear() {
+ this.unknown = nil
+ this.iri = nil
+ this.hasFloatMember = false
+}
+
+// serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this TootFocalPointPropertyIterator) serialize() (interface{}, error) {
+ if this.IsXMLSchemaFloat() {
+ return float.SerializeFloat(this.Get())
+ } else if this.IsIRI() {
+ return this.iri.String(), nil
+ }
+ return this.unknown, nil
+}
+
+// TootFocalPointProperty is the non-functional property "focalPoint". It is
+// permitted to have one or more values, and of different value types.
+type TootFocalPointProperty struct {
+ properties []*TootFocalPointPropertyIterator
+ alias string
+}
+
+// DeserializeFocalPointProperty creates a "focalPoint" property from an interface
+// representation that has been unmarshalled from a text or binary format.
+func DeserializeFocalPointProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.TootFocalPointProperty, error) {
+ alias := ""
+ if a, ok := aliasMap["http://joinmastodon.org/ns"]; ok {
+ alias = a
+ }
+ propName := "focalPoint"
+ if len(alias) > 0 {
+ propName = fmt.Sprintf("%s:%s", alias, "focalPoint")
+ }
+ i, ok := m[propName]
+
+ if ok {
+ this := &TootFocalPointProperty{
+ alias: alias,
+ properties: []*TootFocalPointPropertyIterator{},
+ }
+ if list, ok := i.([]interface{}); ok {
+ for _, iterator := range list {
+ if p, err := deserializeTootFocalPointPropertyIterator(iterator, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ } else {
+ if p, err := deserializeTootFocalPointPropertyIterator(i, aliasMap); err != nil {
+ return this, err
+ } else if p != nil {
+ this.properties = append(this.properties, p)
+ }
+ }
+ // Set up the properties for iteration.
+ for idx, ele := range this.properties {
+ ele.parent = this
+ ele.myIdx = idx
+ }
+ return this, nil
+ }
+ return nil, nil
+}
+
+// NewTootFocalPointProperty creates a new focalPoint property.
+func NewTootFocalPointProperty() *TootFocalPointProperty {
+ return &TootFocalPointProperty{alias: ""}
+}
+
+// AppendIRI appends an IRI value to the back of a list of the property
+// "focalPoint"
+func (this *TootFocalPointProperty) AppendIRI(v *url.URL) {
+ this.properties = append(this.properties, &TootFocalPointPropertyIterator{
+ alias: this.alias,
+ iri: v,
+ myIdx: this.Len(),
+ parent: this,
+ })
+}
+
+// AppendXMLSchemaFloat appends a float value to the back of a list of the
+// property "focalPoint". Invalidates iterators that are traversing using Prev.
+func (this *TootFocalPointProperty) AppendXMLSchemaFloat(v float64) {
+ this.properties = append(this.properties, &TootFocalPointPropertyIterator{
+ alias: this.alias,
+ hasFloatMember: true,
+ myIdx: this.Len(),
+ parent: this,
+ xmlschemaFloatMember: v,
+ })
+}
+
+// At returns the property value for the specified index. Panics if the index is
+// out of bounds.
+func (this TootFocalPointProperty) At(index int) vocab.TootFocalPointPropertyIterator {
+ return this.properties[index]
+}
+
+// Begin returns the first iterator, or nil if empty. Can be used with the
+// iterator's Next method and this property's End method to iterate from front
+// to back through all values.
+func (this TootFocalPointProperty) Begin() vocab.TootFocalPointPropertyIterator {
+ if this.Empty() {
+ return nil
+ } else {
+ return this.properties[0]
+ }
+}
+
+// Empty returns returns true if there are no elements.
+func (this TootFocalPointProperty) Empty() bool {
+ return this.Len() == 0
+}
+
+// End returns beyond-the-last iterator, which is nil. Can be used with the
+// iterator's Next method and this property's Begin method to iterate from
+// front to back through all values.
+func (this TootFocalPointProperty) End() vocab.TootFocalPointPropertyIterator {
+ return nil
+}
+
+// Insert inserts an IRI value at the specified index for a property "focalPoint".
+// Existing elements at that index and higher are shifted back once.
+// Invalidates all iterators.
+func (this *TootFocalPointProperty) InsertIRI(idx int, v *url.URL) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &TootFocalPointPropertyIterator{
+ alias: this.alias,
+ iri: v,
+ myIdx: idx,
+ parent: this,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// InsertXMLSchemaFloat inserts a float value at the specified index for a
+// property "focalPoint". Existing elements at that index and higher are
+// shifted back once. Invalidates all iterators.
+func (this *TootFocalPointProperty) InsertXMLSchemaFloat(idx int, v float64) {
+ this.properties = append(this.properties, nil)
+ copy(this.properties[idx+1:], this.properties[idx:])
+ this.properties[idx] = &TootFocalPointPropertyIterator{
+ alias: this.alias,
+ hasFloatMember: true,
+ myIdx: idx,
+ parent: this,
+ xmlschemaFloatMember: v,
+ }
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this TootFocalPointProperty) JSONLDContext() map[string]string {
+ m := map[string]string{"http://joinmastodon.org/ns": this.alias}
+ for _, elem := range this.properties {
+ child := elem.JSONLDContext()
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API method specifically needed only for alternate implementations
+// for go-fed. Applications should not use this method. Panics if the index is
+// out of bounds.
+func (this TootFocalPointProperty) KindIndex(idx int) int {
+ return this.properties[idx].KindIndex()
+}
+
+// Len returns the number of values that exist for the "focalPoint" property.
+func (this TootFocalPointProperty) Len() (length int) {
+ return len(this.properties)
+}
+
+// Less computes whether another property is less than this one. Mixing types
+// results in a consistent but arbitrary ordering
+func (this TootFocalPointProperty) Less(i, j int) bool {
+ idx1 := this.KindIndex(i)
+ idx2 := this.KindIndex(j)
+ if idx1 < idx2 {
+ return true
+ } else if idx1 == idx2 {
+ if idx1 == 0 {
+ lhs := this.properties[i].Get()
+ rhs := this.properties[j].Get()
+ return float.LessFloat(lhs, rhs)
+ } else if idx1 == -2 {
+ lhs := this.properties[i].GetIRI()
+ rhs := this.properties[j].GetIRI()
+ return lhs.String() < rhs.String()
+ }
+ }
+ return false
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this TootFocalPointProperty) LessThan(o vocab.TootFocalPointProperty) bool {
+ l1 := this.Len()
+ l2 := o.Len()
+ l := l1
+ if l2 < l1 {
+ l = l2
+ }
+ for i := 0; i < l; i++ {
+ if this.properties[i].LessThan(o.At(i)) {
+ return true
+ } else if o.At(i).LessThan(this.properties[i]) {
+ return false
+ }
+ }
+ return l1 < l2
+}
+
+// Name returns the name of this property ("focalPoint") with any alias.
+func (this TootFocalPointProperty) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "focalPoint"
+ } else {
+ return "focalPoint"
+ }
+}
+
+// PrependIRI prepends an IRI value to the front of a list of the property
+// "focalPoint".
+func (this *TootFocalPointProperty) PrependIRI(v *url.URL) {
+ this.properties = append([]*TootFocalPointPropertyIterator{{
+ alias: this.alias,
+ iri: v,
+ myIdx: 0,
+ parent: this,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// PrependXMLSchemaFloat prepends a float value to the front of a list of the
+// property "focalPoint". Invalidates all iterators.
+func (this *TootFocalPointProperty) PrependXMLSchemaFloat(v float64) {
+ this.properties = append([]*TootFocalPointPropertyIterator{{
+ alias: this.alias,
+ hasFloatMember: true,
+ myIdx: 0,
+ parent: this,
+ xmlschemaFloatMember: v,
+ }}, this.properties...)
+ for i := 1; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// Remove deletes an element at the specified index from a list of the property
+// "focalPoint", regardless of its type. Panics if the index is out of bounds.
+// Invalidates all iterators.
+func (this *TootFocalPointProperty) Remove(idx int) {
+ (this.properties)[idx].parent = nil
+ copy((this.properties)[idx:], (this.properties)[idx+1:])
+ (this.properties)[len(this.properties)-1] = &TootFocalPointPropertyIterator{}
+ this.properties = (this.properties)[:len(this.properties)-1]
+ for i := idx; i < this.Len(); i++ {
+ (this.properties)[i].myIdx = i
+ }
+}
+
+// Serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this TootFocalPointProperty) Serialize() (interface{}, error) {
+ s := make([]interface{}, 0, len(this.properties))
+ for _, iterator := range this.properties {
+ if b, err := iterator.serialize(); err != nil {
+ return s, err
+ } else {
+ s = append(s, b)
+ }
+ }
+ // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
+ if len(s) == 1 {
+ return s[0], nil
+ }
+ return s, nil
+}
+
+// Set sets a float value to be at the specified index for the property
+// "focalPoint". Panics if the index is out of bounds. Invalidates all
+// iterators.
+func (this *TootFocalPointProperty) Set(idx int, v float64) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &TootFocalPointPropertyIterator{
+ alias: this.alias,
+ hasFloatMember: true,
+ myIdx: idx,
+ parent: this,
+ xmlschemaFloatMember: v,
+ }
+}
+
+// SetIRI sets an IRI value to be at the specified index for the property
+// "focalPoint". Panics if the index is out of bounds.
+func (this *TootFocalPointProperty) SetIRI(idx int, v *url.URL) {
+ (this.properties)[idx].parent = nil
+ (this.properties)[idx] = &TootFocalPointPropertyIterator{
+ alias: this.alias,
+ iri: v,
+ myIdx: idx,
+ parent: this,
+ }
+}
+
+// Swap swaps the location of values at two indices for the "focalPoint" property.
+func (this TootFocalPointProperty) Swap(i, j int) {
+ this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_doc.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_doc.go
new file mode 100644
index 000000000..256409d37
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_doc.go
@@ -0,0 +1,17 @@
+// Code generated by astool. DO NOT EDIT.
+
+// Package propertyindexable contains the implementation for the indexable
+// property. All applications are strongly encouraged to use the interface
+// instead of this concrete definition. The interfaces allow applications to
+// consume only the types and properties needed and be independent of the
+// go-fed implementation if another alternative implementation is created.
+// This package is code-generated and subject to the same license as the
+// go-fed tool used to generate it.
+//
+// This package is independent of other types' and properties' implementations
+// by having a Manager injected into it to act as a factory for the concrete
+// implementations. The implementations have been generated into their own
+// separate subpackages for each vocabulary.
+//
+// Strongly consider using the interfaces instead of this package.
+package propertyindexable
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_pkg.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_pkg.go
new file mode 100644
index 000000000..9952e364b
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_pkg.go
@@ -0,0 +1,15 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertyindexable
+
+var mgr privateManager
+
+// privateManager abstracts the code-generated manager that provides access to
+// concrete implementations.
+type privateManager interface{}
+
+// SetManager sets the manager package-global variable. For internal use only, do
+// not use as part of Application behavior. Must be called at golang init time.
+func SetManager(m privateManager) {
+ mgr = m
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go
new file mode 100644
index 000000000..ea6742680
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable/gen_property_toot_indexable.go
@@ -0,0 +1,203 @@
+// Code generated by astool. DO NOT EDIT.
+
+package propertyindexable
+
+import (
+ boolean "codeberg.org/superseriousbusiness/activity/streams/values/boolean"
+ vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
+ "fmt"
+ "net/url"
+)
+
+// TootIndexableProperty is the functional property "indexable". It is permitted
+// to be a single default-valued value type.
+type TootIndexableProperty struct {
+ xmlschemaBooleanMember bool
+ hasBooleanMember bool
+ unknown interface{}
+ iri *url.URL
+ alias string
+}
+
+// DeserializeIndexableProperty creates a "indexable" property from an interface
+// representation that has been unmarshalled from a text or binary format.
+func DeserializeIndexableProperty(m map[string]interface{}, aliasMap map[string]string) (*TootIndexableProperty, error) {
+ alias := ""
+ if a, ok := aliasMap["http://joinmastodon.org/ns"]; ok {
+ alias = a
+ }
+ propName := "indexable"
+ if len(alias) > 0 {
+ // Use alias both to find the property, and set within the property.
+ propName = fmt.Sprintf("%s:%s", alias, "indexable")
+ }
+ i, ok := m[propName]
+
+ if ok {
+ if s, ok := i.(string); ok {
+ u, err := url.Parse(s)
+ // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst
+ // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy
+ if err == nil && len(u.Scheme) > 0 {
+ this := &TootIndexableProperty{
+ alias: alias,
+ iri: u,
+ }
+ return this, nil
+ }
+ }
+ if v, err := boolean.DeserializeBoolean(i); err == nil {
+ this := &TootIndexableProperty{
+ alias: alias,
+ hasBooleanMember: true,
+ xmlschemaBooleanMember: v,
+ }
+ return this, nil
+ }
+ this := &TootIndexableProperty{
+ alias: alias,
+ unknown: i,
+ }
+ return this, nil
+ }
+ return nil, nil
+}
+
+// NewTootIndexableProperty creates a new indexable property.
+func NewTootIndexableProperty() *TootIndexableProperty {
+ return &TootIndexableProperty{alias: ""}
+}
+
+// Clear ensures no value of this property is set. Calling IsXMLSchemaBoolean
+// afterwards will return false.
+func (this *TootIndexableProperty) Clear() {
+ this.unknown = nil
+ this.iri = nil
+ this.hasBooleanMember = false
+}
+
+// Get returns the value of this property. When IsXMLSchemaBoolean returns false,
+// Get will return any arbitrary value.
+func (this TootIndexableProperty) Get() bool {
+ return this.xmlschemaBooleanMember
+}
+
+// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
+// return any arbitrary value.
+func (this TootIndexableProperty) GetIRI() *url.URL {
+ return this.iri
+}
+
+// HasAny returns true if the value or IRI is set.
+func (this TootIndexableProperty) HasAny() bool {
+ return this.IsXMLSchemaBoolean() || this.iri != nil
+}
+
+// IsIRI returns true if this property is an IRI.
+func (this TootIndexableProperty) IsIRI() bool {
+ return this.iri != nil
+}
+
+// IsXMLSchemaBoolean returns true if this property is set and not an IRI.
+func (this TootIndexableProperty) IsXMLSchemaBoolean() bool {
+ return this.hasBooleanMember
+}
+
+// JSONLDContext returns the JSONLD URIs required in the context string for this
+// property and the specific values that are set. The value in the map is the
+// alias used to import the property's value or values.
+func (this TootIndexableProperty) JSONLDContext() map[string]string {
+ m := map[string]string{"http://joinmastodon.org/ns": this.alias}
+ var child map[string]string
+
+ /*
+ Since the literal maps in this function are determined at
+ code-generation time, this loop should not overwrite an existing key with a
+ new value.
+ */
+ for k, v := range child {
+ m[k] = v
+ }
+ return m
+}
+
+// KindIndex computes an arbitrary value for indexing this kind of value. This is
+// a leaky API detail only for folks looking to replace the go-fed
+// implementation. Applications should not use this method.
+func (this TootIndexableProperty) KindIndex() int {
+ if this.IsXMLSchemaBoolean() {
+ return 0
+ }
+ if this.IsIRI() {
+ return -2
+ }
+ return -1
+}
+
+// LessThan compares two instances of this property with an arbitrary but stable
+// comparison. Applications should not use this because it is only meant to
+// help alternative implementations to go-fed to be able to normalize
+// nonfunctional properties.
+func (this TootIndexableProperty) LessThan(o vocab.TootIndexableProperty) bool {
+ // LessThan comparison for if either or both are IRIs.
+ if this.IsIRI() && o.IsIRI() {
+ return this.iri.String() < o.GetIRI().String()
+ } else if this.IsIRI() {
+ // IRIs are always less than other values, none, or unknowns
+ return true
+ } else if o.IsIRI() {
+ // This other, none, or unknown value is always greater than IRIs
+ return false
+ }
+ // LessThan comparison for the single value or unknown value.
+ if !this.IsXMLSchemaBoolean() && !o.IsXMLSchemaBoolean() {
+ // Both are unknowns.
+ return false
+ } else if this.IsXMLSchemaBoolean() && !o.IsXMLSchemaBoolean() {
+ // Values are always greater than unknown values.
+ return false
+ } else if !this.IsXMLSchemaBoolean() && o.IsXMLSchemaBoolean() {
+ // Unknowns are always less than known values.
+ return true
+ } else {
+ // Actual comparison.
+ return boolean.LessBoolean(this.Get(), o.Get())
+ }
+}
+
+// Name returns the name of this property: "indexable".
+func (this TootIndexableProperty) Name() string {
+ if len(this.alias) > 0 {
+ return this.alias + ":" + "indexable"
+ } else {
+ return "indexable"
+ }
+}
+
+// Serialize converts this into an interface representation suitable for
+// marshalling into a text or binary format. Applications should not need this
+// function as most typical use cases serialize types instead of individual
+// properties. It is exposed for alternatives to go-fed implementations to use.
+func (this TootIndexableProperty) Serialize() (interface{}, error) {
+ if this.IsXMLSchemaBoolean() {
+ return boolean.SerializeBoolean(this.Get())
+ } else if this.IsIRI() {
+ return this.iri.String(), nil
+ }
+ return this.unknown, nil
+}
+
+// Set sets the value of this property. Calling IsXMLSchemaBoolean afterwards will
+// return true.
+func (this *TootIndexableProperty) Set(v bool) {
+ this.Clear()
+ this.xmlschemaBooleanMember = v
+ this.hasBooleanMember = true
+}
+
+// SetIRI sets the value of this property. Calling IsIRI afterwards will return
+// true.
+func (this *TootIndexableProperty) SetIRI(v *url.URL) {
+ this.Clear()
+ this.iri = v
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go
index b0e8f050d..02f8a8d98 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go
@@ -179,7 +179,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", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
+ disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/util.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/util.go
index c0e0e9e5e..cb9bf7253 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/util.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/util.go
@@ -14,9 +14,9 @@ const (
// only applicable to go-fed at code-generation time.
jsonLDContext = "@context"
- asNS = "https://www.w3.org/ns/activitystreams"
- tootNS = "http://joinmastodon.org/ns"
- schemaNS = "http://schema.org"
+ asNS = "https://www.w3.org/ns/activitystreams"
+ tootNS = "http://joinmastodon.org/ns"
+ schemaNS = "http://schema.org"
)
// Map of inlines @context entries that may need to be added
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go
index 9eff11664..95aa23eac 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsActorPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsActorPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsActorPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1060,14 +1131,38 @@ type ActivityStreamsActorProperty interface {
// the back of a list of the property "actor". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "actor". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "actor". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "actor". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "actor". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "actor". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "actor". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "actor"
AppendIRI(v *url.URL)
@@ -1348,14 +1443,41 @@ type ActivityStreamsActorProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "actor". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "actor". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "actor". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "actor". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "actor". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "actor". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1586,12 +1708,34 @@ type ActivityStreamsActorProperty interface {
// the front of a list of the property "actor". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "actor". Invalidates
+ // all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "actor". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "actor". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "actor". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "actor". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "actor". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "actor". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "actor". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "actor".
PrependIRI(v *url.URL)
@@ -1857,14 +2001,38 @@ type ActivityStreamsActorProperty interface {
// the specified index for the property "actor". Panics if the index
// is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "actor". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "actor". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "actor". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "actor". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "actor". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "actor". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go
index cda3db5e1..2a3847f3b 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsAnyOfPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsAnyOfPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsAnyOfPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1039,14 +1110,38 @@ type ActivityStreamsAnyOfProperty interface {
// the back of a list of the property "anyOf". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "anyOf". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "anyOf". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "anyOf". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "anyOf". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "anyOf". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "anyOf". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "anyOf"
AppendIRI(v *url.URL)
@@ -1327,14 +1422,41 @@ type ActivityStreamsAnyOfProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "anyOf". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "anyOf". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "anyOf". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "anyOf". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "anyOf". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "anyOf". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1565,12 +1687,34 @@ type ActivityStreamsAnyOfProperty interface {
// the front of a list of the property "anyOf". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "anyOf". Invalidates
+ // all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "anyOf". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "anyOf". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "anyOf". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "anyOf". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "anyOf". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "anyOf". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "anyOf". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "anyOf".
PrependIRI(v *url.URL)
@@ -1836,14 +1980,38 @@ type ActivityStreamsAnyOfProperty interface {
// the specified index for the property "anyOf". Panics if the index
// is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "anyOf". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "anyOf". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "anyOf". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "anyOf". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "anyOf". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "anyOf". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go
index baf2e22f2..6f255aeab 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsAttachmentPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsAttachmentPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsAttachmentPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1034,14 +1105,38 @@ type ActivityStreamsAttachmentProperty interface {
// the back of a list of the property "attachment". Invalidates
// iterators that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "attachment".
+ // Invalidates iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "attachment". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "attachment". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "attachment". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "attachment". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "attachment". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "attachment"
AppendIRI(v *url.URL)
@@ -1327,16 +1422,46 @@ type ActivityStreamsAttachmentProperty interface {
// at that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "attachment". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "attachment". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "attachment". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "attachment". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "attachment". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "attachment". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1573,14 +1698,37 @@ type ActivityStreamsAttachmentProperty interface {
// the front of a list of the property "attachment". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "attachment".
+ // Invalidates all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "attachment". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "attachment". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "attachment". Invalidates
+ // all iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "attachment". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "attachment". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "attachment". Invalidates
+ // all iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "attachment". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "attachment".
PrependIRI(v *url.URL)
@@ -1846,14 +1994,38 @@ type ActivityStreamsAttachmentProperty interface {
// the specified index for the property "attachment". Panics if the
// index is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "attachment". Panics
+ // if the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "attachment". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "attachment". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "attachment". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "attachment". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "attachment". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go
index 560d3a261..8817b523a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsAttributedToPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsAttributedToPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsAttributedToPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1051,14 +1122,38 @@ type ActivityStreamsAttributedToProperty interface {
// the back of a list of the property "attributedTo". Invalidates
// iterators that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "attributedTo".
+ // Invalidates iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "attributedTo". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "attributedTo". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "attributedTo". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "attributedTo". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "attributedTo". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "attributedTo"
AppendIRI(v *url.URL)
@@ -1344,16 +1439,46 @@ type ActivityStreamsAttributedToProperty interface {
// elements at that index and higher are shifted back once.
// Invalidates all iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "attributedTo".
+ // Existing elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "attributedTo". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "attributedTo". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "attributedTo". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "attributedTo". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "attributedTo". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1590,14 +1715,37 @@ type ActivityStreamsAttributedToProperty interface {
// the front of a list of the property "attributedTo". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "attributedTo".
+ // Invalidates all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "attributedTo". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "attributedTo". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "attributedTo". Invalidates
+ // all iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "attributedTo". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "attributedTo". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "attributedTo". Invalidates
+ // all iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "attributedTo". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "attributedTo".
PrependIRI(v *url.URL)
@@ -1863,14 +2011,38 @@ type ActivityStreamsAttributedToProperty interface {
// the specified index for the property "attributedTo". Panics if the
// index is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "attributedTo".
+ // Panics if the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "attributedTo". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "attributedTo". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "attributedTo". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "attributedTo". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "attributedTo". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go
index 9e69f9320..d5ee18c79 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsAudiencePropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsAudiencePropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsAudiencePropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1036,14 +1107,38 @@ type ActivityStreamsAudienceProperty interface {
// the back of a list of the property "audience". Invalidates
// iterators that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "audience". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "audience". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "audience". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "audience". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "audience". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "audience". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "audience"
AppendIRI(v *url.URL)
@@ -1329,16 +1424,46 @@ type ActivityStreamsAudienceProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "audience". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "audience". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "audience". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "audience". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "audience". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "audience". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1574,14 +1699,37 @@ type ActivityStreamsAudienceProperty interface {
// the front of a list of the property "audience". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "audience".
+ // Invalidates all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "audience". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "audience". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "audience". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "audience". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "audience". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "audience". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "audience". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "audience".
PrependIRI(v *url.URL)
@@ -1847,14 +1995,38 @@ type ActivityStreamsAudienceProperty interface {
// the specified index for the property "audience". Panics if the
// index is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "audience". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "audience". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "audience". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "audience". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "audience". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "audience". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go
index 0f065871c..4a607704e 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsBccPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsBccPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsBccPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1032,14 +1103,38 @@ type ActivityStreamsBccProperty interface {
// the back of a list of the property "bcc". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "bcc". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "bcc". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "bcc". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "bcc". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "bcc". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "bcc". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "bcc"
AppendIRI(v *url.URL)
@@ -1316,14 +1411,40 @@ type ActivityStreamsBccProperty interface {
// 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)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "bcc". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "bcc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "bcc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "bcc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "bcc". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "bcc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1554,12 +1675,34 @@ type ActivityStreamsBccProperty interface {
// the front of a list of the property "bcc". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "bcc". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "bcc". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "bcc". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "bcc". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "bcc". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "bcc". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "bcc". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "bcc". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "bcc".
PrependIRI(v *url.URL)
@@ -1825,14 +1968,38 @@ type ActivityStreamsBccProperty interface {
// the specified index for the property "bcc". Panics if the index is
// out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "bcc". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "bcc". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "bcc". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "bcc". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "bcc". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "bcc". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go
index 3683a053e..2c7a956fd 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsBtoPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsBtoPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsBtoPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1032,14 +1103,38 @@ type ActivityStreamsBtoProperty interface {
// the back of a list of the property "bto". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "bto". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "bto". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "bto". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "bto". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "bto". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "bto". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "bto"
AppendIRI(v *url.URL)
@@ -1316,14 +1411,40 @@ type ActivityStreamsBtoProperty interface {
// 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)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "bto". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "bto". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "bto". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "bto". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "bto". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "bto". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1554,12 +1675,34 @@ type ActivityStreamsBtoProperty interface {
// the front of a list of the property "bto". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "bto". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "bto". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "bto". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "bto". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "bto". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "bto". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "bto". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "bto". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "bto".
PrependIRI(v *url.URL)
@@ -1825,14 +1968,38 @@ type ActivityStreamsBtoProperty interface {
// the specified index for the property "bto". Panics if the index is
// out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "bto". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "bto". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "bto". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "bto". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "bto". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "bto". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go
index e059fd15f..31f5eae4f 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsCcPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsCcPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsCcPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1030,14 +1101,38 @@ type ActivityStreamsCcProperty interface {
// the back of a list of the property "cc". Invalidates iterators that
// are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "cc". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "cc". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "cc". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "cc". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "cc". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "cc". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "cc"
AppendIRI(v *url.URL)
@@ -1312,14 +1407,40 @@ type ActivityStreamsCcProperty interface {
// 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)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "cc". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "cc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "cc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "cc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "cc". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "cc". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1548,12 +1669,33 @@ type ActivityStreamsCcProperty interface {
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "cc". Invalidates all iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "cc". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "cc". Invalidates all iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "cc". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "cc". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "cc". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "cc". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "cc". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "cc". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "cc".
PrependIRI(v *url.URL)
@@ -1819,14 +1961,38 @@ type ActivityStreamsCcProperty interface {
// the specified index for the property "cc". Panics if the index is
// out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "cc". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "cc". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "cc". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "cc". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "cc". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "cc". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go
index 04c05de1b..bcad48671 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go
@@ -248,14 +248,38 @@ type ActivityStreamsClosedPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -540,14 +564,43 @@ type ActivityStreamsClosedPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -775,12 +828,30 @@ type ActivityStreamsClosedPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1053,14 +1124,38 @@ type ActivityStreamsClosedProperty interface {
// the back of a list of the property "closed". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "closed". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "closed". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "closed". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "closed". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "closed". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "closed". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "closed"
AppendIRI(v *url.URL)
@@ -1349,14 +1444,41 @@ type ActivityStreamsClosedProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "closed". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "closed". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "closed". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "closed". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "closed". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "closed". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1595,12 +1717,34 @@ type ActivityStreamsClosedProperty interface {
// the front of a list of the property "closed". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "closed". Invalidates
+ // all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "closed". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "closed". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "closed". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "closed". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "closed". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "closed". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "closed". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "closed".
PrependIRI(v *url.URL)
@@ -1872,14 +2016,38 @@ type ActivityStreamsClosedProperty interface {
// the specified index for the property "closed". Panics if the index
// is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "closed". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "closed". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "closed". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "closed". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "closed". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "closed". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go
index 01fc24b71..086d48327 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsContextPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsContextPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsContextPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1046,14 +1117,38 @@ type ActivityStreamsContextProperty interface {
// the back of a list of the property "context". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "context". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "context". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "context". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "context". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "context". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "context". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "context"
AppendIRI(v *url.URL)
@@ -1334,14 +1429,41 @@ type ActivityStreamsContextProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "context". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "context". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "context". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "context". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "context". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "context". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1576,14 +1698,37 @@ type ActivityStreamsContextProperty interface {
// the front of a list of the property "context". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "context". Invalidates
+ // all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "context". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "context". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "context". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "context". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "context". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "context". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "context". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "context".
PrependIRI(v *url.URL)
@@ -1849,14 +1994,38 @@ type ActivityStreamsContextProperty interface {
// the specified index for the property "context". Panics if the index
// is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "context". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "context". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "context". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "context". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "context". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "context". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go
index d2d0998a7..ea11c6032 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go
@@ -252,14 +252,38 @@ type ActivityStreamsDescribesProperty interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -525,14 +549,43 @@ type ActivityStreamsDescribesProperty interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -743,12 +796,30 @@ type ActivityStreamsDescribesProperty interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go
index 493b70fca..d31f1a72d 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go
@@ -237,14 +237,38 @@ type ActivityStreamsFormerTypePropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -514,14 +538,43 @@ type ActivityStreamsFormerTypePropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -735,12 +788,30 @@ type ActivityStreamsFormerTypePropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1001,14 +1072,38 @@ type ActivityStreamsFormerTypeProperty interface {
// the back of a list of the property "formerType". Invalidates
// iterators that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "formerType".
+ // Invalidates iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "formerType". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "formerType". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "formerType". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "formerType". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "formerType". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "formerType"
AppendIRI(v *url.URL)
@@ -1286,16 +1381,46 @@ type ActivityStreamsFormerTypeProperty interface {
// at that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "formerType". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "formerType". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "formerType". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "formerType". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "formerType". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "formerType". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1526,14 +1651,37 @@ type ActivityStreamsFormerTypeProperty interface {
// the front of a list of the property "formerType". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "formerType".
+ // Invalidates all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "formerType". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "formerType". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "formerType". Invalidates
+ // all iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "formerType". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "formerType". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "formerType". Invalidates
+ // all iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "formerType". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "formerType".
PrependIRI(v *url.URL)
@@ -1791,14 +1939,38 @@ type ActivityStreamsFormerTypeProperty interface {
// the specified index for the property "formerType". Panics if the
// index is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "formerType". Panics
+ // if the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "formerType". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "formerType". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "formerType". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "formerType". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "formerType". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go
index ba6312e82..380de7732 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsGeneratorPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsGeneratorPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsGeneratorPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1032,14 +1103,38 @@ type ActivityStreamsGeneratorProperty interface {
// the back of a list of the property "generator". Invalidates
// iterators that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "generator".
+ // Invalidates iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "generator". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "generator". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "generator". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "generator". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "generator". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "generator"
AppendIRI(v *url.URL)
@@ -1325,16 +1420,46 @@ type ActivityStreamsGeneratorProperty interface {
// at that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "generator". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "generator". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "generator". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "generator". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "generator". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "generator". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1571,14 +1696,37 @@ type ActivityStreamsGeneratorProperty interface {
// the front of a list of the property "generator". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "generator".
+ // Invalidates all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "generator". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "generator". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "generator". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "generator". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "generator". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "generator". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "generator". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "generator".
PrependIRI(v *url.URL)
@@ -1844,14 +1992,38 @@ type ActivityStreamsGeneratorProperty interface {
// the specified index for the property "generator". Panics if the
// index is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "generator". Panics
+ // if the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "generator". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "generator". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "generator". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "generator". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "generator". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go
index eec2d6122..fcf1d5710 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsInReplyToPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsInReplyToPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsInReplyToPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1042,14 +1113,38 @@ type ActivityStreamsInReplyToProperty interface {
// the back of a list of the property "inReplyTo". Invalidates
// iterators that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "inReplyTo".
+ // Invalidates iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "inReplyTo". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "inReplyTo". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "inReplyTo". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "inReplyTo". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "inReplyTo". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "inReplyTo"
AppendIRI(v *url.URL)
@@ -1335,16 +1430,46 @@ type ActivityStreamsInReplyToProperty interface {
// at that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "inReplyTo". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "inReplyTo". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "inReplyTo". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "inReplyTo". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "inReplyTo". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "inReplyTo". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1581,14 +1706,37 @@ type ActivityStreamsInReplyToProperty interface {
// the front of a list of the property "inReplyTo". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "inReplyTo".
+ // Invalidates all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "inReplyTo". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "inReplyTo". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "inReplyTo". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "inReplyTo". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "inReplyTo". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "inReplyTo". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "inReplyTo". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "inReplyTo".
PrependIRI(v *url.URL)
@@ -1854,14 +2002,38 @@ type ActivityStreamsInReplyToProperty interface {
// the specified index for the property "inReplyTo". Panics if the
// index is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "inReplyTo". Panics
+ // if the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "inReplyTo". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "inReplyTo". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "inReplyTo". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "inReplyTo". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "inReplyTo". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go
index b9471eee1..7df49d1e1 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsInstrumentPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsInstrumentPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsInstrumentPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1040,14 +1111,38 @@ type ActivityStreamsInstrumentProperty interface {
// the back of a list of the property "instrument". Invalidates
// iterators that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "instrument".
+ // Invalidates iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "instrument". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "instrument". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "instrument". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "instrument". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "instrument". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "instrument"
AppendIRI(v *url.URL)
@@ -1333,16 +1428,46 @@ type ActivityStreamsInstrumentProperty interface {
// at that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "instrument". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "instrument". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "instrument". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "instrument". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "instrument". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "instrument". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1579,14 +1704,37 @@ type ActivityStreamsInstrumentProperty interface {
// the front of a list of the property "instrument". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "instrument".
+ // Invalidates all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "instrument". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "instrument". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "instrument". Invalidates
+ // all iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "instrument". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "instrument". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "instrument". Invalidates
+ // all iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "instrument". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "instrument".
PrependIRI(v *url.URL)
@@ -1852,14 +2000,38 @@ type ActivityStreamsInstrumentProperty interface {
// the specified index for the property "instrument". Panics if the
// index is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "instrument". Panics
+ // if the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "instrument". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "instrument". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "instrument". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "instrument". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "instrument". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go
index 083e27454..3e554b3e4 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsItemsPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsItemsPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsItemsPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1039,14 +1110,38 @@ type ActivityStreamsItemsProperty interface {
// the back of a list of the property "items". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "items". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "items". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "items". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "items". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "items". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "items". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "items"
AppendIRI(v *url.URL)
@@ -1327,14 +1422,41 @@ type ActivityStreamsItemsProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "items". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "items". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "items". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "items". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "items". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "items". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1565,12 +1687,34 @@ type ActivityStreamsItemsProperty interface {
// the front of a list of the property "items". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "items". Invalidates
+ // all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "items". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "items". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "items". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "items". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "items". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "items". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "items". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "items".
PrependIRI(v *url.URL)
@@ -1836,14 +1980,38 @@ type ActivityStreamsItemsProperty interface {
// the specified index for the property "items". Panics if the index
// is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "items". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "items". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "items". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "items". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "items". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "items". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go
index 81b5d7562..2401bbaea 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsLocationPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsLocationPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsLocationPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1038,14 +1109,38 @@ type ActivityStreamsLocationProperty interface {
// the back of a list of the property "location". Invalidates
// iterators that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "location". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "location". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "location". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "location". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "location". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "location". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "location"
AppendIRI(v *url.URL)
@@ -1331,16 +1426,46 @@ type ActivityStreamsLocationProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "location". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "location". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "location". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "location". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "location". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "location". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1576,14 +1701,37 @@ type ActivityStreamsLocationProperty interface {
// the front of a list of the property "location". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "location".
+ // Invalidates all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "location". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "location". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "location". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "location". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "location". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "location". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "location". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "location".
PrependIRI(v *url.URL)
@@ -1849,14 +1997,38 @@ type ActivityStreamsLocationProperty interface {
// the specified index for the property "location". Panics if the
// index is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "location". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "location". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "location". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "location". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "location". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "location". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go
index 109bc77bd..5ecc9b010 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsObjectPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsObjectPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsObjectPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1059,14 +1130,38 @@ type ActivityStreamsObjectProperty interface {
// the back of a list of the property "object". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "object". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "object". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "object". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "object". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "object". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "object". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "object"
AppendIRI(v *url.URL)
@@ -1347,14 +1442,41 @@ type ActivityStreamsObjectProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "object". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "object". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "object". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "object". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "object". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "object". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1585,12 +1707,34 @@ type ActivityStreamsObjectProperty interface {
// the front of a list of the property "object". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "object". Invalidates
+ // all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "object". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "object". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "object". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "object". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "object". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "object". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "object". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "object".
PrependIRI(v *url.URL)
@@ -1856,14 +2000,38 @@ type ActivityStreamsObjectProperty interface {
// the specified index for the property "object". Panics if the index
// is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "object". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "object". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "object". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "object". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "object". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "object". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go
index a4f5b093e..bde8a7953 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsOneOfPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsOneOfPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsOneOfPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1039,14 +1110,38 @@ type ActivityStreamsOneOfProperty interface {
// the back of a list of the property "oneOf". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "oneOf". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "oneOf". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "oneOf". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "oneOf". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "oneOf". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "oneOf". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "oneOf"
AppendIRI(v *url.URL)
@@ -1327,14 +1422,41 @@ type ActivityStreamsOneOfProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "oneOf". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "oneOf". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "oneOf". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "oneOf". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "oneOf". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "oneOf". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1565,12 +1687,34 @@ type ActivityStreamsOneOfProperty interface {
// the front of a list of the property "oneOf". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "oneOf". Invalidates
+ // all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "oneOf". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "oneOf". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "oneOf". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "oneOf". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "oneOf". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "oneOf". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "oneOf". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "oneOf".
PrependIRI(v *url.URL)
@@ -1836,14 +1980,38 @@ type ActivityStreamsOneOfProperty interface {
// the specified index for the property "oneOf". Panics if the index
// is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "oneOf". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "oneOf". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "oneOf". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "oneOf". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "oneOf". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "oneOf". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go
index 6d6399f09..0af6120f8 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsOrderedItemsPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsOrderedItemsPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsOrderedItemsPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1040,14 +1111,38 @@ type ActivityStreamsOrderedItemsProperty interface {
// the back of a list of the property "orderedItems". Invalidates
// iterators that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "orderedItems".
+ // Invalidates iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "orderedItems". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "orderedItems". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "orderedItems". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "orderedItems". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "orderedItems". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "orderedItems"
AppendIRI(v *url.URL)
@@ -1333,16 +1428,46 @@ type ActivityStreamsOrderedItemsProperty interface {
// elements at that index and higher are shifted back once.
// Invalidates all iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "orderedItems".
+ // Existing elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "orderedItems". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "orderedItems". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "orderedItems". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "orderedItems". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "orderedItems". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1579,14 +1704,37 @@ type ActivityStreamsOrderedItemsProperty interface {
// the front of a list of the property "orderedItems". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "orderedItems".
+ // Invalidates all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "orderedItems". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "orderedItems". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "orderedItems". Invalidates
+ // all iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "orderedItems". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "orderedItems". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "orderedItems". Invalidates
+ // all iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "orderedItems". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "orderedItems".
PrependIRI(v *url.URL)
@@ -1852,14 +2000,38 @@ type ActivityStreamsOrderedItemsProperty interface {
// the specified index for the property "orderedItems". Panics if the
// index is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "orderedItems".
+ // Panics if the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "orderedItems". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "orderedItems". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "orderedItems". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "orderedItems". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "orderedItems". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go
index f93bf0c4f..43afc1b56 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsOriginPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsOriginPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsOriginPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1040,14 +1111,38 @@ type ActivityStreamsOriginProperty interface {
// the back of a list of the property "origin". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "origin". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "origin". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "origin". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "origin". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "origin". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "origin". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "origin"
AppendIRI(v *url.URL)
@@ -1328,14 +1423,41 @@ type ActivityStreamsOriginProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "origin". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "origin". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "origin". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "origin". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "origin". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "origin". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1566,12 +1688,34 @@ type ActivityStreamsOriginProperty interface {
// the front of a list of the property "origin". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "origin". Invalidates
+ // all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "origin". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "origin". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "origin". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "origin". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "origin". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "origin". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "origin". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "origin".
PrependIRI(v *url.URL)
@@ -1837,14 +1981,38 @@ type ActivityStreamsOriginProperty interface {
// the specified index for the property "origin". Panics if the index
// is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "origin". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "origin". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "origin". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "origin". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "origin". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "origin". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go
index 870629847..210f801f0 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsPreviewPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsPreviewPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsPreviewPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1037,14 +1108,38 @@ type ActivityStreamsPreviewProperty interface {
// the back of a list of the property "preview". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "preview". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "preview". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "preview". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "preview". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "preview". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "preview". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "preview"
AppendIRI(v *url.URL)
@@ -1325,14 +1420,41 @@ type ActivityStreamsPreviewProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "preview". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "preview". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "preview". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "preview". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "preview". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "preview". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1567,14 +1689,37 @@ type ActivityStreamsPreviewProperty interface {
// the front of a list of the property "preview". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "preview". Invalidates
+ // all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "preview". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "preview". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "preview". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "preview". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "preview". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "preview". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "preview". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "preview".
PrependIRI(v *url.URL)
@@ -1840,14 +1985,38 @@ type ActivityStreamsPreviewProperty interface {
// the specified index for the property "preview". Panics if the index
// is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "preview". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "preview". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "preview". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "preview". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "preview". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "preview". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go
index bef57ed28..c355348ed 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go
@@ -237,14 +237,38 @@ type ActivityStreamsRelationshipPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -510,14 +534,43 @@ type ActivityStreamsRelationshipPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -727,12 +780,30 @@ type ActivityStreamsRelationshipPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -999,14 +1070,38 @@ type ActivityStreamsRelationshipProperty interface {
// the back of a list of the property "relationship". Invalidates
// iterators that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "relationship".
+ // Invalidates iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "relationship". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "relationship". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "relationship". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "relationship". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "relationship". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "relationship"
AppendIRI(v *url.URL)
@@ -1280,16 +1375,46 @@ type ActivityStreamsRelationshipProperty interface {
// elements at that index and higher are shifted back once.
// Invalidates all iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "relationship".
+ // Existing elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "relationship". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "relationship". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "relationship". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "relationship". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "relationship". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1516,14 +1641,37 @@ type ActivityStreamsRelationshipProperty interface {
// the front of a list of the property "relationship". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "relationship".
+ // Invalidates all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "relationship". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "relationship". Invalidates all
// iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "relationship". Invalidates
+ // all iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "relationship". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "relationship". Invalidates all
// iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "relationship". Invalidates
+ // all iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "relationship". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "relationship".
PrependIRI(v *url.URL)
@@ -1778,14 +1926,38 @@ type ActivityStreamsRelationshipProperty interface {
// the specified index for the property "relationship". Panics if the
// index is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "relationship".
+ // Panics if the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "relationship". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "relationship". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "relationship". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "relationship". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "relationship". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go
index 2d5417f52..d81de3303 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsResultPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsResultPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsResultPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1038,14 +1109,38 @@ type ActivityStreamsResultProperty interface {
// the back of a list of the property "result". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "result". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "result". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "result". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "result". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "result". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "result". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "result"
AppendIRI(v *url.URL)
@@ -1326,14 +1421,41 @@ type ActivityStreamsResultProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "result". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "result". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "result". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "result". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "result". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "result". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1564,12 +1686,34 @@ type ActivityStreamsResultProperty interface {
// the front of a list of the property "result". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "result". Invalidates
+ // all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "result". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "result". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "result". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "result". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "result". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "result". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "result". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "result".
PrependIRI(v *url.URL)
@@ -1835,14 +1979,38 @@ type ActivityStreamsResultProperty interface {
// the specified index for the property "result". Panics if the index
// is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "result". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "result". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "result". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "result". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "result". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "result". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go
index 3b03c616c..9bb00e4b8 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go
@@ -270,14 +270,38 @@ type ActivityStreamsSourceProperty interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -554,14 +578,43 @@ type ActivityStreamsSourceProperty interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -782,12 +835,30 @@ type ActivityStreamsSourceProperty interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go
index d95d2b145..55ab81707 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go
@@ -265,14 +265,38 @@ type ActivityStreamsSubjectProperty interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -549,14 +573,43 @@ type ActivityStreamsSubjectProperty interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -777,12 +830,30 @@ type ActivityStreamsSubjectProperty interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go
index 713049d0e..9e6e6df5e 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsTagPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsTagPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsTagPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1036,14 +1107,38 @@ type ActivityStreamsTagProperty interface {
// the back of a list of the property "tag". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "tag". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "tag". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "tag". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "tag". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "tag". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "tag". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "tag"
AppendIRI(v *url.URL)
@@ -1320,14 +1415,40 @@ type ActivityStreamsTagProperty interface {
// 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)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "tag". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "tag". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "tag". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "tag". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "tag". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "tag". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1558,12 +1679,34 @@ type ActivityStreamsTagProperty interface {
// the front of a list of the property "tag". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "tag". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "tag". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "tag". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "tag". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "tag". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "tag". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "tag". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "tag". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "tag".
PrependIRI(v *url.URL)
@@ -1829,14 +1972,38 @@ type ActivityStreamsTagProperty interface {
// the specified index for the property "tag". Panics if the index is
// out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "tag". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "tag". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "tag". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "tag". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "tag". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "tag". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go
index 58015337d..e94c4138e 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsTargetPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsTargetPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsTargetPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1047,14 +1118,38 @@ type ActivityStreamsTargetProperty interface {
// the back of a list of the property "target". Invalidates iterators
// that are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "target". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "target". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "target". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "target". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "target". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "target". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "target"
AppendIRI(v *url.URL)
@@ -1335,14 +1430,41 @@ type ActivityStreamsTargetProperty interface {
// that index and higher are shifted back once. Invalidates all
// iterators.
InsertGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "target". Existing
+ // elements at that index and higher are shifted back once.
+ // Invalidates all iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "target". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "target". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "target". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "target". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "target". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1573,12 +1695,34 @@ type ActivityStreamsTargetProperty interface {
// the front of a list of the property "target". Invalidates all
// iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "target". Invalidates
+ // all iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "target". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "target". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "target". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "target". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "target". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "target". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "target". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "target".
PrependIRI(v *url.URL)
@@ -1844,14 +1988,38 @@ type ActivityStreamsTargetProperty interface {
// the specified index for the property "target". Panics if the index
// is out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "target". Panics if
+ // the index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "target". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "target". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "target". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "target". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "target". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go
index 3ca40db54..c625fff15 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go
@@ -245,14 +245,38 @@ type ActivityStreamsToPropertyIterator interface {
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
GetGoToSocialAnnounceApproval() GoToSocialAnnounceApproval
+ // GetGoToSocialAnnounceAuthorization returns the value of this property.
+ // When IsGoToSocialAnnounceAuthorization returns false,
+ // GetGoToSocialAnnounceAuthorization will return an arbitrary value.
+ GetGoToSocialAnnounceAuthorization() GoToSocialAnnounceAuthorization
+ // GetGoToSocialAnnounceRequest returns the value of this property. When
+ // IsGoToSocialAnnounceRequest returns false,
+ // GetGoToSocialAnnounceRequest will return an arbitrary value.
+ GetGoToSocialAnnounceRequest() GoToSocialAnnounceRequest
// GetGoToSocialLikeApproval returns the value of this property. When
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval
// will return an arbitrary value.
GetGoToSocialLikeApproval() GoToSocialLikeApproval
+ // GetGoToSocialLikeAuthorization returns the value of this property. When
+ // IsGoToSocialLikeAuthorization returns false,
+ // GetGoToSocialLikeAuthorization will return an arbitrary value.
+ GetGoToSocialLikeAuthorization() GoToSocialLikeAuthorization
+ // GetGoToSocialLikeRequest returns the value of this property. When
+ // IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest
+ // will return an arbitrary value.
+ GetGoToSocialLikeRequest() GoToSocialLikeRequest
// GetGoToSocialReplyApproval returns the value of this property. When
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval
// will return an arbitrary value.
GetGoToSocialReplyApproval() GoToSocialReplyApproval
+ // GetGoToSocialReplyAuthorization returns the value of this property.
+ // When IsGoToSocialReplyAuthorization returns false,
+ // GetGoToSocialReplyAuthorization will return an arbitrary value.
+ GetGoToSocialReplyAuthorization() GoToSocialReplyAuthorization
+ // GetGoToSocialReplyRequest returns the value of this property. When
+ // IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest
+ // will return an arbitrary value.
+ GetGoToSocialReplyRequest() GoToSocialReplyRequest
// GetIRI returns the IRI of this property. When IsIRI returns false,
// GetIRI will return an arbitrary value.
GetIRI() *url.URL
@@ -529,14 +553,43 @@ type ActivityStreamsToPropertyIterator interface {
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
// methods to access and set this property.
IsGoToSocialAnnounceApproval() bool
+ // IsGoToSocialAnnounceAuthorization returns true if this property has a
+ // type of "AnnounceAuthorization". When true, use the
+ // GetGoToSocialAnnounceAuthorization and
+ // SetGoToSocialAnnounceAuthorization methods to access and set this
+ // property.
+ IsGoToSocialAnnounceAuthorization() bool
+ // IsGoToSocialAnnounceRequest returns true if this property has a type of
+ // "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest
+ // and SetGoToSocialAnnounceRequest methods to access and set this
+ // property.
+ IsGoToSocialAnnounceRequest() 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
+ // IsGoToSocialLikeAuthorization returns true if this property has a type
+ // of "LikeAuthorization". When true, use the
+ // GetGoToSocialLikeAuthorization and SetGoToSocialLikeAuthorization
+ // methods to access and set this property.
+ IsGoToSocialLikeAuthorization() bool
+ // IsGoToSocialLikeRequest returns true if this property has a type of
+ // "LikeRequest". When true, use the GetGoToSocialLikeRequest and
+ // SetGoToSocialLikeRequest methods to access and set this property.
+ IsGoToSocialLikeRequest() 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
+ // IsGoToSocialReplyAuthorization returns true if this property has a type
+ // of "ReplyAuthorization". When true, use the
+ // GetGoToSocialReplyAuthorization and SetGoToSocialReplyAuthorization
+ // methods to access and set this property.
+ IsGoToSocialReplyAuthorization() bool
+ // IsGoToSocialReplyRequest returns true if this property has a type of
+ // "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
+ // SetGoToSocialReplyRequest methods to access and set this property.
+ IsGoToSocialReplyRequest() bool
// IsIRI returns true if this property is an IRI. When true, use GetIRI
// and SetIRI to access and set this property
IsIRI() bool
@@ -756,12 +809,30 @@ type ActivityStreamsToPropertyIterator interface {
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets the value of this property.
+ // Calling IsGoToSocialAnnounceAuthorization afterwards returns true.
+ SetGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets the value of this property. Calling
+ // IsGoToSocialAnnounceRequest afterwards returns true.
+ SetGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// SetGoToSocialLikeApproval sets the value of this property. Calling
// IsGoToSocialLikeApproval afterwards returns true.
SetGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // SetGoToSocialLikeAuthorization sets the value of this property. Calling
+ // IsGoToSocialLikeAuthorization afterwards returns true.
+ SetGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets the value of this property. Calling
+ // IsGoToSocialLikeRequest afterwards returns true.
+ SetGoToSocialLikeRequest(v GoToSocialLikeRequest)
// SetGoToSocialReplyApproval sets the value of this property. Calling
// IsGoToSocialReplyApproval afterwards returns true.
SetGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // SetGoToSocialReplyAuthorization sets the value of this property.
+ // Calling IsGoToSocialReplyAuthorization afterwards returns true.
+ SetGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets the value of this property. Calling
+ // IsGoToSocialReplyRequest afterwards returns true.
+ SetGoToSocialReplyRequest(v GoToSocialReplyRequest)
// SetIRI sets the value of this property. Calling IsIRI afterwards
// returns true.
SetIRI(v *url.URL)
@@ -1030,14 +1101,38 @@ type ActivityStreamsToProperty interface {
// the back of a list of the property "to". Invalidates iterators that
// are traversing using Prev.
AppendGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // AppendGoToSocialAnnounceAuthorization appends a AnnounceAuthorization
+ // value to the back of a list of the property "to". Invalidates
+ // iterators that are traversing using Prev.
+ AppendGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // AppendGoToSocialAnnounceRequest appends a AnnounceRequest value to the
+ // back of a list of the property "to". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// 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)
+ // AppendGoToSocialLikeAuthorization appends a LikeAuthorization value to
+ // the back of a list of the property "to". Invalidates iterators that
+ // are traversing using Prev.
+ AppendGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // AppendGoToSocialLikeRequest appends a LikeRequest value to the back of
+ // a list of the property "to". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialLikeRequest(v GoToSocialLikeRequest)
// 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)
+ // AppendGoToSocialReplyAuthorization appends a ReplyAuthorization value
+ // to the back of a list of the property "to". Invalidates iterators
+ // that are traversing using Prev.
+ AppendGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // AppendGoToSocialReplyRequest appends a ReplyRequest value to the back
+ // of a list of the property "to". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialReplyRequest(v GoToSocialReplyRequest)
// AppendIRI appends an IRI value to the back of a list of the property
// "to"
AppendIRI(v *url.URL)
@@ -1312,14 +1407,40 @@ type ActivityStreamsToProperty interface {
// 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)
+ // InsertGoToSocialAnnounceAuthorization inserts a AnnounceAuthorization
+ // value at the specified index for a property "to". Existing elements
+ // at that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // InsertGoToSocialAnnounceRequest inserts a AnnounceRequest value at the
+ // specified index for a property "to". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // InsertGoToSocialLikeAuthorization inserts a LikeAuthorization value at
+ // the specified index for a property "to". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // InsertGoToSocialLikeRequest inserts a LikeRequest value at the
+ // specified index for a property "to". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // InsertGoToSocialReplyAuthorization inserts a ReplyAuthorization value
+ // at the specified index for a property "to". Existing elements at
+ // that index and higher are shifted back once. Invalidates all
+ // iterators.
+ InsertGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // InsertGoToSocialReplyRequest inserts a ReplyRequest value at the
+ // specified index for a property "to". Existing elements at that
+ // index and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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.
@@ -1548,12 +1669,33 @@ type ActivityStreamsToProperty interface {
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "to". Invalidates all iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
+ // PrependGoToSocialAnnounceAuthorization prepends a AnnounceAuthorization
+ // value to the front of a list of the property "to". Invalidates all
+ // iterators.
+ PrependGoToSocialAnnounceAuthorization(v GoToSocialAnnounceAuthorization)
+ // PrependGoToSocialAnnounceRequest prepends a AnnounceRequest value to
+ // the front of a list of the property "to". Invalidates all iterators.
+ PrependGoToSocialAnnounceRequest(v GoToSocialAnnounceRequest)
// PrependGoToSocialLikeApproval prepends a LikeApproval value to the
// front of a list of the property "to". Invalidates all iterators.
PrependGoToSocialLikeApproval(v GoToSocialLikeApproval)
+ // PrependGoToSocialLikeAuthorization prepends a LikeAuthorization value
+ // to the front of a list of the property "to". Invalidates all
+ // iterators.
+ PrependGoToSocialLikeAuthorization(v GoToSocialLikeAuthorization)
+ // PrependGoToSocialLikeRequest prepends a LikeRequest value to the front
+ // of a list of the property "to". Invalidates all iterators.
+ PrependGoToSocialLikeRequest(v GoToSocialLikeRequest)
// PrependGoToSocialReplyApproval prepends a ReplyApproval value to the
// front of a list of the property "to". Invalidates all iterators.
PrependGoToSocialReplyApproval(v GoToSocialReplyApproval)
+ // PrependGoToSocialReplyAuthorization prepends a ReplyAuthorization value
+ // to the front of a list of the property "to". Invalidates all
+ // iterators.
+ PrependGoToSocialReplyAuthorization(v GoToSocialReplyAuthorization)
+ // PrependGoToSocialReplyRequest prepends a ReplyRequest value to the
+ // front of a list of the property "to". Invalidates all iterators.
+ PrependGoToSocialReplyRequest(v GoToSocialReplyRequest)
// PrependIRI prepends an IRI value to the front of a list of the property
// "to".
PrependIRI(v *url.URL)
@@ -1819,14 +1961,38 @@ type ActivityStreamsToProperty interface {
// the specified index for the property "to". Panics if the index is
// out of bounds. Invalidates all iterators.
SetGoToSocialAnnounceApproval(idx int, v GoToSocialAnnounceApproval)
+ // SetGoToSocialAnnounceAuthorization sets a AnnounceAuthorization value
+ // to be at the specified index for the property "to". Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceAuthorization(idx int, v GoToSocialAnnounceAuthorization)
+ // SetGoToSocialAnnounceRequest sets a AnnounceRequest value to be at the
+ // specified index for the property "to". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialAnnounceRequest(idx int, v GoToSocialAnnounceRequest)
// 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)
+ // SetGoToSocialLikeAuthorization sets a LikeAuthorization value to be at
+ // the specified index for the property "to". Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ SetGoToSocialLikeAuthorization(idx int, v GoToSocialLikeAuthorization)
+ // SetGoToSocialLikeRequest sets a LikeRequest value to be at the
+ // specified index for the property "to". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialLikeRequest(idx int, v GoToSocialLikeRequest)
// 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)
+ // SetGoToSocialReplyAuthorization sets a ReplyAuthorization value to be
+ // at the specified index for the property "to". Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ SetGoToSocialReplyAuthorization(idx int, v GoToSocialReplyAuthorization)
+ // SetGoToSocialReplyRequest sets a ReplyRequest value to be at the
+ // specified index for the property "to". Panics if the index is out
+ // of bounds. Invalidates all iterators.
+ SetGoToSocialReplyRequest(idx int, v GoToSocialReplyRequest)
// 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_always_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_always_interface.go
index 54e8c8106..2ed2009b2 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_always_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_always_interface.go
@@ -48,8 +48,9 @@ type GoToSocialAlwaysPropertyIterator interface {
SetIRI(v *url.URL)
}
-// Indicates zero or more URI/IDs that can perform an interaction without
-// requiring approval by the Object AttributedTo Actor.
+// DEPRECATED: Use `automaticApproval` instead. Indicates zero or more URI/IDs
+// that can perform an interaction without requiring approval by the Object
+// AttributedTo Actor.
type GoToSocialAlwaysProperty interface {
// AppendIRI appends an IRI value to the back of a list of the property
// "always"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go
index 4e4364d22..a677f1372 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_approvalRequired_interface.go
@@ -48,8 +48,9 @@ type GoToSocialApprovalRequiredPropertyIterator interface {
SetIRI(v *url.URL)
}
-// Indicates zero or more URI/IDs that require approval by the Object AttributedTo
-// Actor in order to perform an interaction.
+// DEPRECATED: Use `manualApproval` instead. Indicates zero or more URI/IDs that
+// require approval by the Object AttributedTo Actor in order to perform an
+// interaction.
type GoToSocialApprovalRequiredProperty interface {
// AppendIRI appends an IRI value to the back of a list of the property
// "approvalRequired"
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go
new file mode 100644
index 000000000..b4f02850c
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_automaticApproval_interface.go
@@ -0,0 +1,132 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+import "net/url"
+
+// GoToSocialAutomaticApprovalPropertyIterator represents a single value for the
+// "automaticApproval" property.
+type GoToSocialAutomaticApprovalPropertyIterator interface {
+ // Get returns the value of this property. When IsXMLSchemaAnyURI returns
+ // false, Get will return any arbitrary value.
+ Get() *url.URL
+ // GetIRI returns the IRI of this property. When IsIRI returns false,
+ // GetIRI will return any arbitrary value.
+ GetIRI() *url.URL
+ // HasAny returns true if the value or IRI is set.
+ HasAny() bool
+ // IsIRI returns true if this property is an IRI.
+ IsIRI() bool
+ // IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
+ IsXMLSchemaAnyURI() bool
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API detail only for folks looking to replace the
+ // go-fed implementation. Applications should not use this method.
+ KindIndex() int
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o GoToSocialAutomaticApprovalPropertyIterator) bool
+ // Name returns the name of this property: "GoToSocialAutomaticApproval".
+ Name() string
+ // Next returns the next iterator, or nil if there is no next iterator.
+ Next() GoToSocialAutomaticApprovalPropertyIterator
+ // Prev returns the previous iterator, or nil if there is no previous
+ // iterator.
+ Prev() GoToSocialAutomaticApprovalPropertyIterator
+ // Set sets the value of this property. Calling IsXMLSchemaAnyURI
+ // afterwards will return true.
+ Set(v *url.URL)
+ // SetIRI sets the value of this property. Calling IsIRI afterwards will
+ // return true.
+ SetIRI(v *url.URL)
+}
+
+// Indicates zero or more URI/IDs that can perform an interaction without
+// requiring manual approval by the Object AttributedTo Actor.
+type GoToSocialAutomaticApprovalProperty interface {
+ // AppendIRI appends an IRI value to the back of a list of the property
+ // "automaticApproval"
+ AppendIRI(v *url.URL)
+ // AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of
+ // the property "automaticApproval". Invalidates iterators that are
+ // traversing using Prev.
+ AppendXMLSchemaAnyURI(v *url.URL)
+ // At returns the property value for the specified index. Panics if the
+ // index is out of bounds.
+ At(index int) GoToSocialAutomaticApprovalPropertyIterator
+ // Begin returns the first iterator, or nil if empty. Can be used with the
+ // iterator's Next method and this property's End method to iterate
+ // from front to back through all values.
+ Begin() GoToSocialAutomaticApprovalPropertyIterator
+ // Empty returns returns true if there are no elements.
+ Empty() bool
+ // End returns beyond-the-last iterator, which is nil. Can be used with
+ // the iterator's Next method and this property's Begin method to
+ // iterate from front to back through all values.
+ End() GoToSocialAutomaticApprovalPropertyIterator
+ // Insert inserts an IRI value at the specified index for a property
+ // "automaticApproval". Existing elements at that index and higher are
+ // shifted back once. Invalidates all iterators.
+ InsertIRI(idx int, v *url.URL)
+ // InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for
+ // a property "automaticApproval". Existing elements at that index and
+ // higher are shifted back once. Invalidates all iterators.
+ InsertXMLSchemaAnyURI(idx int, v *url.URL)
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API method specifically needed only for alternate
+ // implementations for go-fed. Applications should not use this
+ // method. Panics if the index is out of bounds.
+ KindIndex(idx int) int
+ // Len returns the number of values that exist for the "automaticApproval"
+ // property.
+ Len() (length int)
+ // Less computes whether another property is less than this one. Mixing
+ // types results in a consistent but arbitrary ordering
+ Less(i, j int) bool
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o GoToSocialAutomaticApprovalProperty) bool
+ // Name returns the name of this property ("automaticApproval") with any
+ // alias.
+ Name() string
+ // PrependIRI prepends an IRI value to the front of a list of the property
+ // "automaticApproval".
+ PrependIRI(v *url.URL)
+ // PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list
+ // of the property "automaticApproval". Invalidates all iterators.
+ PrependXMLSchemaAnyURI(v *url.URL)
+ // Remove deletes an element at the specified index from a list of the
+ // property "automaticApproval", regardless of its type. Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ Remove(idx int)
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format. Applications should not
+ // need this function as most typical use cases serialize types
+ // instead of individual properties. It is exposed for alternatives to
+ // go-fed implementations to use.
+ Serialize() (interface{}, error)
+ // Set sets a anyURI value to be at the specified index for the property
+ // "automaticApproval". Panics if the index is out of bounds.
+ // Invalidates all iterators.
+ Set(idx int, v *url.URL)
+ // SetIRI sets an IRI value to be at the specified index for the property
+ // "automaticApproval". Panics if the index is out of bounds.
+ SetIRI(idx int, v *url.URL)
+ // Swap swaps the location of values at two indices for the
+ // "automaticApproval" property.
+ Swap(i, j int)
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go
new file mode 100644
index 000000000..4fd12a2c6
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_canQuote_interface.go
@@ -0,0 +1,156 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+import "net/url"
+
+// GoToSocialCanQuotePropertyIterator represents a single value for the "canQuote"
+// property.
+type GoToSocialCanQuotePropertyIterator interface {
+ // Get returns the value of this property. When IsGoToSocialCanQuote
+ // returns false, Get will return any arbitrary value.
+ Get() GoToSocialCanQuote
+ // GetIRI returns the IRI of this property. When IsIRI returns false,
+ // GetIRI will return any arbitrary value.
+ GetIRI() *url.URL
+ // GetType returns the value in this property as a Type. Returns nil if
+ // the value is not an ActivityStreams type, such as an IRI or another
+ // value.
+ GetType() Type
+ // HasAny returns true if the value or IRI is set.
+ HasAny() bool
+ // IsGoToSocialCanQuote returns true if this property is set and not an
+ // IRI.
+ IsGoToSocialCanQuote() bool
+ // IsIRI returns true if this property is an IRI.
+ IsIRI() bool
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API detail only for folks looking to replace the
+ // go-fed implementation. Applications should not use this method.
+ KindIndex() int
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o GoToSocialCanQuotePropertyIterator) bool
+ // Name returns the name of this property: "GoToSocialCanQuote".
+ Name() string
+ // Next returns the next iterator, or nil if there is no next iterator.
+ Next() GoToSocialCanQuotePropertyIterator
+ // Prev returns the previous iterator, or nil if there is no previous
+ // iterator.
+ Prev() GoToSocialCanQuotePropertyIterator
+ // Set sets the value of this property. Calling IsGoToSocialCanQuote
+ // afterwards will return true.
+ Set(v GoToSocialCanQuote)
+ // SetIRI sets the value of this property. Calling IsIRI afterwards will
+ // return true.
+ SetIRI(v *url.URL)
+ // SetType attempts to set the property for the arbitrary type. Returns an
+ // error if it is not a valid type to set on this property.
+ SetType(t Type) error
+}
+
+// Defines who can Create a new Object that quotes the Object to which this
+// interactionPolicy is attached.
+type GoToSocialCanQuoteProperty interface {
+ // AppendGoToSocialCanQuote appends a CanQuote value to the back of a list
+ // of the property "canQuote". Invalidates iterators that are
+ // traversing using Prev.
+ AppendGoToSocialCanQuote(v GoToSocialCanQuote)
+ // AppendIRI appends an IRI value to the back of a list of the property
+ // "canQuote"
+ AppendIRI(v *url.URL)
+ // PrependType prepends an arbitrary type value to the front of a list of
+ // the property "canQuote". Invalidates iterators that are traversing
+ // using Prev. Returns an error if the type is not a valid one to set
+ // for this property.
+ AppendType(t Type) error
+ // At returns the property value for the specified index. Panics if the
+ // index is out of bounds.
+ At(index int) GoToSocialCanQuotePropertyIterator
+ // Begin returns the first iterator, or nil if empty. Can be used with the
+ // iterator's Next method and this property's End method to iterate
+ // from front to back through all values.
+ Begin() GoToSocialCanQuotePropertyIterator
+ // Empty returns returns true if there are no elements.
+ Empty() bool
+ // End returns beyond-the-last iterator, which is nil. Can be used with
+ // the iterator's Next method and this property's Begin method to
+ // iterate from front to back through all values.
+ End() GoToSocialCanQuotePropertyIterator
+ // InsertGoToSocialCanQuote inserts a CanQuote value at the specified
+ // index for a property "canQuote". Existing elements at that index
+ // and higher are shifted back once. Invalidates all iterators.
+ InsertGoToSocialCanQuote(idx int, v GoToSocialCanQuote)
+ // Insert inserts an IRI value at the specified index for a property
+ // "canQuote". Existing elements at that index and higher are shifted
+ // back once. Invalidates all iterators.
+ InsertIRI(idx int, v *url.URL)
+ // PrependType prepends an arbitrary type value to the front of a list of
+ // the property "canQuote". Invalidates all iterators. Returns an
+ // error if the type is not a valid one to set for this property.
+ InsertType(idx int, t Type) error
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API method specifically needed only for alternate
+ // implementations for go-fed. Applications should not use this
+ // method. Panics if the index is out of bounds.
+ KindIndex(idx int) int
+ // Len returns the number of values that exist for the "canQuote" property.
+ Len() (length int)
+ // Less computes whether another property is less than this one. Mixing
+ // types results in a consistent but arbitrary ordering
+ Less(i, j int) bool
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o GoToSocialCanQuoteProperty) bool
+ // Name returns the name of this property ("canQuote") with any alias.
+ Name() string
+ // PrependGoToSocialCanQuote prepends a CanQuote value to the front of a
+ // list of the property "canQuote". Invalidates all iterators.
+ PrependGoToSocialCanQuote(v GoToSocialCanQuote)
+ // PrependIRI prepends an IRI value to the front of a list of the property
+ // "canQuote".
+ PrependIRI(v *url.URL)
+ // PrependType prepends an arbitrary type value to the front of a list of
+ // the property "canQuote". Invalidates all iterators. Returns an
+ // error if the type is not a valid one to set for this property.
+ PrependType(t Type) error
+ // Remove deletes an element at the specified index from a list of the
+ // property "canQuote", regardless of its type. Panics if the index is
+ // out of bounds. Invalidates all iterators.
+ Remove(idx int)
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format. Applications should not
+ // need this function as most typical use cases serialize types
+ // instead of individual properties. It is exposed for alternatives to
+ // go-fed implementations to use.
+ Serialize() (interface{}, error)
+ // Set sets a CanQuote value to be at the specified index for the property
+ // "canQuote". Panics if the index is out of bounds. Invalidates all
+ // iterators.
+ Set(idx int, v GoToSocialCanQuote)
+ // SetIRI sets an IRI value to be at the specified index for the property
+ // "canQuote". Panics if the index is out of bounds.
+ SetIRI(idx int, v *url.URL)
+ // SetType sets an arbitrary type value to the specified index of the
+ // property "canQuote". Invalidates all iterators. Returns an error if
+ // the type is not a valid one to set for this property. Panics if the
+ // index is out of bounds.
+ SetType(idx int, t Type) error
+ // Swap swaps the location of values at two indices for the "canQuote"
+ // property.
+ Swap(i, j int)
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go
new file mode 100644
index 000000000..53addb567
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactingObject_interface.go
@@ -0,0 +1,130 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+import "net/url"
+
+// GoToSocialInteractingObjectPropertyIterator represents a single value for the
+// "interactingObject" property.
+type GoToSocialInteractingObjectPropertyIterator interface {
+ // Get returns the value of this property. When IsXMLSchemaAnyURI returns
+ // false, Get will return any arbitrary value.
+ Get() *url.URL
+ // GetIRI returns the IRI of this property. When IsIRI returns false,
+ // GetIRI will return any arbitrary value.
+ GetIRI() *url.URL
+ // HasAny returns true if the value or IRI is set.
+ HasAny() bool
+ // IsIRI returns true if this property is an IRI.
+ IsIRI() bool
+ // IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
+ IsXMLSchemaAnyURI() bool
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API detail only for folks looking to replace the
+ // go-fed implementation. Applications should not use this method.
+ KindIndex() int
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o GoToSocialInteractingObjectPropertyIterator) bool
+ // Name returns the name of this property: "GoToSocialInteractingObject".
+ Name() string
+ // Next returns the next iterator, or nil if there is no next iterator.
+ Next() GoToSocialInteractingObjectPropertyIterator
+ // Prev returns the previous iterator, or nil if there is no previous
+ // iterator.
+ Prev() GoToSocialInteractingObjectPropertyIterator
+ // Set sets the value of this property. Calling IsXMLSchemaAnyURI
+ // afterwards will return true.
+ Set(v *url.URL)
+ // SetIRI sets the value of this property. Calling IsIRI afterwards will
+ // return true.
+ SetIRI(v *url.URL)
+}
+
+type GoToSocialInteractingObjectProperty interface {
+ // AppendIRI appends an IRI value to the back of a list of the property
+ // "interactingObject"
+ AppendIRI(v *url.URL)
+ // AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of
+ // the property "interactingObject". Invalidates iterators that are
+ // traversing using Prev.
+ AppendXMLSchemaAnyURI(v *url.URL)
+ // At returns the property value for the specified index. Panics if the
+ // index is out of bounds.
+ At(index int) GoToSocialInteractingObjectPropertyIterator
+ // Begin returns the first iterator, or nil if empty. Can be used with the
+ // iterator's Next method and this property's End method to iterate
+ // from front to back through all values.
+ Begin() GoToSocialInteractingObjectPropertyIterator
+ // Empty returns returns true if there are no elements.
+ Empty() bool
+ // End returns beyond-the-last iterator, which is nil. Can be used with
+ // the iterator's Next method and this property's Begin method to
+ // iterate from front to back through all values.
+ End() GoToSocialInteractingObjectPropertyIterator
+ // Insert inserts an IRI value at the specified index for a property
+ // "interactingObject". Existing elements at that index and higher are
+ // shifted back once. Invalidates all iterators.
+ InsertIRI(idx int, v *url.URL)
+ // InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for
+ // a property "interactingObject". Existing elements at that index and
+ // higher are shifted back once. Invalidates all iterators.
+ InsertXMLSchemaAnyURI(idx int, v *url.URL)
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API method specifically needed only for alternate
+ // implementations for go-fed. Applications should not use this
+ // method. Panics if the index is out of bounds.
+ KindIndex(idx int) int
+ // Len returns the number of values that exist for the "interactingObject"
+ // property.
+ Len() (length int)
+ // Less computes whether another property is less than this one. Mixing
+ // types results in a consistent but arbitrary ordering
+ Less(i, j int) bool
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o GoToSocialInteractingObjectProperty) bool
+ // Name returns the name of this property ("interactingObject") with any
+ // alias.
+ Name() string
+ // PrependIRI prepends an IRI value to the front of a list of the property
+ // "interactingObject".
+ PrependIRI(v *url.URL)
+ // PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list
+ // of the property "interactingObject". Invalidates all iterators.
+ PrependXMLSchemaAnyURI(v *url.URL)
+ // Remove deletes an element at the specified index from a list of the
+ // property "interactingObject", regardless of its type. Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ Remove(idx int)
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format. Applications should not
+ // need this function as most typical use cases serialize types
+ // instead of individual properties. It is exposed for alternatives to
+ // go-fed implementations to use.
+ Serialize() (interface{}, error)
+ // Set sets a anyURI value to be at the specified index for the property
+ // "interactingObject". Panics if the index is out of bounds.
+ // Invalidates all iterators.
+ Set(idx int, v *url.URL)
+ // SetIRI sets an IRI value to be at the specified index for the property
+ // "interactingObject". Panics if the index is out of bounds.
+ SetIRI(idx int, v *url.URL)
+ // Swap swaps the location of values at two indices for the
+ // "interactingObject" property.
+ Swap(i, j int)
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go
new file mode 100644
index 000000000..60805cfbe
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_interactionTarget_interface.go
@@ -0,0 +1,130 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+import "net/url"
+
+// GoToSocialInteractionTargetPropertyIterator represents a single value for the
+// "interactionTarget" property.
+type GoToSocialInteractionTargetPropertyIterator interface {
+ // Get returns the value of this property. When IsXMLSchemaAnyURI returns
+ // false, Get will return any arbitrary value.
+ Get() *url.URL
+ // GetIRI returns the IRI of this property. When IsIRI returns false,
+ // GetIRI will return any arbitrary value.
+ GetIRI() *url.URL
+ // HasAny returns true if the value or IRI is set.
+ HasAny() bool
+ // IsIRI returns true if this property is an IRI.
+ IsIRI() bool
+ // IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
+ IsXMLSchemaAnyURI() bool
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API detail only for folks looking to replace the
+ // go-fed implementation. Applications should not use this method.
+ KindIndex() int
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o GoToSocialInteractionTargetPropertyIterator) bool
+ // Name returns the name of this property: "GoToSocialInteractionTarget".
+ Name() string
+ // Next returns the next iterator, or nil if there is no next iterator.
+ Next() GoToSocialInteractionTargetPropertyIterator
+ // Prev returns the previous iterator, or nil if there is no previous
+ // iterator.
+ Prev() GoToSocialInteractionTargetPropertyIterator
+ // Set sets the value of this property. Calling IsXMLSchemaAnyURI
+ // afterwards will return true.
+ Set(v *url.URL)
+ // SetIRI sets the value of this property. Calling IsIRI afterwards will
+ // return true.
+ SetIRI(v *url.URL)
+}
+
+type GoToSocialInteractionTargetProperty interface {
+ // AppendIRI appends an IRI value to the back of a list of the property
+ // "interactionTarget"
+ AppendIRI(v *url.URL)
+ // AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of
+ // the property "interactionTarget". Invalidates iterators that are
+ // traversing using Prev.
+ AppendXMLSchemaAnyURI(v *url.URL)
+ // At returns the property value for the specified index. Panics if the
+ // index is out of bounds.
+ At(index int) GoToSocialInteractionTargetPropertyIterator
+ // Begin returns the first iterator, or nil if empty. Can be used with the
+ // iterator's Next method and this property's End method to iterate
+ // from front to back through all values.
+ Begin() GoToSocialInteractionTargetPropertyIterator
+ // Empty returns returns true if there are no elements.
+ Empty() bool
+ // End returns beyond-the-last iterator, which is nil. Can be used with
+ // the iterator's Next method and this property's Begin method to
+ // iterate from front to back through all values.
+ End() GoToSocialInteractionTargetPropertyIterator
+ // Insert inserts an IRI value at the specified index for a property
+ // "interactionTarget". Existing elements at that index and higher are
+ // shifted back once. Invalidates all iterators.
+ InsertIRI(idx int, v *url.URL)
+ // InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for
+ // a property "interactionTarget". Existing elements at that index and
+ // higher are shifted back once. Invalidates all iterators.
+ InsertXMLSchemaAnyURI(idx int, v *url.URL)
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API method specifically needed only for alternate
+ // implementations for go-fed. Applications should not use this
+ // method. Panics if the index is out of bounds.
+ KindIndex(idx int) int
+ // Len returns the number of values that exist for the "interactionTarget"
+ // property.
+ Len() (length int)
+ // Less computes whether another property is less than this one. Mixing
+ // types results in a consistent but arbitrary ordering
+ Less(i, j int) bool
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o GoToSocialInteractionTargetProperty) bool
+ // Name returns the name of this property ("interactionTarget") with any
+ // alias.
+ Name() string
+ // PrependIRI prepends an IRI value to the front of a list of the property
+ // "interactionTarget".
+ PrependIRI(v *url.URL)
+ // PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list
+ // of the property "interactionTarget". Invalidates all iterators.
+ PrependXMLSchemaAnyURI(v *url.URL)
+ // Remove deletes an element at the specified index from a list of the
+ // property "interactionTarget", regardless of its type. Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ Remove(idx int)
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format. Applications should not
+ // need this function as most typical use cases serialize types
+ // instead of individual properties. It is exposed for alternatives to
+ // go-fed implementations to use.
+ Serialize() (interface{}, error)
+ // Set sets a anyURI value to be at the specified index for the property
+ // "interactionTarget". Panics if the index is out of bounds.
+ // Invalidates all iterators.
+ Set(idx int, v *url.URL)
+ // SetIRI sets an IRI value to be at the specified index for the property
+ // "interactionTarget". Panics if the index is out of bounds.
+ SetIRI(idx int, v *url.URL)
+ // Swap swaps the location of values at two indices for the
+ // "interactionTarget" property.
+ Swap(i, j int)
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go
new file mode 100644
index 000000000..828df0571
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_gotosocial_manualApproval_interface.go
@@ -0,0 +1,132 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+import "net/url"
+
+// GoToSocialManualApprovalPropertyIterator represents a single value for the
+// "manualApproval" property.
+type GoToSocialManualApprovalPropertyIterator interface {
+ // Get returns the value of this property. When IsXMLSchemaAnyURI returns
+ // false, Get will return any arbitrary value.
+ Get() *url.URL
+ // GetIRI returns the IRI of this property. When IsIRI returns false,
+ // GetIRI will return any arbitrary value.
+ GetIRI() *url.URL
+ // HasAny returns true if the value or IRI is set.
+ HasAny() bool
+ // IsIRI returns true if this property is an IRI.
+ IsIRI() bool
+ // IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
+ IsXMLSchemaAnyURI() bool
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API detail only for folks looking to replace the
+ // go-fed implementation. Applications should not use this method.
+ KindIndex() int
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o GoToSocialManualApprovalPropertyIterator) bool
+ // Name returns the name of this property: "GoToSocialManualApproval".
+ Name() string
+ // Next returns the next iterator, or nil if there is no next iterator.
+ Next() GoToSocialManualApprovalPropertyIterator
+ // Prev returns the previous iterator, or nil if there is no previous
+ // iterator.
+ Prev() GoToSocialManualApprovalPropertyIterator
+ // Set sets the value of this property. Calling IsXMLSchemaAnyURI
+ // afterwards will return true.
+ Set(v *url.URL)
+ // SetIRI sets the value of this property. Calling IsIRI afterwards will
+ // return true.
+ SetIRI(v *url.URL)
+}
+
+// Indicates zero or more URI/IDs that require manual approval by the Object
+// AttributedTo Actor in order to perform an interaction.
+type GoToSocialManualApprovalProperty interface {
+ // AppendIRI appends an IRI value to the back of a list of the property
+ // "manualApproval"
+ AppendIRI(v *url.URL)
+ // AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of
+ // the property "manualApproval". Invalidates iterators that are
+ // traversing using Prev.
+ AppendXMLSchemaAnyURI(v *url.URL)
+ // At returns the property value for the specified index. Panics if the
+ // index is out of bounds.
+ At(index int) GoToSocialManualApprovalPropertyIterator
+ // Begin returns the first iterator, or nil if empty. Can be used with the
+ // iterator's Next method and this property's End method to iterate
+ // from front to back through all values.
+ Begin() GoToSocialManualApprovalPropertyIterator
+ // Empty returns returns true if there are no elements.
+ Empty() bool
+ // End returns beyond-the-last iterator, which is nil. Can be used with
+ // the iterator's Next method and this property's Begin method to
+ // iterate from front to back through all values.
+ End() GoToSocialManualApprovalPropertyIterator
+ // Insert inserts an IRI value at the specified index for a property
+ // "manualApproval". Existing elements at that index and higher are
+ // shifted back once. Invalidates all iterators.
+ InsertIRI(idx int, v *url.URL)
+ // InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for
+ // a property "manualApproval". Existing elements at that index and
+ // higher are shifted back once. Invalidates all iterators.
+ InsertXMLSchemaAnyURI(idx int, v *url.URL)
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API method specifically needed only for alternate
+ // implementations for go-fed. Applications should not use this
+ // method. Panics if the index is out of bounds.
+ KindIndex(idx int) int
+ // Len returns the number of values that exist for the "manualApproval"
+ // property.
+ Len() (length int)
+ // Less computes whether another property is less than this one. Mixing
+ // types results in a consistent but arbitrary ordering
+ Less(i, j int) bool
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o GoToSocialManualApprovalProperty) bool
+ // Name returns the name of this property ("manualApproval") with any
+ // alias.
+ Name() string
+ // PrependIRI prepends an IRI value to the front of a list of the property
+ // "manualApproval".
+ PrependIRI(v *url.URL)
+ // PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list
+ // of the property "manualApproval". Invalidates all iterators.
+ PrependXMLSchemaAnyURI(v *url.URL)
+ // Remove deletes an element at the specified index from a list of the
+ // property "manualApproval", regardless of its type. Panics if the
+ // index is out of bounds. Invalidates all iterators.
+ Remove(idx int)
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format. Applications should not
+ // need this function as most typical use cases serialize types
+ // instead of individual properties. It is exposed for alternatives to
+ // go-fed implementations to use.
+ Serialize() (interface{}, error)
+ // Set sets a anyURI value to be at the specified index for the property
+ // "manualApproval". Panics if the index is out of bounds. Invalidates
+ // all iterators.
+ Set(idx int, v *url.URL)
+ // SetIRI sets an IRI value to be at the specified index for the property
+ // "manualApproval". Panics if the index is out of bounds.
+ SetIRI(idx int, v *url.URL)
+ // Swap swaps the location of values at two indices for the
+ // "manualApproval" property.
+ Swap(i, j int)
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_focalPoint_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_focalPoint_interface.go
new file mode 100644
index 000000000..32ceec47a
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_focalPoint_interface.go
@@ -0,0 +1,130 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+import "net/url"
+
+// TootFocalPointPropertyIterator represents a single value for the "focalPoint"
+// property.
+type TootFocalPointPropertyIterator interface {
+ // Get returns the value of this property. When IsXMLSchemaFloat returns
+ // false, Get will return any arbitrary value.
+ Get() float64
+ // GetIRI returns the IRI of this property. When IsIRI returns false,
+ // GetIRI will return any arbitrary value.
+ GetIRI() *url.URL
+ // HasAny returns true if the value or IRI is set.
+ HasAny() bool
+ // IsIRI returns true if this property is an IRI.
+ IsIRI() bool
+ // IsXMLSchemaFloat returns true if this property is set and not an IRI.
+ IsXMLSchemaFloat() bool
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API detail only for folks looking to replace the
+ // go-fed implementation. Applications should not use this method.
+ KindIndex() int
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o TootFocalPointPropertyIterator) bool
+ // Name returns the name of this property: "TootFocalPoint".
+ Name() string
+ // Next returns the next iterator, or nil if there is no next iterator.
+ Next() TootFocalPointPropertyIterator
+ // Prev returns the previous iterator, or nil if there is no previous
+ // iterator.
+ Prev() TootFocalPointPropertyIterator
+ // Set sets the value of this property. Calling IsXMLSchemaFloat
+ // afterwards will return true.
+ Set(v float64)
+ // SetIRI sets the value of this property. Calling IsIRI afterwards will
+ // return true.
+ SetIRI(v *url.URL)
+}
+
+// null
+type TootFocalPointProperty interface {
+ // AppendIRI appends an IRI value to the back of a list of the property
+ // "focalPoint"
+ AppendIRI(v *url.URL)
+ // AppendXMLSchemaFloat appends a float value to the back of a list of the
+ // property "focalPoint". Invalidates iterators that are traversing
+ // using Prev.
+ AppendXMLSchemaFloat(v float64)
+ // At returns the property value for the specified index. Panics if the
+ // index is out of bounds.
+ At(index int) TootFocalPointPropertyIterator
+ // Begin returns the first iterator, or nil if empty. Can be used with the
+ // iterator's Next method and this property's End method to iterate
+ // from front to back through all values.
+ Begin() TootFocalPointPropertyIterator
+ // Empty returns returns true if there are no elements.
+ Empty() bool
+ // End returns beyond-the-last iterator, which is nil. Can be used with
+ // the iterator's Next method and this property's Begin method to
+ // iterate from front to back through all values.
+ End() TootFocalPointPropertyIterator
+ // Insert inserts an IRI value at the specified index for a property
+ // "focalPoint". Existing elements at that index and higher are
+ // shifted back once. Invalidates all iterators.
+ InsertIRI(idx int, v *url.URL)
+ // InsertXMLSchemaFloat inserts a float value at the specified index for a
+ // property "focalPoint". Existing elements at that index and higher
+ // are shifted back once. Invalidates all iterators.
+ InsertXMLSchemaFloat(idx int, v float64)
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API method specifically needed only for alternate
+ // implementations for go-fed. Applications should not use this
+ // method. Panics if the index is out of bounds.
+ KindIndex(idx int) int
+ // Len returns the number of values that exist for the "focalPoint"
+ // property.
+ Len() (length int)
+ // Less computes whether another property is less than this one. Mixing
+ // types results in a consistent but arbitrary ordering
+ Less(i, j int) bool
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o TootFocalPointProperty) bool
+ // Name returns the name of this property ("focalPoint") with any alias.
+ Name() string
+ // PrependIRI prepends an IRI value to the front of a list of the property
+ // "focalPoint".
+ PrependIRI(v *url.URL)
+ // PrependXMLSchemaFloat prepends a float value to the front of a list of
+ // the property "focalPoint". Invalidates all iterators.
+ PrependXMLSchemaFloat(v float64)
+ // Remove deletes an element at the specified index from a list of the
+ // property "focalPoint", regardless of its type. Panics if the index
+ // is out of bounds. Invalidates all iterators.
+ Remove(idx int)
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format. Applications should not
+ // need this function as most typical use cases serialize types
+ // instead of individual properties. It is exposed for alternatives to
+ // go-fed implementations to use.
+ Serialize() (interface{}, error)
+ // Set sets a float value to be at the specified index for the property
+ // "focalPoint". Panics if the index is out of bounds. Invalidates all
+ // iterators.
+ Set(idx int, v float64)
+ // SetIRI sets an IRI value to be at the specified index for the property
+ // "focalPoint". Panics if the index is out of bounds.
+ SetIRI(idx int, v *url.URL)
+ // Swap swaps the location of values at two indices for the "focalPoint"
+ // property.
+ Swap(i, j int)
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_indexable_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_indexable_interface.go
new file mode 100644
index 000000000..59be4b5c0
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_property_toot_indexable_interface.go
@@ -0,0 +1,52 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+import "net/url"
+
+// null
+type TootIndexableProperty interface {
+ // Clear ensures no value of this property is set. Calling
+ // IsXMLSchemaBoolean afterwards will return false.
+ Clear()
+ // Get returns the value of this property. When IsXMLSchemaBoolean returns
+ // false, Get will return any arbitrary value.
+ Get() bool
+ // GetIRI returns the IRI of this property. When IsIRI returns false,
+ // GetIRI will return any arbitrary value.
+ GetIRI() *url.URL
+ // HasAny returns true if the value or IRI is set.
+ HasAny() bool
+ // IsIRI returns true if this property is an IRI.
+ IsIRI() bool
+ // IsXMLSchemaBoolean returns true if this property is set and not an IRI.
+ IsXMLSchemaBoolean() bool
+ // 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
+ // KindIndex computes an arbitrary value for indexing this kind of value.
+ // This is a leaky API detail only for folks looking to replace the
+ // go-fed implementation. Applications should not use this method.
+ KindIndex() int
+ // LessThan compares two instances of this property with an arbitrary but
+ // stable comparison. Applications should not use this because it is
+ // only meant to help alternative implementations to go-fed to be able
+ // to normalize nonfunctional properties.
+ LessThan(o TootIndexableProperty) bool
+ // Name returns the name of this property: "indexable".
+ Name() string
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format. Applications should not
+ // need this function as most typical use cases serialize types
+ // instead of individual properties. It is exposed for alternatives to
+ // go-fed implementations to use.
+ Serialize() (interface{}, error)
+ // Set sets the value of this property. Calling IsXMLSchemaBoolean
+ // afterwards will return true.
+ Set(v bool)
+ // SetIRI sets the value of this property. Calling IsIRI afterwards will
+ // return true.
+ SetIRI(v *url.URL)
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go
index a5bb05332..70cf3c500 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go
@@ -152,6 +152,9 @@ type ActivityStreamsApplication interface {
// GetTootFeatured returns the "featured" property if it exists, and nil
// otherwise.
GetTootFeatured() TootFeaturedProperty
+ // GetTootIndexable returns the "indexable" property if it exists, and nil
+ // otherwise.
+ GetTootIndexable() TootIndexableProperty
// GetTypeName returns the name of this type.
GetTypeName() string
// GetUnknownProperties returns the unknown properties for the Application
@@ -274,6 +277,8 @@ type ActivityStreamsApplication interface {
SetTootDiscoverable(i TootDiscoverableProperty)
// SetTootFeatured sets the "featured" property.
SetTootFeatured(i TootFeaturedProperty)
+ // SetTootIndexable sets the "indexable" property.
+ SetTootIndexable(i TootIndexableProperty)
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
SetW3IDSecurityV1PublicKey(i W3IDSecurityV1PublicKeyProperty)
// VocabularyURI returns the vocabulary's URI as a string.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go
index 22ed205fa..70ad5d20a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go
@@ -126,6 +126,9 @@ type ActivityStreamsAudio interface {
// GetTootBlurhash returns the "blurhash" property if it exists, and nil
// otherwise.
GetTootBlurhash() TootBlurhashProperty
+ // GetTootFocalPoint returns the "focalPoint" property if it exists, and
+ // nil otherwise.
+ GetTootFocalPoint() TootFocalPointProperty
// GetTypeName returns the name of this type.
GetTypeName() string
// GetUnknownProperties returns the unknown properties for the Audio type.
@@ -222,6 +225,8 @@ type ActivityStreamsAudio interface {
SetJSONLDType(i JSONLDTypeProperty)
// SetTootBlurhash sets the "blurhash" property.
SetTootBlurhash(i TootBlurhashProperty)
+ // SetTootFocalPoint sets the "focalPoint" property.
+ SetTootFocalPoint(i TootFocalPointProperty)
// VocabularyURI returns the vocabulary's URI as a string.
VocabularyURI() string
}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go
index 96ccd1e56..f417c9452 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go
@@ -122,6 +122,9 @@ type ActivityStreamsDocument interface {
// GetTootBlurhash returns the "blurhash" property if it exists, and nil
// otherwise.
GetTootBlurhash() TootBlurhashProperty
+ // GetTootFocalPoint returns the "focalPoint" property if it exists, and
+ // nil otherwise.
+ GetTootFocalPoint() TootFocalPointProperty
// GetTypeName returns the name of this type.
GetTypeName() string
// GetUnknownProperties returns the unknown properties for the Document
@@ -219,6 +222,8 @@ type ActivityStreamsDocument interface {
SetJSONLDType(i JSONLDTypeProperty)
// SetTootBlurhash sets the "blurhash" property.
SetTootBlurhash(i TootBlurhashProperty)
+ // SetTootFocalPoint sets the "focalPoint" property.
+ SetTootFocalPoint(i TootFocalPointProperty)
// VocabularyURI returns the vocabulary's URI as a string.
VocabularyURI() string
}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go
index 52d01aaa4..1153f8537 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go
@@ -152,6 +152,9 @@ type ActivityStreamsGroup interface {
// GetTootFeatured returns the "featured" property if it exists, and nil
// otherwise.
GetTootFeatured() TootFeaturedProperty
+ // GetTootIndexable returns the "indexable" property if it exists, and nil
+ // otherwise.
+ GetTootIndexable() TootIndexableProperty
// GetTypeName returns the name of this type.
GetTypeName() string
// GetUnknownProperties returns the unknown properties for the Group type.
@@ -273,6 +276,8 @@ type ActivityStreamsGroup interface {
SetTootDiscoverable(i TootDiscoverableProperty)
// SetTootFeatured sets the "featured" property.
SetTootFeatured(i TootFeaturedProperty)
+ // SetTootIndexable sets the "indexable" property.
+ SetTootIndexable(i TootIndexableProperty)
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
SetW3IDSecurityV1PublicKey(i W3IDSecurityV1PublicKeyProperty)
// VocabularyURI returns the vocabulary's URI as a string.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go
index 94a26db46..5073d044a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go
@@ -139,6 +139,9 @@ type ActivityStreamsImage interface {
// GetTootBlurhash returns the "blurhash" property if it exists, and nil
// otherwise.
GetTootBlurhash() TootBlurhashProperty
+ // GetTootFocalPoint returns the "focalPoint" property if it exists, and
+ // nil otherwise.
+ GetTootFocalPoint() TootFocalPointProperty
// GetTypeName returns the name of this type.
GetTypeName() string
// GetUnknownProperties returns the unknown properties for the Image type.
@@ -239,6 +242,8 @@ type ActivityStreamsImage interface {
SetJSONLDType(i JSONLDTypeProperty)
// SetTootBlurhash sets the "blurhash" property.
SetTootBlurhash(i TootBlurhashProperty)
+ // SetTootFocalPoint sets the "focalPoint" property.
+ SetTootFocalPoint(i TootFocalPointProperty)
// VocabularyURI returns the vocabulary's URI as a string.
VocabularyURI() string
}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go
index 6d7ca9a1e..8b10c848a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go
@@ -152,6 +152,9 @@ type ActivityStreamsOrganization interface {
// GetTootFeatured returns the "featured" property if it exists, and nil
// otherwise.
GetTootFeatured() TootFeaturedProperty
+ // GetTootIndexable returns the "indexable" property if it exists, and nil
+ // otherwise.
+ GetTootIndexable() TootIndexableProperty
// GetTypeName returns the name of this type.
GetTypeName() string
// GetUnknownProperties returns the unknown properties for the
@@ -274,6 +277,8 @@ type ActivityStreamsOrganization interface {
SetTootDiscoverable(i TootDiscoverableProperty)
// SetTootFeatured sets the "featured" property.
SetTootFeatured(i TootFeaturedProperty)
+ // SetTootIndexable sets the "indexable" property.
+ SetTootIndexable(i TootIndexableProperty)
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
SetW3IDSecurityV1PublicKey(i W3IDSecurityV1PublicKeyProperty)
// VocabularyURI returns the vocabulary's URI as a string.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go
index 5f50757d4..635dab3b2 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go
@@ -122,6 +122,9 @@ type ActivityStreamsPage interface {
// GetTootBlurhash returns the "blurhash" property if it exists, and nil
// otherwise.
GetTootBlurhash() TootBlurhashProperty
+ // GetTootFocalPoint returns the "focalPoint" property if it exists, and
+ // nil otherwise.
+ GetTootFocalPoint() TootFocalPointProperty
// GetTypeName returns the name of this type.
GetTypeName() string
// GetUnknownProperties returns the unknown properties for the Page type.
@@ -218,6 +221,8 @@ type ActivityStreamsPage interface {
SetJSONLDType(i JSONLDTypeProperty)
// SetTootBlurhash sets the "blurhash" property.
SetTootBlurhash(i TootBlurhashProperty)
+ // SetTootFocalPoint sets the "focalPoint" property.
+ SetTootFocalPoint(i TootFocalPointProperty)
// VocabularyURI returns the vocabulary's URI as a string.
VocabularyURI() string
}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go
index 028db6b81..66446bd11 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go
@@ -152,6 +152,9 @@ type ActivityStreamsPerson interface {
// GetTootFeatured returns the "featured" property if it exists, and nil
// otherwise.
GetTootFeatured() TootFeaturedProperty
+ // GetTootIndexable returns the "indexable" property if it exists, and nil
+ // otherwise.
+ GetTootIndexable() TootIndexableProperty
// GetTypeName returns the name of this type.
GetTypeName() string
// GetUnknownProperties returns the unknown properties for the Person
@@ -273,6 +276,8 @@ type ActivityStreamsPerson interface {
SetTootDiscoverable(i TootDiscoverableProperty)
// SetTootFeatured sets the "featured" property.
SetTootFeatured(i TootFeaturedProperty)
+ // SetTootIndexable sets the "indexable" property.
+ SetTootIndexable(i TootIndexableProperty)
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
SetW3IDSecurityV1PublicKey(i W3IDSecurityV1PublicKeyProperty)
// VocabularyURI returns the vocabulary's URI as a string.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go
index 4138af9a8..fb21b5c21 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go
@@ -152,6 +152,9 @@ type ActivityStreamsService interface {
// GetTootFeatured returns the "featured" property if it exists, and nil
// otherwise.
GetTootFeatured() TootFeaturedProperty
+ // GetTootIndexable returns the "indexable" property if it exists, and nil
+ // otherwise.
+ GetTootIndexable() TootIndexableProperty
// GetTypeName returns the name of this type.
GetTypeName() string
// GetUnknownProperties returns the unknown properties for the Service
@@ -274,6 +277,8 @@ type ActivityStreamsService interface {
SetTootDiscoverable(i TootDiscoverableProperty)
// SetTootFeatured sets the "featured" property.
SetTootFeatured(i TootFeaturedProperty)
+ // SetTootIndexable sets the "indexable" property.
+ SetTootIndexable(i TootIndexableProperty)
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
SetW3IDSecurityV1PublicKey(i W3IDSecurityV1PublicKeyProperty)
// VocabularyURI returns the vocabulary's URI as a string.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go
index 491c97481..c42dd635a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go
@@ -123,6 +123,9 @@ type ActivityStreamsVideo interface {
// GetTootBlurhash returns the "blurhash" property if it exists, and nil
// otherwise.
GetTootBlurhash() TootBlurhashProperty
+ // GetTootFocalPoint returns the "focalPoint" property if it exists, and
+ // nil otherwise.
+ GetTootFocalPoint() TootFocalPointProperty
// GetTypeName returns the name of this type.
GetTypeName() string
// GetUnknownProperties returns the unknown properties for the Video type.
@@ -219,6 +222,8 @@ type ActivityStreamsVideo interface {
SetJSONLDType(i JSONLDTypeProperty)
// SetTootBlurhash sets the "blurhash" property.
SetTootBlurhash(i TootBlurhashProperty)
+ // SetTootFocalPoint sets the "focalPoint" property.
+ SetTootFocalPoint(i TootFocalPointProperty)
// VocabularyURI returns the vocabulary's URI as a string.
VocabularyURI() string
}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go
index 42059fbdf..576b4efe9 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceapproval_interface.go
@@ -2,6 +2,7 @@
package vocab
+// DEPRECATED: Use `AnnounceAuthorization` instead.
type GoToSocialAnnounceApproval interface {
// GetActivityStreamsAltitude returns the "altitude" property if it
// exists, and nil otherwise.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go
new file mode 100644
index 000000000..7e08fe47a
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announceauthorization_interface.go
@@ -0,0 +1,210 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+type GoToSocialAnnounceAuthorization 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
+ // GetGoToSocialInteractingObject returns the "interactingObject" property
+ // if it exists, and nil otherwise.
+ GetGoToSocialInteractingObject() GoToSocialInteractingObjectProperty
+ // GetGoToSocialInteractionTarget returns the "interactionTarget" property
+ // if it exists, and nil otherwise.
+ GetGoToSocialInteractionTarget() GoToSocialInteractionTargetProperty
+ // 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
+ // AnnounceAuthorization 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 AnnounceAuthorization 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 AnnounceAuthorization is lesser, with an
+ // arbitrary but stable determination.
+ LessThan(o GoToSocialAnnounceAuthorization) 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)
+ // SetGoToSocialInteractingObject sets the "interactingObject" property.
+ SetGoToSocialInteractingObject(i GoToSocialInteractingObjectProperty)
+ // SetGoToSocialInteractionTarget sets the "interactionTarget" property.
+ SetGoToSocialInteractionTarget(i GoToSocialInteractionTargetProperty)
+ // 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go
new file mode 100644
index 000000000..599ac798b
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_announcerequest_interface.go
@@ -0,0 +1,225 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+type GoToSocialAnnounceRequest interface {
+ // GetActivityStreamsActor returns the "actor" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsActor() ActivityStreamsActorProperty
+ // 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
+ // GetActivityStreamsInstrument returns the "instrument" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsInstrument() ActivityStreamsInstrumentProperty
+ // 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
+ // GetActivityStreamsOrigin returns the "origin" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsOrigin() ActivityStreamsOriginProperty
+ // 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
+ // GetActivityStreamsResult returns the "result" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsResult() ActivityStreamsResultProperty
+ // 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
+ // GetActivityStreamsTarget returns the "target" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsTarget() ActivityStreamsTargetProperty
+ // 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
+ // AnnounceRequest 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 AnnounceRequest 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 AnnounceRequest is lesser, with an arbitrary
+ // but stable determination.
+ LessThan(o GoToSocialAnnounceRequest) bool
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format.
+ Serialize() (map[string]interface{}, error)
+ // SetActivityStreamsActor sets the "actor" property.
+ SetActivityStreamsActor(i ActivityStreamsActorProperty)
+ // 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)
+ // SetActivityStreamsInstrument sets the "instrument" property.
+ SetActivityStreamsInstrument(i ActivityStreamsInstrumentProperty)
+ // 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)
+ // SetActivityStreamsOrigin sets the "origin" property.
+ SetActivityStreamsOrigin(i ActivityStreamsOriginProperty)
+ // SetActivityStreamsPreview sets the "preview" property.
+ SetActivityStreamsPreview(i ActivityStreamsPreviewProperty)
+ // SetActivityStreamsPublished sets the "published" property.
+ SetActivityStreamsPublished(i ActivityStreamsPublishedProperty)
+ // SetActivityStreamsReplies sets the "replies" property.
+ SetActivityStreamsReplies(i ActivityStreamsRepliesProperty)
+ // SetActivityStreamsResult sets the "result" property.
+ SetActivityStreamsResult(i ActivityStreamsResultProperty)
+ // 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)
+ // SetActivityStreamsTarget sets the "target" property.
+ SetActivityStreamsTarget(i ActivityStreamsTargetProperty)
+ // 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go
index 7ce82cde8..e80c483bb 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canannounce_interface.go
@@ -9,6 +9,12 @@ type GoToSocialCanAnnounce interface {
// GetGoToSocialApprovalRequired returns the "approvalRequired" property
// if it exists, and nil otherwise.
GetGoToSocialApprovalRequired() GoToSocialApprovalRequiredProperty
+ // GetGoToSocialAutomaticApproval returns the "automaticApproval" property
+ // if it exists, and nil otherwise.
+ GetGoToSocialAutomaticApproval() GoToSocialAutomaticApprovalProperty
+ // GetGoToSocialManualApproval returns the "manualApproval" property if it
+ // exists, and nil otherwise.
+ GetGoToSocialManualApproval() GoToSocialManualApprovalProperty
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
GetJSONLDId() JSONLDIdProperty
// GetTypeName returns the name of this type.
@@ -38,6 +44,10 @@ type GoToSocialCanAnnounce interface {
SetGoToSocialAlways(i GoToSocialAlwaysProperty)
// SetGoToSocialApprovalRequired sets the "approvalRequired" property.
SetGoToSocialApprovalRequired(i GoToSocialApprovalRequiredProperty)
+ // SetGoToSocialAutomaticApproval sets the "automaticApproval" property.
+ SetGoToSocialAutomaticApproval(i GoToSocialAutomaticApprovalProperty)
+ // SetGoToSocialManualApproval sets the "manualApproval" property.
+ SetGoToSocialManualApproval(i GoToSocialManualApprovalProperty)
// SetJSONLDId sets the "id" property.
SetJSONLDId(i JSONLDIdProperty)
// VocabularyURI returns the vocabulary's URI as a string.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go
index 91da1f79e..e417bd4f0 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canlike_interface.go
@@ -9,6 +9,12 @@ type GoToSocialCanLike interface {
// GetGoToSocialApprovalRequired returns the "approvalRequired" property
// if it exists, and nil otherwise.
GetGoToSocialApprovalRequired() GoToSocialApprovalRequiredProperty
+ // GetGoToSocialAutomaticApproval returns the "automaticApproval" property
+ // if it exists, and nil otherwise.
+ GetGoToSocialAutomaticApproval() GoToSocialAutomaticApprovalProperty
+ // GetGoToSocialManualApproval returns the "manualApproval" property if it
+ // exists, and nil otherwise.
+ GetGoToSocialManualApproval() GoToSocialManualApprovalProperty
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
GetJSONLDId() JSONLDIdProperty
// GetTypeName returns the name of this type.
@@ -38,6 +44,10 @@ type GoToSocialCanLike interface {
SetGoToSocialAlways(i GoToSocialAlwaysProperty)
// SetGoToSocialApprovalRequired sets the "approvalRequired" property.
SetGoToSocialApprovalRequired(i GoToSocialApprovalRequiredProperty)
+ // SetGoToSocialAutomaticApproval sets the "automaticApproval" property.
+ SetGoToSocialAutomaticApproval(i GoToSocialAutomaticApprovalProperty)
+ // SetGoToSocialManualApproval sets the "manualApproval" property.
+ SetGoToSocialManualApproval(i GoToSocialManualApprovalProperty)
// SetJSONLDId sets the "id" property.
SetJSONLDId(i JSONLDIdProperty)
// VocabularyURI returns the vocabulary's URI as a string.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go
new file mode 100644
index 000000000..98e09421c
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canquote_interface.go
@@ -0,0 +1,55 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+type GoToSocialCanQuote interface {
+ // GetGoToSocialAlways returns the "always" property if it exists, and nil
+ // otherwise.
+ GetGoToSocialAlways() GoToSocialAlwaysProperty
+ // GetGoToSocialApprovalRequired returns the "approvalRequired" property
+ // if it exists, and nil otherwise.
+ GetGoToSocialApprovalRequired() GoToSocialApprovalRequiredProperty
+ // GetGoToSocialAutomaticApproval returns the "automaticApproval" property
+ // if it exists, and nil otherwise.
+ GetGoToSocialAutomaticApproval() GoToSocialAutomaticApprovalProperty
+ // GetGoToSocialManualApproval returns the "manualApproval" property if it
+ // exists, and nil otherwise.
+ GetGoToSocialManualApproval() GoToSocialManualApprovalProperty
+ // GetJSONLDId returns the "id" property if it exists, and nil otherwise.
+ GetJSONLDId() JSONLDIdProperty
+ // GetTypeName returns the name of this type.
+ GetTypeName() string
+ // GetUnknownProperties returns the unknown properties for the CanQuote
+ // 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 CanQuote 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 CanQuote is lesser, with an arbitrary but
+ // stable determination.
+ LessThan(o GoToSocialCanQuote) bool
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format.
+ Serialize() (map[string]interface{}, error)
+ // SetGoToSocialAlways sets the "always" property.
+ SetGoToSocialAlways(i GoToSocialAlwaysProperty)
+ // SetGoToSocialApprovalRequired sets the "approvalRequired" property.
+ SetGoToSocialApprovalRequired(i GoToSocialApprovalRequiredProperty)
+ // SetGoToSocialAutomaticApproval sets the "automaticApproval" property.
+ SetGoToSocialAutomaticApproval(i GoToSocialAutomaticApprovalProperty)
+ // SetGoToSocialManualApproval sets the "manualApproval" property.
+ SetGoToSocialManualApproval(i GoToSocialManualApprovalProperty)
+ // SetJSONLDId sets the "id" property.
+ SetJSONLDId(i JSONLDIdProperty)
+ // VocabularyURI returns the vocabulary's URI as a string.
+ VocabularyURI() string
+}
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go
index 57e5d0b1b..2a0db5448 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_canreply_interface.go
@@ -9,6 +9,12 @@ type GoToSocialCanReply interface {
// GetGoToSocialApprovalRequired returns the "approvalRequired" property
// if it exists, and nil otherwise.
GetGoToSocialApprovalRequired() GoToSocialApprovalRequiredProperty
+ // GetGoToSocialAutomaticApproval returns the "automaticApproval" property
+ // if it exists, and nil otherwise.
+ GetGoToSocialAutomaticApproval() GoToSocialAutomaticApprovalProperty
+ // GetGoToSocialManualApproval returns the "manualApproval" property if it
+ // exists, and nil otherwise.
+ GetGoToSocialManualApproval() GoToSocialManualApprovalProperty
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
GetJSONLDId() JSONLDIdProperty
// GetTypeName returns the name of this type.
@@ -38,6 +44,10 @@ type GoToSocialCanReply interface {
SetGoToSocialAlways(i GoToSocialAlwaysProperty)
// SetGoToSocialApprovalRequired sets the "approvalRequired" property.
SetGoToSocialApprovalRequired(i GoToSocialApprovalRequiredProperty)
+ // SetGoToSocialAutomaticApproval sets the "automaticApproval" property.
+ SetGoToSocialAutomaticApproval(i GoToSocialAutomaticApprovalProperty)
+ // SetGoToSocialManualApproval sets the "manualApproval" property.
+ SetGoToSocialManualApproval(i GoToSocialManualApprovalProperty)
// SetJSONLDId sets the "id" property.
SetJSONLDId(i JSONLDIdProperty)
// VocabularyURI returns the vocabulary's URI as a string.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go
index e66805a33..a2497a44a 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_interactionpolicy_interface.go
@@ -10,6 +10,9 @@ type GoToSocialInteractionPolicy interface {
// GetGoToSocialCanLike returns the "canLike" property if it exists, and
// nil otherwise.
GetGoToSocialCanLike() GoToSocialCanLikeProperty
+ // GetGoToSocialCanQuote returns the "canQuote" property if it exists, and
+ // nil otherwise.
+ GetGoToSocialCanQuote() GoToSocialCanQuoteProperty
// GetGoToSocialCanReply returns the "canReply" property if it exists, and
// nil otherwise.
GetGoToSocialCanReply() GoToSocialCanReplyProperty
@@ -42,6 +45,8 @@ type GoToSocialInteractionPolicy interface {
SetGoToSocialCanAnnounce(i GoToSocialCanAnnounceProperty)
// SetGoToSocialCanLike sets the "canLike" property.
SetGoToSocialCanLike(i GoToSocialCanLikeProperty)
+ // SetGoToSocialCanQuote sets the "canQuote" property.
+ SetGoToSocialCanQuote(i GoToSocialCanQuoteProperty)
// SetGoToSocialCanReply sets the "canReply" property.
SetGoToSocialCanReply(i GoToSocialCanReplyProperty)
// SetJSONLDId sets the "id" property.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go
index c1827bfdf..602abef07 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeapproval_interface.go
@@ -2,6 +2,7 @@
package vocab
+// DEPRECATED: Use `LikeAuthorization` instead.
type GoToSocialLikeApproval interface {
// GetActivityStreamsAltitude returns the "altitude" property if it
// exists, and nil otherwise.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go
new file mode 100644
index 000000000..02e176fb4
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likeauthorization_interface.go
@@ -0,0 +1,210 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+type GoToSocialLikeAuthorization 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
+ // GetGoToSocialInteractingObject returns the "interactingObject" property
+ // if it exists, and nil otherwise.
+ GetGoToSocialInteractingObject() GoToSocialInteractingObjectProperty
+ // GetGoToSocialInteractionTarget returns the "interactionTarget" property
+ // if it exists, and nil otherwise.
+ GetGoToSocialInteractionTarget() GoToSocialInteractionTargetProperty
+ // 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
+ // LikeAuthorization 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 LikeAuthorization 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 LikeAuthorization is lesser, with an
+ // arbitrary but stable determination.
+ LessThan(o GoToSocialLikeAuthorization) 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)
+ // SetGoToSocialInteractingObject sets the "interactingObject" property.
+ SetGoToSocialInteractingObject(i GoToSocialInteractingObjectProperty)
+ // SetGoToSocialInteractionTarget sets the "interactionTarget" property.
+ SetGoToSocialInteractionTarget(i GoToSocialInteractionTargetProperty)
+ // 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go
new file mode 100644
index 000000000..8490ea228
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_likerequest_interface.go
@@ -0,0 +1,225 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+type GoToSocialLikeRequest interface {
+ // GetActivityStreamsActor returns the "actor" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsActor() ActivityStreamsActorProperty
+ // 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
+ // GetActivityStreamsInstrument returns the "instrument" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsInstrument() ActivityStreamsInstrumentProperty
+ // 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
+ // GetActivityStreamsOrigin returns the "origin" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsOrigin() ActivityStreamsOriginProperty
+ // 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
+ // GetActivityStreamsResult returns the "result" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsResult() ActivityStreamsResultProperty
+ // 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
+ // GetActivityStreamsTarget returns the "target" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsTarget() ActivityStreamsTargetProperty
+ // 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 LikeRequest
+ // 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 LikeRequest 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 LikeRequest is lesser, with an arbitrary but
+ // stable determination.
+ LessThan(o GoToSocialLikeRequest) bool
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format.
+ Serialize() (map[string]interface{}, error)
+ // SetActivityStreamsActor sets the "actor" property.
+ SetActivityStreamsActor(i ActivityStreamsActorProperty)
+ // 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)
+ // SetActivityStreamsInstrument sets the "instrument" property.
+ SetActivityStreamsInstrument(i ActivityStreamsInstrumentProperty)
+ // 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)
+ // SetActivityStreamsOrigin sets the "origin" property.
+ SetActivityStreamsOrigin(i ActivityStreamsOriginProperty)
+ // SetActivityStreamsPreview sets the "preview" property.
+ SetActivityStreamsPreview(i ActivityStreamsPreviewProperty)
+ // SetActivityStreamsPublished sets the "published" property.
+ SetActivityStreamsPublished(i ActivityStreamsPublishedProperty)
+ // SetActivityStreamsReplies sets the "replies" property.
+ SetActivityStreamsReplies(i ActivityStreamsRepliesProperty)
+ // SetActivityStreamsResult sets the "result" property.
+ SetActivityStreamsResult(i ActivityStreamsResultProperty)
+ // 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)
+ // SetActivityStreamsTarget sets the "target" property.
+ SetActivityStreamsTarget(i ActivityStreamsTargetProperty)
+ // 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go
index 9ba0698e0..616dcbdf4 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyapproval_interface.go
@@ -2,6 +2,7 @@
package vocab
+// DEPRECATED: Use `ReplyAuthorization` instead.
type GoToSocialReplyApproval interface {
// GetActivityStreamsAltitude returns the "altitude" property if it
// exists, and nil otherwise.
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go
new file mode 100644
index 000000000..4d3975153
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyauthorization_interface.go
@@ -0,0 +1,210 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+type GoToSocialReplyAuthorization 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
+ // GetGoToSocialInteractingObject returns the "interactingObject" property
+ // if it exists, and nil otherwise.
+ GetGoToSocialInteractingObject() GoToSocialInteractingObjectProperty
+ // GetGoToSocialInteractionTarget returns the "interactionTarget" property
+ // if it exists, and nil otherwise.
+ GetGoToSocialInteractionTarget() GoToSocialInteractionTargetProperty
+ // 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
+ // ReplyAuthorization 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 ReplyAuthorization 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 ReplyAuthorization is lesser, with an
+ // arbitrary but stable determination.
+ LessThan(o GoToSocialReplyAuthorization) 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)
+ // SetGoToSocialInteractingObject sets the "interactingObject" property.
+ SetGoToSocialInteractingObject(i GoToSocialInteractingObjectProperty)
+ // SetGoToSocialInteractionTarget sets the "interactionTarget" property.
+ SetGoToSocialInteractionTarget(i GoToSocialInteractionTargetProperty)
+ // 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/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go
new file mode 100644
index 000000000..b6572c357
--- /dev/null
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/vocab/gen_type_gotosocial_replyrequest_interface.go
@@ -0,0 +1,225 @@
+// Code generated by astool. DO NOT EDIT.
+
+package vocab
+
+type GoToSocialReplyRequest interface {
+ // GetActivityStreamsActor returns the "actor" property if it exists, and
+ // nil otherwise.
+ GetActivityStreamsActor() ActivityStreamsActorProperty
+ // 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
+ // GetActivityStreamsInstrument returns the "instrument" property if it
+ // exists, and nil otherwise.
+ GetActivityStreamsInstrument() ActivityStreamsInstrumentProperty
+ // 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
+ // GetActivityStreamsOrigin returns the "origin" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsOrigin() ActivityStreamsOriginProperty
+ // 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
+ // GetActivityStreamsResult returns the "result" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsResult() ActivityStreamsResultProperty
+ // 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
+ // GetActivityStreamsTarget returns the "target" property if it exists,
+ // and nil otherwise.
+ GetActivityStreamsTarget() ActivityStreamsTargetProperty
+ // 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
+ // ReplyRequest 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 ReplyRequest 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 ReplyRequest is lesser, with an arbitrary but
+ // stable determination.
+ LessThan(o GoToSocialReplyRequest) bool
+ // Serialize converts this into an interface representation suitable for
+ // marshalling into a text or binary format.
+ Serialize() (map[string]interface{}, error)
+ // SetActivityStreamsActor sets the "actor" property.
+ SetActivityStreamsActor(i ActivityStreamsActorProperty)
+ // 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)
+ // SetActivityStreamsInstrument sets the "instrument" property.
+ SetActivityStreamsInstrument(i ActivityStreamsInstrumentProperty)
+ // 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)
+ // SetActivityStreamsOrigin sets the "origin" property.
+ SetActivityStreamsOrigin(i ActivityStreamsOriginProperty)
+ // SetActivityStreamsPreview sets the "preview" property.
+ SetActivityStreamsPreview(i ActivityStreamsPreviewProperty)
+ // SetActivityStreamsPublished sets the "published" property.
+ SetActivityStreamsPublished(i ActivityStreamsPublishedProperty)
+ // SetActivityStreamsReplies sets the "replies" property.
+ SetActivityStreamsReplies(i ActivityStreamsRepliesProperty)
+ // SetActivityStreamsResult sets the "result" property.
+ SetActivityStreamsResult(i ActivityStreamsResultProperty)
+ // 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)
+ // SetActivityStreamsTarget sets the "target" property.
+ SetActivityStreamsTarget(i ActivityStreamsTargetProperty)
+ // 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 c0b7298f3..ae358fc29 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -66,7 +66,7 @@ codeberg.org/gruf/go-storage/s3
# codeberg.org/gruf/go-structr v0.9.6
## explicit; go 1.22
codeberg.org/gruf/go-structr
-# codeberg.org/superseriousbusiness/activity v1.13.0-gts
+# codeberg.org/superseriousbusiness/activity v1.14.0
## explicit; go 1.21
codeberg.org/superseriousbusiness/activity/pub
codeberg.org/superseriousbusiness/activity/streams
@@ -209,17 +209,29 @@ codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest
codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization
+codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest
codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id
codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type
codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value
@@ -227,6 +239,8 @@ codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalu
codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash
codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable
codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured
+codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint
+codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable
codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm
codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue
codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount